tim@ranier.Data-IO.COM (Tim Rosmus) (04/11/90)
Any one got any ideas on how to cleanly remove this file/directory short of "newfs"? It was created by using Norton Commander from a PC via PC-NFS. Doing a "ls -lR" just recursively lists itself until a core dump finally occurs. DOS (under PC-NFS) doesn't see the file at all. Script started on Tue Apr 10 14:45:55 1990 ranier# pwd /eng1/Marketing/booking/plan/1989 /* NOTICE INODE 32791 */ ranier# /bin/ls -alis total 3 32791 1 drwxrwxrwx 2 phillips 512 Apr 10 14:45 34934 1 drwxrwxrwx 2 phillips 512 Apr 10 14:45 . 2127 1 drwxrwxrwx 4 nikora 512 Apr 10 10:46 .. 34846 0 -rw-r--r-- 1 root 0 Apr 10 14:45 typescript /* NOTICE INODE 32791 */ ranier# /bin/ls -li * 34846 -rw-r--r-- 1 root 0 Apr 10 14:45 typescript : total 1 32791 drwxrwxrwx 2 phillips 512 Apr 10 14:45 34846 -rw-r--r-- 1 root 0 Apr 10 14:45 typescript /* NOTICE THE NAME RIGHT AFTER "14:45" OF THE FILE IN QUESTION */ ranier# /bin/ls -li | od -c 0000000 t o t a l 1 \n 3 2 7 9 1 d r 0000020 w x r w x r w x 2 p h i l 0000040 l i p s 5 1 2 A p 0000060 r 1 0 1 4 : 4 5 \n 3 4 8 4 0000100 6 - r w - r - - r - - 1 0000120 r o o t 0000140 0 A p r 1 0 1 4 : 4 5 t 0000160 y p e s c r i p t \n 0000172 ranier# ^D script done on Tue Apr 10 14:47:45 1990 This is on a Sun 3/260 running SunOS 3.4. Could "clri" and "fsck" fix the problem? The directory basically has NO name. Any help mucho appreciated. -- Internet: <tim@Data-IO.COM> | Tim Rosmus (Sys Admin) ...sun!fluke!thebes-----\ | Data I/O Corporation ...uunet-------------------!pilchuck!tim | 10525 Willows Road N.E. ...uw-beaver!hpubvwa----/ | Redmond, WA (206)881-6444
conger@hpcupt1.HP.COM (Edward Conger) (04/12/90)
/ hpcupt1:comp.unix.wizards / tim@ranier.Data-IO.COM (Tim Rosmus) / 3:20 pm Apr 10, 1990 / >>Any one got any ideas on how to cleanly remove this file/directory >>short of "newfs"? It was created by using Norton Commander from >>a PC via PC-NFS. Doing a "ls -lR" just recursively lists itself >>until a core dump finally occurs. DOS (under PC-NFS) doesn't see >>the file at all. I may be missing something, but will a "/bin/rm -i *" where you answer 'y' only to the 'nameless' file do the trick for you? >> Internet: <tim@Data-IO.COM> | Tim Rosmus (Sys Admin) >> ...sun!fluke!thebes-----\ | Data I/O Corporation >> ...uunet-------------------!pilchuck!tim | 10525 Willows Road N.E. >> ...uw-beaver!hpubvwa----/ | Redmond, WA (206)881-6444 -Ed. conger@hpda.hp.com ----------
tmiller@hpccc.HP.COM (Teri Miller) (04/13/90)
Have you tried rmdir ^v ^v<return> It looks to me as though the filename does exist, and that it consists of a space then the return character. So, what the above should do is to accept a space, then a <return>. (Note the space between the two control vees.) Hope it works! Teri Miller HP Santa Clara Information Systems Division Disclaimer: The above does not represent HP in any way. I am not part of HP's customer support structure, nor is HP responsible for anything I've stated.