From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bugs Newsgroups: gmane.os.tru64.managers Subject: Update: mount directory mount point Date: Wed, 08 Jun 2005 07:32:34 -0700 (PDT) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1118241104 10036 80.91.229.2 (8 Jun 2005 14:31:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 14:31:44 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 08 16:31:41 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1Dg1Yo-0001Ri-VN for gotm-tru64-unix-managers@gmane.org; Wed, 08 Jun 2005 16:29:39 +0200 Original-Received: (qmail 635 invoked by uid 49509); 8 Jun 2005 14:33:19 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 619 invoked by uid 49501); 8 Jun 2005 14:33:19 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 2.421916 secs); 08 Jun 2005 14:33:19 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.cind.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 8 Jun 2005 14:33:16 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IHR0040QSFFPX@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Jun 2005 10:33:15 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IHR00D02SEO29@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Jun 2005 10:33:10 -0400 (EDT) Original-Received: from axe.humboldt.edu (axe.humboldt.edu [137.150.148.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IHR007JYSEBN0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Jun 2005 10:32:36 -0400 (EDT) Original-Received: from axe.humboldt.edu (localhost [127.0.0.1]) by axe.humboldt.edu (8.12.6-20030924/8.12.6) with ESMTP id j58EWY9d502878 for ; Wed, 08 Jun 2005 07:32:34 -0700 (PDT) Original-Received: from localhost (bb1@localhost) by axe.humboldt.edu (8.12.6-20030924/8.12.6/Submit) with ESMTP id j58EWYm9437387 for ; Wed, 08 Jun 2005 07:32:34 -0700 (PDT) Original-To: Tru64-UNIX-Managers X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 X-Authentication-warning: axe.humboldt.edu: bb1 owned process doing -bs Xref: news.gmane.org gmane.os.tru64.managers:8345 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8345 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 bb1@humboldt.edu