home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx!nmsu.edu!opus!ghenniga
- From: ghenniga@NMSU.Edu
- Subject: null device (was Re: The Ultimate OS/2 FTP Source)
- In-Reply-To: parry@yoyo.cc.monash.edu.au's message of Tue, 28 Jul 1992 04:35:28 GMT
- Message-ID: <GHENNIGA.92Jul28134847@ampere.ampere>
- Sender: usenet@nmsu.edu
- Reply-To: ghenniga@NMSU.Edu
- Organization: New Mexico State University - Electromagnetics Group
- References: <712115518snx@w3vh.UUCP> <1992Jul28.043528.18027@monu6.cc.monash.edu.au>
- Date: Tue, 28 Jul 1992 20:48:47 GMT
- Lines: 19
-
-
- parry@yoyo.cc.monash.edu.au (Tom J Parry) writes:
- >rolfe@w3vh.UUCP (Rolfe Tessem) writes:
- >>
- >> (flames to /dev/null please -- whoops, does OS/2 have a /dev/null?)
- >
- >Yep, but it would probably be called /dev/nul
- >If you do a COPY CON, it tells you it is copying to /dev/con. I can only
- >presume that /dev/nul will therefor also exist. (I seem to rememebr it
- >does).
-
- OS/2 does indeed have a null device. The correct way to access it is via
- NUL, e.g., "type config.sys > NUL:" but apparently /dev/nul also works. Is
- this some portent of things to come, i.e., Unix-like devices? Who knows?
- You can also do a "DIR \DEV\NUL" or a "DIR \DEV\CON" and it shows a
- file, although "DIR \DEV\*" doesn't show anything.
-
- Gary
- (ghenniga@NMSU.Edu)
-