Update: mount directory mount point

Bugs <[email protected]>
Newsgroups gmane.os.tru64.managers
Message-ID <[email protected]>
I have been requested to make myself more clear, and
give my problem rather than ask for a solution.
I appologize for my vagueness.

We just migrated a server from an alpha 2100 (hostA)
to an ES40 (hostB).
There were 4 filesystems on hostA that were placed as
subdirectories on hostB:
hostA:
df
/dev/disk/dsk1g      5878109     2759618     2824585    50%    /u
/dev/disk/dsk4g     12183434     7872959     3701303    69%    /bhome1
/dev/disk/dsk8g     12183434     3461371     7503719    32%    /ohome1
/dev/disk/dsk9g      8057740     4838990     2815863    64%    /tech

hostB:
df
laurel#home        54730624    19492349    35113288    36%    /home

cd /home
ls -l
drwxr-xr-x   8 root     system      8192 Sep  8  2004 bhome1/
drwxr-xr-x   6 root     system      8192 Dec 16  2003 ohome1/
drwxr-xr-x   7 root     system      8192 Dec 16  2003 tech/
drwxr-xr-x 140 root     system      8192 May 31 09:14 u/

On hostB, I created sym links so software would not break:
cd /
l1 -l
lrwxrwxrwx   1 root     system         12 Oct 28  2004 bhome1@ -> /home/bhome1/
lrwxrwxrwx   1 root     system         12 Oct 28  2004 ohome1@ -> /home/ohome1/
lrwxrwxrwx   1 root     system         10 Oct 28  2004 tech@ -> /home/tech/
lrwxrwxrwx   1 root     system          7 Oct 28  2004 u@ -> /home/u/

The only thing that fails, is that some departments run nitely jobs
that test for "pwd", and it must equal what they expect to find
such as /u/jobs/bin. Instead, pwd displays /home/u/jobs/bin,
which causes their scripts to fail, and negate my advertisement
that this migration would be transparent.

My only workaround so far is a script, /local/bin/pwd:
#!/bin/tcsh

echo $cwd
exit

This give the desired results, but some users will have to
add the path /local/bin before /bin in their scripts.
Their jobs are submitted from an in-house job scheduler that
su's to the user, to execute their script. The /etc/csh.login
already has that setup, but I dont think that gets sourced
by "non logged in" jobs.
I know that in linux, the "mount --bind" would work.

I hope this explains my situation.
Thanks

Below was my original request.



Tru64 5.1B PK4 on an ES40

Hello,
I could not find the answer in the man pages, so here
is my question.
We wish to mount a subdirectory located in an advfs fileset
as its own mount point.

oak_local#local    47529432     9093988    38369368    20%    /local
there is a subdirectory called /local/student

We would like to mount /student as its own mount point, even though
/home/student is already mounted.

Is there is way of doing this?
Thanks...


Bugs

Operating Systems Analyst for unix systems
Humboldt State Univ.	Information Technology Services
Arcata, Calif.

email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.