www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/24/03:57:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
To: Sebastien Barre <Sebastien DOT Barre AT utc DOT fr>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: strange mount behaviour...
References: <4 DOT 1 DOT 19990224011448 DOT 0168e0e0 AT mail DOT club-internet DOT fr>
From: Levon Saldamli <levon AT lysator DOT liu DOT se>
Date: 24 Feb 1999 07:20:50 +0100
In-Reply-To: Sebastien Barre's message of "Wed, 24 Feb 1999 02:14:52 +0100"
Message-ID: <7wsobw8gql.fsf@sandra.lysator.liu.se>
Lines: 99
X-Mailer: Gnus v5.5/Emacs 20.3

Sebastien Barre <Sebastien DOT Barre AT utc DOT fr> writes:

> > mount D: /d
> > ls etc
> > ls d 
>
> !! nothing !!
> 
> > ls /etc
> termcap

It is a good idea to check (and paste it with the other things) what
your pwd is here. Just to be sure :)

> > cd /etc
> > ls
> termcap


/Levon Saldamli.




> Well, sorry to post another naive question, but here is a sequence of
> reproducible commands that lead to something very obscure to me : mounting
> D: (the disk where cygwin and my root is located) seems to invalid some
> internal behaviours (well, let's say some illogical things appear :)
> 
> Here it is. I just installed B20.1,
> 
> > GNUWIN32=d:/devel/gnuwin32; export GNUWIN32
> > CYGROOT=${GNUWIN32}/cygwin-b20; export CYGROOT
> 
> - create some directories for a kind of filesystem
> 
> > cd ${GNUWIN32}
> > mkdir root
> > cd root
> > mkdir tmp etc d
> 
> - mount
> 
> > umount /
> > mount ${GNUWIN32}/root /
> > mount D:/temp /tmp
> > mount ${CYGROOT}/etc /etc
> 
> No pb until now, for example, let's have a look at /etc (two times)  :
> 
> > cd /
> > ls
> d/ etc/ tmp/
> > ls etc
> termcap
> > ls /etc
> termcap
> 
> Now here is the funny part :
> 
> > mount D: /d
> > ls etc
> > ls d 
> 
> !! nothing !!
> 
> > ls /etc
> termcap
> > cd /etc
> > ls
> termcap
> 
> !! now here they are, '/etc' works, 'etc' does not !!
> 
> > cd ..
> > ls d
> > ls /d
> autoexec.bat config.sys
> ... etc.
> 
> Could anyone explain me why mounting D: ou D:/ ou d:/ to /d produce these
> artefacts ? Doing the same thing with C: ou E: will NOT cause any problem.
> Is it impossible to mount the drive where cygwin is located ? Installing
> coolview did not help too. As well as binary mount.
> 
> Thanks
> 
> 
> ______________________________________________________________
> Sebastien Barre                  http://www.hds.utc.fr/~barre/
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 

-- 
/Levon Saldamli

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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