1 # Configuration file for the usbmount package, which mounts removable
2 # storage devices when they are plugged in and unmounts them when they
5 # Change to zero to disable usbmount
8 # Mountpoints: These directories are eligible as mointpoints for
9 # removable storage devices. A newly plugged in device is mounted on
10 # the first directory in this list that exists and on which nothing is
12 MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
13 /media/usb4 /media/usb5 /media/usb6 /media/usb7"
15 # Filesystem types: removable storage devices are only mounted if they
16 # contain a filesystem type which is in this list.
17 FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs fuseblk"
19 #############################################################################
22 # The "sync" option may not be a good choice to use with flash drives, as #
23 # it forces a greater amount of writing operating on the drive. This makes #
24 # the writing speed considerably lower and also leads to a faster wear out #
27 # If you omit it, don't forget to use the command "sync" to synchronize the #
28 # data on your disk before removing the drive or you may experience data #
31 # It is highly recommended that you use the pumount command (as a regular #
32 # user) before unplugging the device. It makes calling the "sync" command #
33 # and mounting with the sync option unnecessary---this is similar to other #
34 # operating system's "safely disconnect the device" option. #
35 #############################################################################
36 # Mount options: Options passed to the mount command with the -o flag.
37 # See the warning above regarding removing "sync" from the options.
38 MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"
40 # Filesystem type specific mount options: This variable contains a space
41 # separated list of strings, each which the form "-fstype=TYPE,OPTIONS".
43 # If a filesystem with a type listed here is mounted, the corresponding
44 # options are appended to those specificed in the MOUNTOPTIONS variable.
46 # For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add
47 # the options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem
51 # If set to "yes", more information will be logged via the syslog