> 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.
-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130117082830.GA4195@rimmer.localdomain

Reply via email to