delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/12:17:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010730115430.0226dbb8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 30 Jul 2001 11:56:34 -0400
To: "Noel L Yap" <yap_noel AT jpmorgan DOT com>, cygwin AT sourceware DOT cygnus DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: chroot and mount question
In-Reply-To: <85256A99.005558E7.00@nyc-ntgw-n01.ny.jpmorgan.com>
Mime-Version: 1.0

At 11:32 AM 7/30/2001, Noel L Yap wrote:
>If I have the following mount structure:
>d:\cygwin on / type user (binmode)
>v: on /view type user (binmode)
>d:\cygwin on /view/nyap-tig-du type user (binmode)
>v:\nyap-tig-du on /view/nyap-tig-du/vobs type user (binmode)
>
>and the following directory structure:
>/
>/cygwin
>/cygwin/bin
>/view
>/view/view0
>/view/view0/vobs
>/view/view0/vobs/vob0
>/vobs
>/vobs/vob1
>
>what should the behaviour of:
>      chroot /view/view0
>      ls /vobs
>
>be?
>
>I'm hoping the answer would be:
>      vob0
>
>but what I'm getting is:
>      vob1
>
>Is this correct behaviour (I haven't found any docs on this situation)?


What you document is entirely correct and quite logical AFAICS.  Now, if
you typed "ls vobs" rather than "ls /vobs" and got the same result, that
would be incorrect I believe.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019