On Wed, May 12, 2010 at 01:30:40PM -0700, Bob McGowan wrote: > On 05/12/2010 02:55 AM, Chris Bannister wrote: > > On Tue, May 11, 2010 at 10:54:47PM -0700, Marc Shapiro wrote: > >> I am now slapping myself on the head for being so STUPID! Automount is > >> working just fine, and has been all along. Automount does its thing as > >> soon as a device is ACCESSED, not plugged in. I was plugging the flash > >> drives in and looking in /mnt to see if they were showing up. The > >> weren't. The weren't supposed to, either. As soon as I executed "ls > >> /mnt/lexar" lo and behold, there was the listing and everything was > >> working just fine.
So it seems you have not set a symbolic link, Marc? > > Are you supposed to carry round a scrap of paper with the mount labels > > written down? > No... > > Generally, you set up an auto.xxx file to create a mount point in some > specific directory that is not /media. For example, with xxx being 'usb': > > auto.usb: zodiac -fstype=vfat,rw,user,noauto,gid=backup,umask=002 \ > :/dev/disk/by-id/usb-ROCKCHIP_USB_MP3_USBV1.00 > > And auto.master: > > /var/autofs/usb /etc/auto.usb --timeout=### > > This setup associates the auto.usb file with /var/autofs/usb and the > device identified by the id with the name zodiac. The timeout should be > set to some convenient value. > > So, automount will mount that device on /var/autofs/usb/zodiac, when it > is accessed. > as per ... > You then create a symlink from /media to the above name: > > cd /media; ln -s /var/autofs/usb/zodiac zodiac > > You will then do something to access that name, like 'ls /media/zodiac' > to get it mounted. -- "Religion is excellent stuff for keeping common people quiet." -- Napoleon Bonaparte -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/20100513042854.ga18...@fischer

