Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!umd5!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Need to un-munge a directory entry by opening it for write. Message-ID: <15033@brl-adm.ARPA> Date: 28 May 88 02:38:10 GMT Sender: news@brl-adm.ARPA Lines: 27 From: Gordon Vickers Any ideas on how I can delete this entry in /a/.rm/gordon ? I have run fsck, but it did not complain. I would certainly prefer a method that would result in no data loss, but am willing to comprimise in a second if no better solution is found. I am running Ultrix 2.0-1 on a VAX 11/750. First, manually copy the files in that directory somewher else. Then, find the inode, and point `clri' at it. Finally, run fsck. The unlink program mentioned elsewhere does not appear on every system. A quick hack is "main(c,v) char **v; { while (--c) unlink(*++v); }". Gordon P. Vickers, (408) 991-5370, Signetics Corp. PO Box 3409 M/S 69 Sunnyvale, California, USA 94086 {pyramid, philabs}!prls!gordon (Root Boy) Jim Cottrell National Bureau of Standards Flamer's Hotline: (301) 975-5688 The opinions expressed are solely my own and do not reflect NBS policy or agreement My name is in /usr/dict/words. Is yours?