Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. # Configuration file for the usbmount package, which mounts removable
  2. # storage devices when they are plugged in and unmounts them when they
  3. # are removed.
  4.  
  5. # Change to zero to disable usbmount
  6. ENABLED=1
  7.  
  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
  11. # mounted yet.
  12. MOUNTPOINTS="/media/usb0"
  13.  
  14. # Filesystem types: removable storage devices are only mounted if they
  15. # contain a filesystem type which is in this list.
  16. FILESYSTEMS="ntfs vfat ext2 ext3 ext4 hfsplus exfat"
  17.  
  18. #############################################################################
  19. # WARNING! #
  20. # #
  21. # The "sync" option may not be a good choice to use with flash drives, as #
  22. # it forces a greater amount of writing operating on the drive. This makes #
  23. # the writing speed considerably lower and also leads to a faster wear out #
  24. # of the disk. #
  25. # #
  26. # If you omit it, don't forget to use the command "sync" to synchronize the #
  27. # data on your disk before removing the drive or you may experience data #
  28. # loss. #
  29. # #
  30. # It is highly recommended that you use the pumount command (as a regular #
  31. # user) before unplugging the device. It makes calling the "sync" command #
  32. # and mounting with the sync option unnecessary---this is similar to other #
  33. # operating system's "safely disconnect the device" option. #
  34. #############################################################################
  35. # Mount options: Options passed to the mount command with the -o flag.
  36. # See the warning above regarding removing "sync" from the options.
  37. MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime,rw"
  38.  
  39. # Filesystem type specific mount options: This variable contains a space
  40. # separated list of strings, each which the form "-fstype=TYPE,OPTIONS".
  41. #
  42. # If a filesystem with a type listed here is mounted, the corresponding
  43. # options are appended to those specificed in the MOUNTOPTIONS variable.
  44. #
  45. # For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add
  46. # the options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem
  47. # is mounted.
  48. FS_MOUNTOPTIONS="-fstype=ntfs,gid=xbian,uid=xbian,umask=0 \
  49. -fstype=vfat,gid=xbian,uid=xbian,umask=0 \
  50. -fstype=hfsplus,gid=xbian,uid=xbian,umask=0,force \
  51. -fstype=exfat,gid=xbian,uid=xbian,umask=0"
  52.  
  53. # If set to "yes", more information will be logged via the syslog
  54. # facility.
  55. VERBOSE=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement