[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Fri, 29 May 2009, Henry Bremridge wrote: > Using Debian Squeeze > > I don't use automount, but have been thinking about installing it for > some time. Question: > > - At the moment if I mount a USB then I have to be root. Is there a way (what > do I need to do?) to be able to mount as myself? ie no automount but I > would need to enter the mount command in a terminal? As root: mkdir /stick Edit /etc/fstab and add: /dev/sdb1 /stick msdos user,noauto 0 0 You'll need to find out which device your USB drive comes up as - it will usually be one after the last fixed drive in the system. If IDE drives then it might be /dev/sda. You can find out by plugging it in, then waiting 30 seconds then running 'dmesg' and/or looking into /proc/scsi/scsi So plug it in, wait 30 seconds (might well be only 5) then type mount /stick (as an ordinary user in a terminal window) The fstab on my workstation has: /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0 /dev/dvd /dvd iso9660 ro,user,noauto 0 0 /dev/sdb1 /camera msdos user,noauto 0 0 Ay sort of usb device gets mounted under /camera (which is my camera 9 times out of 10) > - How does automount work? (can anyone recommend a dummies-guide link?) I only know about the old NFS style automounter - I don't actually know if this is the same thing as what mounts a USB device - I suspect not and it's actually the "hotplug" subsystem that actuall does it. Gordon -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html