www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/21/00:06:58

From: Dave Pearson <davep AT hagbard DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: File utils are crap?
Date: Fri, 20 Dec 1996 17:17:51 GMT
Organization: Hagbard's World (A Private Internet Host)
Lines: 55
Sender: usenet AT hagbard DOT demon DOT co DOT uk
Message-ID: <slrn5blihs.ie1.davep@hagbard.demon.co.uk>
References: <32B9752D DOT 5A86 AT cs DOT pdx DOT edu>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ian Romanick <idr AT cs DOT pdx DOT edu> wrote:

[SNIP ls antics]

> Is it just me, or is there something quite wrong with all of this?  

It's not just you, I just tried it as well and the same thing happens
here. I think it's to do with the "magic" /dev directory. I did you're
tests with a /dev directory and it did the same as you, I renamed the
directory to /eev and it worked correctly.

Try this one as well (using touch):

D:\>mkdir foo
D:\>mkdir dev
D:\>touch foo\x
D:\>dir foo

 Volume in drive D is DATA           Serial number is E5C6:A815
 Directory of  D:\foo\*

20/12/96   5:08p        <DIR>    . 
20/12/96   5:08p        <DIR>    ..
20/12/96   5:08p              0  x 
             0 bytes in 1 file and 2 dirs    0 bytes allocated
   145,047,552 bytes free

D:\>touch dev\x
D:\>dir dev

 Volume in drive D is DATA           Serial number is E5C6:A815
 Directory of  D:\dev\*

20/12/96   5:04p        <DIR>    . 
20/12/96   5:04p        <DIR>    ..
             0 bytes in 0 files and 2 dirs
   145,047,552 bytes free

D:\>dir x.

 Volume in drive D is DATA           Serial number is E5C6:A815
 Directory of  D:\x.

20/12/96   5:11p              0  x 
             0 bytes in 1 file and 0 dirs    0 bytes allocated
   145,047,552 bytes free

A bug with the "magic" /dev directory support perhaps?

-- 
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard  |  ng2html - The NG to HTML converter.
Also available in the UK:       |       eg - Norton Guide reader for OS/2.
http://www.hagbard.demon.co.uk  |   dgscan - DGROUP scanner for Clipper.

- Raw text -


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