\begin{Jill Rowling}
> I think the short timeout automounter sounds like a good idea. Most 'doze
> users look at the flashy light on the disk before ejecting it.
> So what are the mount options for auto mount when write,
> auto-umount-after-write, assuming (say) vfat?you need to setup an automounter, mount(8) can't do it alone. autofs is better (imo) than amd, so we'll use that: (this assumes debian autofs package conventions. shouldn't be hard to change the paths to suit tho) mkdir /var/autofs/removable /etc/auto.master: # everything below /var/autofs/removable has a timeout of 3 seconds /var/autofs/removable /etc/auto.removable timeout=3 /etc/auto.removable: floppy -fstype=auto,sync,nosuid,nodev,gid=floppy :/dev/fd0 cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom then (if you wish) symlink: /floppy -> /var/autofs/removable/floppy /cdrom -> /var/autofs/removable/cdrom ensure /etc/filesystems lists whatever filesystems you want to try for fstype "auto" (this is a mount(8) trick, nothing to do with automount): vfat ext2 minix msdos autofs only unmounts if the disk is currently unused (ie: if a normal umount(8) would succeed). so just waiting for the light to go off isn't necessarily good enough. -- - Gus -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
