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