sorry for my bad replay
my usb label is 'BAG' , when i plug my usb ; BAG directory created bud it's empty, without any content of my usb flash .
do you have any idea ?
finally i create simple python script to auto mount vFAT and NTFS (Read and Write) .
import pyudev
context = pyudev.Context()
monitor = pyudev.Monitor.from_netlink(context)
monitor.filter_by(subsystem='usb')
for device in iter(monitor.poll, None):
if device.action == 'add':
# mount with subprocess call mount command
# if type of disk is NTFS you have to use mount -t ntfs-3g /dev/sdXy
elif device.action == 'delete':
# umount with subprocess call umount command
detect USB event pyudev and run that a service like openssh.