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 Message-ID: <19990318012142.2118.rocketmail@send1e.yahoomail.com> Date: Wed, 17 Mar 1999 17:21:42 -0800 (PST) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Interesting bug? To: Tripp Lilley , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii ---Tripp Lilley wrote: > > mount reports (among other things): > > v:\\tmp /tmp native text!=binary > > which is correct. > > in cmd.exe: > > c: > cd \tmp > (pwd now C:\tmp) > > ls > > 'ls' displays contents of /tmp, not c:\tmp! ls //c/tmp works as expected. > 'rm', 'chmod', and others seem to be looking in //c/tmp as expected when > run with relative path names (ie: echo 'hello' > /tmp/foo.txt, followed by > 'rm foo.txt' with c:\tmp as pwd bombs as expected saying "foo.txt: No such > file or directory") > Relative paths with the official b20.1 release are known to feature a few inconsistencies. The path emulation has been reworked for a newer release. Furthermore if you have a mounted directory for /tmp on one drive and the root mounted to a different drive and you have a tmp directory physically under root this is what is known as a mount point and isn't intended to be the /tmp directory but a placeholder that is usually empty. If you don't understand this structure then you will definitely get confused. A lot of the problems stem from the fact that the filesystem isn't a unix filesystem but the cygwin product pretends that it is. It can give some interesting results. == - \\||// -------------------o0O0--Earnie--0O0o------------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32/index.html -- ----------------------ooo0O--O0ooo---------------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com