Alvin Oga wrote:
>
> hi simon
>
> > I'm trying to set up autofs' capability to do submounts. Is there any
> > way to mount hosts under /hosts, and under the hostname, the exported
> > filesystems, eg
> >
> > /hosts/host1/shared_data1/
> > /hosts/host1/shared_data2/
> > /hosts/host45/shared_data/
<snip>
> and try ( per prev other posts)
>
> /etc/auto.master:
> /net /etc/auto.net
>
> /etc/auto.net
> * -fstype=autofs,-Dhost=& file:/etc/auto.netsub
>
> /etc/auto.netsub
> * ${host}:/disk/&
>
I've seen the page at linux consulting, and copied the submount example.
But the mount attempts hang, with nothing in the log. The timeout
doesn't occur either - it just sits there.
Any ideas?
Simon
--
/* "C makes it easy to shoot yourself in the foot. C++ makes */
/* it harder, but when you do, it blows away your whole leg." */
/* -- Bjarne Stroustrup */
/* Simon Burley, Double Negative Ltd, London. */