hi all...

think my fat fingers sent a prev email before my comments...
my apologies...

> > for autofs.... I kludged it to do /net/hostname...works fine...
> >     diff /Net/server1/etc/passwd            /Net/home1/etc/passwd
> >     ls -l /Net/*/etc/group
> > 
> >     diff /.autofs/server1/etc/passwd        /.autofs/home1/etc/passwd
> > 
> > if you have 5 machines or 500.... I'm fairly sure this schem will still
> > work.... just need a way to distribute the files to the 500 machines
> > and each one has to have a minimum level of tweeks ( autofs_fix.pl for example )
> > 
> 
> snip ...
> 
> Thanks, that was the kind of thing I was doing before I upgraded to
> RH6.0 and therefore knfsd. I was basically doing a Sun style /net but
> listing every host I wanted explicitly.
> e.g.
> 
> nyquist               -posix,soft,intr,nosuid,nodev   nyquist.ecs.soton.ac.uk:/
> 
> This used to give me access to /net/nyquist/etc/* etc and
> /net/nyquist/usr/src/redhat/RPMS/* for example. But now, because knfsd
> no longer gives me access to /net/nyquist/usr (because it doesn't
> export mounted partitions when the directory they are mounted on has
> been exported from a higher level directory), I can't access
> /net/nyquist/usr/src/redhat/RPMS anymore.

I wonder if your /usr problem is the same as my importing /home problem
from a rh-6.0 machine
        ls -la /Net/server/home/user    fails
        ls -la /home/user   works   - where home is an autofs imported directory

and yes... I have server:/  exported readonly too any machine...
server:/home exported read/write

I got around some of that by changing my symlinks.... for my /Net/<server>
symlinks....which links back to /.autofs
        ln -s /.autofs/server /Net/server

        ln -s /.autofs/home /home       works
        ln -s /.autofs/server/home /home        fails when "ls -l /home...

> I have nearly managed to get round it by doing the submounting thing I
> mentioned earlier (specifying the host explicitly) but this only gives
> me access to partitions etc. mounted off the root directory. So I
> still can't access /net/nyquist/mnt/cdrom/* for example.
> 
> If I could automount nyquist:/ /net/nyquist/ and then mount
> nyquist:/usr onto /net/nyquist/usr I would be happy but then this is a
> direct mount isn't it. Hence, my original question.
> 
> 
> -- 
> -----------------------------------------------------------------------
> | Simon Liddington                 |                                  |
> | E-Mail : [EMAIL PROTECTED]  |  Tel (work) : +44 (0)1703 592422 |
> -----------------------------------------------------------------------
> 

Reply via email to