home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / hackers / 1302 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  37 lines

  1. Newsgroups: alt.hackers
  2. Path: sparky!uunet!caen!umeecs!dip.eecs.umich.edu!dmuntz
  3. From: dmuntz@dip.eecs.umich.edu (Daniel A Muntz)
  4. Subject: Re: How can I remove a file with a / in it ?
  5. Message-ID: <1992Aug18.202041.24111@zip.eecs.umich.edu>
  6. Keywords: rm remove delete unix
  7. Sender: news@zip.eecs.umich.edu (Mr. News)
  8. Organization: University of Michigan EECS Dept., Ann Arbor
  9. References: <Aug.18.14.39.53.1992.29153@remus.rutgers.edu>
  10. Date: Tue, 18 Aug 1992 20:20:41 GMT
  11. Approved: dmuntz@dip.eecs.umich.edu
  12. Lines: 23
  13.  
  14. In article <Aug.18.14.39.53.1992.29153@remus.rutgers.edu> broderic@REMUS.RUTGERS.EDU (Alfred J. Broderick) writes:
  15. >The wizards that I work with created a file called REMOVE/ME
  16. >in my home directory.  Could you guys help me out and tell
  17. >me how to remove this file?  They say it can be done, but
  18. >not easily.
  19. >
  20. >So now I ask you guys.  I know this must have been done before.
  21. >How is it done and how do I get rid of the file?
  22. >
  23.  
  24. 1) Use PCNFS.  I'm not sure if this still works, but PCNFS used to be able
  25.    to create and delete files containing '/' chars in a unix fs (at least
  26.    on a sun...)
  27.  
  28. 2) Edit the raw disk device.  Search for REMOVE/ME and change the '/' to a '.'
  29.    Then  'rm REMOVE.ME'.  Don't forget to 'sync' before you try to do the
  30.    'rm'.  You (hopefully) need root to do this.
  31.  
  32. For a clue about what's going on here, look up 'namei' in your favorite unix
  33. reference.  
  34.  
  35.   -Dan
  36.  
  37.