[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: interface for tar



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. 

$ 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         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: