Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!husc6!rice!sun-spots-request From: stanonik@nprdc.navy.mil (Ron Stanonik) Newsgroups: comp.sys.sun Subject: Re: determining the real directory when using automounts Keywords: SunOS Message-ID: <8903241657.AA01255@nprdc.navy.mil> Date: 4 Apr 89 21:26:42 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 26 Approved: Sun-Spots@rice.edu Original-Date: 24 March 1989 0857-PST (Friday) X-Sun-Spots-Digest: Volume 7, Issue 225, message 1 of 11 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@nprdc.navy.mil [[ The next message is a response to this one. --wnl ]]