Path: utzoo!utgpu!watserv1!watmath!att!mcdchg!laidbak!ism.isc.com!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: unlink(inode)? or how to remove file with '/' in its name Message-ID: <1990Oct19.120621.11674@virtech.uucp> Date: 19 Oct 90 12:06:21 GMT References: <1990Oct18.030832.10894@melb.bull.oz.au> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 19 In article <1990Oct18.030832.10894@melb.bull.oz.au> sjg@sun0.melb.bull.oz.au (Simon J. Gerraty) writes: >It only took five minutes to write a short C programme to print >inode/name pairs from a directory. ls(1) etc weren't any use at >all, though echo '*' would at least show the name. You could have used od(1) to get this info. >Ok, I know the inode, all I have to do is get rid of it. How? If you just want to get rid of it, try clri followed by fsck. If you want to save the file and just change the name so that it no longer has a / in it, use fsdb. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170