determining the real directory when using automounts

Ron Stanonik stanonik at nprdc.navy.mil
Wed Apr 5 07:26:42 AEST 1989


One quirk of automount using subdirectories seems to be that the /tmp_mnt
mount point includes the full path, not just the parent.  For example, we
automount /usr/local using this map

bin     alpha:/usr/local:$ARCH/bin
lib     alpha:/usr/local:$ARCH/lib
*       alpha:/usr/local:&

After referencing /usr/local/bin we find (using df) that alpha:/usr/local
is mounted on /tmp_mnt/usr/local/bin, not on /tmp_mnt/usr/local.
automount gets the symlinks correct, eg

beta# ls -l /usr/local/bin
lrwxrwxrwx  1 root    /usr/local/bin -> /tmp_mnt/usr/local/bin/sun4/bin

but it would be nice (from an admin/systemhack view) if the
mount point was /tmp_mnt/usr/local.

Maybe I'm doing something wrong?

Thanks,

Ron Stanonik
stanonik at nprdc.navy.mil

[[ The next message is a response to this one.  --wnl ]]



More information about the Comp.sys.sun mailing list