On Thursday 21 August 2008 16:18, Tzafrir Cohen wrote: > On Thu, Aug 21, 2008 at 06:29:00AM -0400, Mag Gam wrote: > > Sharchar: > > > > Can I do that with autofs? Lets say I have a directory called > > /home/$userid/image_files; can I have autofs to look for > > /home/$userid/& and automatically mount and unmount these fs images? > > Lets say I keep the fs images in /home/$user/.isos > > Here is what we have for auto-mounting ISO images.
Actually, I think that the .isos directory is badly named because we're not talking about ISO9660 at all. > > $ cat /etc/auto.master > # > /var/www/netinst/cds /etc/auto.netinst-cd > > $ cat /etc/auto.netinst-cd > cd1 -fstype=iso9660,ro,user,loop :/path/to/image1.iso > cd2 -fstype=iso9660,ro,user,loop :/path/to/image2.iso > > This will still be require a file system to mount. > > -- > Tzafrir Cohen | [EMAIL PROTECTED] | VIM is > http://tzafrir.org.il | | a Mutt's > [EMAIL PROTECTED] | | best > ICQ# 16849754 | | friend -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]