home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.admin:4860 comp.unix.wizards:3778
- Newsgroups: comp.unix.admin,comp.unix.wizards
- Path: sparky!uunet!gatech!destroyer!ubc-cs!alberta!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!belay!buick
- From: buick@belay (Patrick D. Buick)
- Subject: Re: How do I remove a directory with no parent?
- Message-ID: <BtzALw.3DC@belay>
- Organization: Belay Enterprises Inc. Calgary, Alberta, Canada
- References: <1992Aug29.151128.3376@magnus.acs.ohio-state.edu>
- Date: Thu, 3 Sep 1992 01:25:07 GMT
- Lines: 25
-
- In article <1992Aug29.151128.3376@magnus.acs.ohio-state.edu> bjones@magnus.acs.ohio-state.edu (William A Jones) writes:
- >I just recently installed smail v3.1.25 on my system (i486 running linux 0.97)
- >and during the installation process, the directory /usr/local/lib/smail/methods
- >was created. However, there is absolutely nothing in the directory -- no
- >., no .., no nothing. fsck kindly points this out but hasn't done anything
- >to fix it. rmdir, rm -rf, rm -d all don't work. I tried removing the entire
- >directory tree doing an "rm -rf /usr/local/lib/smail" but that doesn't work.
- >
- >Other than backing up everything else but this file and running mkfs to make
- >a clean disk is there any other way to fix this?
- >
- >Thanks,
- >
- >Bill
-
- Of course, my question is: If there is no parent, how did you determine
- there was nothing in it? Don't you have to traverse the inodes containing
- directory entries above it to get there? Hmm... baffles me... it wouldn't
- be a link, would it? (Does linux support these kinds of links?)
- Patrick
- --
- ==========================================================
- Patrick D. Buick EMT, EET | Internet: buick%belay@uunet.uu.net
- Belay Enterprises Inc. | Internet: buickp@cuug.ab.ca
- Calgary, Alberta, Canada | UUCP:...!calgary!pixel!belay!buick
-