This is the mail archive of the
mailing list for the Cygwin project.
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.
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
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,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: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html