usbmount/usbmount.conf
changeset 0 60bc07f3f415
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/usbmount/usbmount.conf	Thu Feb 27 17:12:59 2014 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +# Configuration file for the usbmount package, which mounts removable
     1.5 +# storage devices when they are plugged in and unmounts them when they
     1.6 +# are removed.
     1.7 +
     1.8 +# Change to zero to disable usbmount
     1.9 +ENABLED=1
    1.10 +
    1.11 +# Mountpoints: These directories are eligible as mointpoints for
    1.12 +# removable storage devices.  A newly plugged in device is mounted on
    1.13 +# the first directory in this list that exists and on which nothing is
    1.14 +# mounted yet.
    1.15 +MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
    1.16 +             /media/usb4 /media/usb5 /media/usb6 /media/usb7"
    1.17 +
    1.18 +# Filesystem types: removable storage devices are only mounted if they
    1.19 +# contain a filesystem type which is in this list.
    1.20 +FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs fuseblk"
    1.21 +
    1.22 +#############################################################################
    1.23 +# WARNING!                                                                  #
    1.24 +#                                                                           #
    1.25 +# The "sync" option may not be a good choice to use with flash drives, as   #
    1.26 +# it forces a greater amount of writing operating on the drive. This makes  #
    1.27 +# the writing speed considerably lower and also leads to a faster wear out  #
    1.28 +# of the disk.                                                              #
    1.29 +#                                                                           #
    1.30 +# If you omit it, don't forget to use the command "sync" to synchronize the #
    1.31 +# data on your disk before removing the drive or you may experience data    #
    1.32 +# loss.                                                                     #
    1.33 +#                                                                           #
    1.34 +# It is highly recommended that you use the pumount command (as a regular   #
    1.35 +# user) before unplugging the device. It makes calling the "sync" command   #
    1.36 +# and mounting with the sync option unnecessary---this is similar to other  #
    1.37 +# operating system's "safely disconnect the device" option.                 #
    1.38 +#############################################################################
    1.39 +# Mount options: Options passed to the mount command with the -o flag.
    1.40 +# See the warning above regarding removing "sync" from the options.
    1.41 +MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"
    1.42 +
    1.43 +# Filesystem type specific mount options: This variable contains a space
    1.44 +# separated list of strings, each which the form "-fstype=TYPE,OPTIONS".
    1.45 +#
    1.46 +# If a filesystem with a type listed here is mounted, the corresponding
    1.47 +# options are appended to those specificed in the MOUNTOPTIONS variable.
    1.48 +#
    1.49 +# For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add
    1.50 +# the options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem
    1.51 +# is mounted.
    1.52 +FS_MOUNTOPTIONS=""
    1.53 +
    1.54 +# If set to "yes", more information will be logged via the syslog
    1.55 +# facility.
    1.56 +VERBOSE=yes