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

2004-05-27 Thread Volker Quetschke
Hi Dave, I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. No, wrong, the problem arises from

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

2004-05-27 Thread Volker Quetschke
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 -- PGP/GP

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

2004-05-27 Thread Igor Pechtchanski
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

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

2004-05-27 Thread Volker Quetschke
Hi Igor, 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 either. Here neither, but "rm -rf somedir" hangs. Volker -- PGP/GPG key (ID: 0x9

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

2004-05-27 Thread Christopher Faylor
On Thu, May 27, 2004 at 11:39:22AM -0400, Volker Quetschke wrote: >Igor wrote: >>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 >>

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

2004-05-27 Thread Igor Pechtchanski
On Thu, 27 May 2004, Christopher Faylor wrote: > On Thu, May 27, 2004 at 11:39:22AM -0400, Volker Quetschke wrote: > >Igor wrote: > >>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