Message-Id: <199710132214.SAA17366@delorie.com> From: "Wayne" To: Cc: "opendos" Subject: Re: ls Date: Tue, 14 Oct 1997 08:15:48 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Precedence: bulk Trust me when I say this, echo'ing a file to \dev\dsk0$ or the equivalent will write over the first disk. I was fooling around with OS/2 a few years back and kept getting errors on \dev\dsk0$ so I "type"ed \dev\dsk0$ and read from the floppy, tried the same under DOS and my first fixed disk was read. And it is a 2 way street also, so I found out. Under normal circumstances the \dev directory is not even hidden, it does not exist. Run diskedit on the drive and you will see nothing but run msd you will see the devices as they reside on what could be described as a virtual drive. Wayne -----Original Message----- From: -= ArkanoiD =- To: wjackson AT powerup DOT com DOT au Cc: opendos AT delorie DOT com Date: Tuesday, October 14, 1997 7:28 AM Subject: Re: ls >nuqneH, > >In message <199710132111 DOT BAA16163 AT pool1 DOT convey DOT ru> "Wayne" writes: >> Where did you look in the source. It should be in either equivalents of >> IO.SYS, as this is where all the devices are initialized. > >I mean standard "stat" etc implementation will not show anyth special for >device files under [Open]DOS, will it? > >> Want to try something, type "type filename.exe > \dev\dsk0$" and watch you >> first disk disappear. > >Does not work. Afaik that thing works with character devices only. > >-- > _ _ _ _ _ _ _ > Must be a visit from the dead.. _| o |_ | | _|| | / _||_| |_ |_ |_ > CU in Hell .......... Arkan#iD |_ o _||_| _||_| / _| | o |_||_||_|