Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!emory!mephisto!mcnc!rti!dg-rtp!matrx!abc From: abc@Matrix.COM (Alan Clegg) Newsgroups: comp.unix.admin Subject: Re: help removing a file Message-ID: <1990Sep6.183808.20578@Matrix.COM> Date: 6 Sep 90 18:38:08 GMT References: <1990Sep5.180847.21767@zaphod.mps.ohio-state.edu> <1990Sep6.163646.17499@dg-rtp.dg.com> Reply-To: abc@matrx.UUCP (Alan Clegg) Distribution: usa Organization: Matrix Corporation, Raleigh, North Carolina Lines: 39 In article <1990Sep6.163646.17499@dg-rtp.dg.com> eliot@dg-rtp.dg.com writes: >In article <1990Sep5.180847.21767@zaphod.mps.ohio-state.edu>, >harmon@function.mps.ohio-state.edu (Jim Harmon) writes: >|> Could someone someone help me with removing a file. ... >|> I even tried doing `rm -i *` and it matches >|> zhangNevai.tex but says there's No such file or directory. > >If 'rm -i *' fails, it is a bad one indeed. > Well, I managed to get a file with a '/' (slash) in it's name to appear under DG/UX. No problem, right? Can't remove the sucker, can't mv the sucker, can't even remove '-rf' the directory it lives in... Come around backup time, backups go just fine. Dump dumps and all is right with the world. Come time to restore (having moved the physical disk to a different machine and reformatted it)... RESTORE PUKES WHEN TRYING TO RESTORE GIVEN FILE. ARGH!!! Some bogus error message about not being able to create a directory, then every file after that one goes beserk. USERS ARE ASKING WHEN SYSTEM WILL BE BACK, MANAGEMENT IS ASKING WHEN PROJECTS WILL BE DONE. ALL CURRENT BACKUP TAPES CONTAIN FILE WITH SLASH IN NAME!!! I AM SWEATING BULLETS AND BLOOD (AT THE SAME TIME). WHAT DO I DO? Use interactive restore, restore all directories and all files EXCEPT given 'bad' file. Restores like a charm. No problems at all. Anyway, it seems to me that DUMP/RESTORE should look for 'badness' in file names (or maybe not). ****** What DUMP writes, RESTORE should be able to restore. ******* -abc -- Alan B. Clegg uucp: ...!mcnc!matrx!abc Matrix Corporation inet: abc@matrix.com Raleigh, NC "They were all wrong. The workstation model is obsolete." A. Tanenbaum