Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!enag From: enag@ifi.uio.no (Erik Naggum) Newsgroups: comp.unix.internals Subject: Re: Help! There's a slash '/' in my filename. Message-ID: Date: 6 Feb 91 07:33:38 GMT References: <821@nddsun1.sps.mot.com> <11714@helios.TAMU.EDU> <43579@ut-emx.uucp> <1991Feb2.113410.23943@gpu.utcs.utoronto.ca> <342@motto.UUCP> Sender: enag@ifi.uio.no (Erik Naggum) Distribution: comp Organization: Naggum Software, Oslo, Norway Lines: 20 In-Reply-To: hgj@sage.cc.purdue.edu's message of 6 Feb 91 00:38:04 GMT In article hgj@sage.cc.purdue.edu (hgj) writes: > ... For the / character, I would reccomend editing the directory > (dired/dired.el) and renaming it to something harmless. Or, if you > really want to teach yourself not to do it again, write a C program > to change the name field of the proper inode struct. (Relatively > easy, I would imagine) Wrong. `/' in the file name cannot be cured even by Emacs. Also, there's no "name field" in the inode. Names are contained in special files called directories, which have an inode number and a name for each entry (at least). > Anyways, no need to get drastic or root in either case. Sadly, yes, there is. -- [Erik Naggum] Naggum Software, Oslo, Norway