This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redirection can create nul files - Was: rm hangs on illegal filename nul

On Thu, 27 May 2004, Volker Quetschke wrote:

> Just FYI and for the archives:
> > Any ideas how to remove the nul files? Really, I don't want to
> > format my disk because of this.
> You can fool NTFS into not doing reserve-word checking with:
> DEL \\.\c:\somedir\nul
> You propably have to use the correct quotes, or use cmd.exe,
> like I did.
> Volker

A couple more datapoints:

- You can also create "nul" by "touch nul".
- You can use forward slashes, so "rm //./c:/somedir/nul" works.
- For me (on Win2k SP3), "rm nul" doesn't hang, but doesn't do anything

$ uname -a
CYGWIN_NT-5.0 pechtcha 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]