delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/11:53:23

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
X-Lotus-FromDomain: JPMORGAN AT SMTP
From: "Noel L Yap" <yap_noel AT jpmorgan DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Message-ID: <85256A99.005558E7.00@nyc-ntgw-n01.ny.jpmorgan.com>
Date: Mon, 30 Jul 2001 11:32:15 -0400
Subject: chroot and mount question
Mime-Version: 1.0

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)?

Thanks,
Noel



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
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