On 14 March 2012 22:35, Chris Green cl@isbd.net wrote:
What processes and packages are involved in automounting a USB drive? As I said it appears to be recognised correctly by the kernel, messages in dmesg and syslog are the same on both the system where it's not automounted and the system where it is.
I just got time to look at this after the latest Ubuntu patches lost my software raid device by changing the metadevice name and the default grub boot option stopped working. (update-grub anyone?).
I had to install the package 'usbmount' in order to get my USB drive mounting automatically. I saw these extra lines in syslog with this package installed:
Mar 18 13:20:37 littlechef usbmount[3295]: /dev/sdd does not contain a filesystem or disklabel Mar 18 13:20:37 littlechef usbmount[3316]: executing command: mount -tvfat -osync,noexec,nodev,noatime,nodiratime /dev/sdd1 /media/usb0 Mar 18 13:20:37 littlechef usbmount[3316]: executing command: run-parts /etc/usbmount/mount.d
Looks like filesystems supported, mount points, and enabled\disabled options are configurable in '/etc/usbmount/usbmount.conf'.
-- ATB, Karl