Help! There's a slash '/' in my filename.
Eoin Woods
ewoods at hemel.bull.co.uk
Fri Feb 8 00:07:27 AEST 1991
enag at ifi.uio.no (Erik Naggum) writes:
>In article <HGJ.91Feb5193804 at sage.cc.purdue.edu> hgj at 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.
As Erik says, yes there is -- The only way to get rid of it is to modify the
filesystem directly through its raw device -- Use fsdb if its available on
your system. If not, get writing some C :-( (or delete the whole file system
and restore from backups :-( )
Eoin.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Eoin Woods, Software Development Group, Bull HN Information Systems, ~
~ Maxted Road, Hemel Hempstead, Herts HP2 7DZ, UK. ~
~ Tel : +44 442 232222 x4823 Fax : +44 442 234084 ~
~ < Eoin.Woods at hemel.bull.co.uk or ...!uunet!ukc!brno!ewoods> ~
~ < When do we start news group comp.os.emacs ? :-) > ~
More information about the Comp.unix.internals
mailing list