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

Re: Autofs



Hi Alvin,

thanks for answering my post.


> >  /etc/auto.misc:
> >  /-----------------------------------------------------------------
> >  | # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
> >  | # This is an automounter map and it has the following format
> >  | # key [ -mount-options-separated-by-comma ] location
> >  | # Details may be found in the autofs(5) manpage
> >  | 
> >  | kernel		-ro					ftp.kernel.org:/pub/linux
> >  | boot		-fstype=ext3				        :/dev/hda1
> >  | removable	-fstype=ext2,sync,nodev,nosuid		        :/dev/hdd
> >  | cd		-fstype=iso9660,ro,sync,nodev,nosuid	        :/dev/hdc
> >  | floppy		-fstype=auto,sync,nodev,nosuid		:/dev/fd0
> >  | local		-fstype=ext3,ro,soft,intr,nosuid        :/dev/hda5

This "local" entry I added just to test autofs - I was not really
interested in using autofs to mount a local filesystem. It works now,
so the automounter is probably quite sane. However the kernel entry
(which I have from the shipped configuration files) does still not
work. 

> it's not automounting...
> 	- what is the error messages in /var/log/

Nothing is logged.


What I was actually interested in was having a special file/directory
in my file-system which was "linked" to file on the web (read only),
e.g. like this:

 debian.faq -> http://www.debian.org/documentation/faq.html

so that when I accessed the "file" debian.faq on my local filesystem
the real file was downloaded from the url above.

I thought autofs was a suitable tool for this, but that was maybe
wrong? Is my scheme at all possible, and how would one implement it?

Regards

Joakim


-- 
Joakim Hove
Stabburveien 18 
5231 Paradis
55 91 28 18



Reply to: