Re: Basic USB Automounter?
----- Original Message -----
> From: Clive Standbridge <list-user@tgstandbridges.plus.com>
> To: debian-user@lists.debian.org
> Cc:
> Sent: Thursday, January 17, 2013 12:28 AM
> Subject: Re: Basic USB Automounter?
>
>> Building a Wheezy 64-bit system piece by piece from the standard
>> terminal-only install. I don't want to have any extraneous crap
>> that I'll never use on it Will have X and a window manager only
>> (currently Openbox) for those times I need a GUI. This will be my
>> personal system with me as the only user. A desktop, not a laptop.
>>
>> Will udisks automount USB devices--thumb drives, flash cards,
>> external hard disks, etc.--in BOTH terminal mode or GUI? I can't
>> find any docs that say specifically. All assume having a GUI
>> running. Or can anyone suggest something better. User must have
>> full access to device after it's mounted.
>
> usbmount does that job (although I haven't used it on a wheezy system
> yet). A small amount of configuration is needed - see the comments in
> /etc/usbmount/usbmount.conf and set MOUNTOPTIONS and FS_MOUNTOPTIONS
> accordingly. An example configuration, without comments, is
>
> ENABLED=1
> MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
> /media/usb4 /media/usb5 /media/usb6 /media/usb7"
> FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus"
> MOUNTOPTIONS="noexec,nodev,noatime,nodiratime"
> FS_MOUNTOPTIONS="-fstype=vfat,flush,gid=plugdev,dmask=0002,fmask=0113"
> VERBOSE=no
>
> Add yourself to whatever group(s) you use in the config, e.g. plugdev.
>
> The device appears under /media/usb. Use pumount to unmount it.
>
> I hope this helps.
Seems that usbmount only works with flash drives and external USB hard drives, but not flash cards using a card reader. For the latter you need additional tools. [1]
I'm thinking now that it is going to take several tools and possibly writing a udev rule or two to do it. [2]
Thanks for the info.
B
[1]: http://andrew-stephanie.ca/ubuntu-server-automount-removable-media
[2]: http://unix.stackexchange.com/questions/11472/automount-usb-drives-with-no-gui-requirement-halevt-replacement
Reply to: