Confused file name in directory
ssl at ptsfa.UUCP
ssl at ptsfa.UUCP
Thu Feb 26 01:25:56 AEST 1987
In article <563 at aw.sei.cmu.edu.sei.cmu.edu> pdb at sei.cmu.edu (Patrick Barron) writes:
>
>As a last resort you could use 'clri' on the inode associated with that
>file (use 'ls -li' to find the inode numner). fsck will certainly allow
>you to clear the directory entry once it realizes the inode's been zeroed.
>
>--Pat.
But as a last to the last resort, if you don't really want to get rid
of things, I'll try this before 'clri':
1. make sure there's only one directory and/or filename start
with D
2. then 'mv D* goodname'
Didn't try this with D\0a though, this might/might not work, but doesn't
hurt give it a try before earsing everything. As long as D* expands into
one name, mv will work.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sam Lok San Francisco {ihnp4,pyramid,qantel}!ptsfa!ssl
|| To err is human, to really foul things
Disclaimer!? WHAT disclaimer? || up requires super-user privilege!
More information about the Comp.unix.questions
mailing list