home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / admin / 4839 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!sci34hub!gary
  3. From: gary@sci34hub.sci.com (Gary Heston)
  4. Subject: Re: How do I remove a directory with no parent?
  5. Message-ID: <1992Sep2.133619.18698@sci34hub.sci.com>
  6. Reply-To: gary@sci34hub.sci.com (Gary Heston)
  7. Organization: SCI Systems, Inc., Huntsville, Al.
  8. References: <1992Aug29.151128.3376@magnus.acs.ohio-state.edu>
  9. Date: Wed, 2 Sep 1992 13:36:19 GMT
  10. Lines: 26
  11.  
  12. In article <1992Aug29.151128.3376@magnus.acs.ohio-state.edu> bjones@magnus.acs.ohio-state.edu (William A Jones) writes:
  13. |I just recently installed smail v3.1.25 on my system (i486 running linux 0.97)
  14. |and during the installation process, the directory /usr/local/lib/smail/methods
  15. |was created.  However, there is absolutely nothing in the directory -- no
  16. |., no .., no nothing.  fsck kindly points this out but hasn't done anything
  17. |to fix it.  rmdir, rm -rf, rm -d all don't work.  I tried removing the entire
  18. |directory tree doing an "rm -rf /usr/local/lib/smail" but that doesn't work.
  19. |
  20. |Other than backing up everything else but this file and running mkfs to make
  21. |a clean disk is there any other way to fix this?
  22.  
  23. Under linux.... Hmmm... If adb or something similar is available, you can
  24. hand edit the inode to convert it to a file entry, and then remove it. If
  25. you don't have adb, boot from a DOS floppy with something like Nortons'
  26. or Mace utilities and use the sector editor they have.
  27.  
  28. I'm puzzled as to how this was created; after you get rid of the bogus
  29. entry, you may want to manually create the directory to avoid this happening
  30. again.
  31.  
  32.  
  33. -- 
  34. Gary Heston    SCI Systems, Inc.  gary@sci34hub.sci.com   site admin
  35. The Chairman of the Board and the CFO speak for SCI. I'm neither.
  36.     The most dangerous person in the world is Jessica Fletcher.
  37.         Everywhere she goes, people die.
  38.