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