📅 2015-Jul-03 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ mount, raspbian, usb ⬩ 📚 Archive
USBMount is a useful program and daemon that can be used to automount disk drives and flash drives plugged into USB ports. I use it with Raspbian for this purpose.
All the settings of USBMount can be changed from its configuration file /etc/usbmount/usbmount.conf
The parameters that can be modified from this file:
ENABLED
: 1 to enable, 0 to disable USBMount.MOUNTPOINTS
: String of space-delimited mount points that should be used.FILESYSTEMS
: String of space-delimited filesystems that should be mounted. If you are going to use USB storage with NTFS partitions, then add ntfs ntfs-3g fuseblk
to the list. Also make sure you have the ntfs-3g
package installed.MOUNTOPTIONS
: String of comma-delimited mount options that will be used with the mount
program to mount all the filesystems.FS_MOUNTOPTIONS
: Mount options that are specific to particular filesystem.VERBOSE
: no
is brief logging to /var/syslog
, yes
is verbose logging. I like to change to yes
so that it is easy to diagnose usbmount problems by looking at the syslog.Note that some of the drives I mounted would initially only have write permissions for root
and not for other users. The solution was to change the ownership to my user, for example: sudo chown joe:joe /media/usb2
.
Tried with: USBMount 0.0.22 and Raspbian 7