Date: Sat, 11 Apr 1998 20:45:36 -0400 (EDT) From: Chuck Robey <chuckr@glue.umd.edu> To: "John S. Dyson" <dyson@FreeBSD.ORG> Cc: FreeBSD-current@FreeBSD.ORG Subject: Re: disk damage Message-ID: <Pine.BSF.3.96.980411204421.410D-100000@localhost> In-Reply-To: <199804120139.UAA02518@dyson.iquest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Apr 1998, John S. Dyson wrote: > Chuck Robey said: > > > > rm: usr/src/usr.bin: Bad file descriptor > > rm: usr/src/usr.sbin: Bad file descriptor > > [extra error list, about 8, removed] > > > > I tried to do an ls of those directories, and got: > > > > ls: usr.bin: Bad file descriptor > > ls: usr.sbin: Bad file descriptor > > > > Should I continue to delete these guys, and if so, how? > > > Try doing fsck after the attempted rm commands. Make sure that > you reboot with -s, before the additional fsck commands. Thanks. I finally got desperate enough to try fsdb (after doing many cycles of rm/fsck's with no effect) and that did it. I had a bunch of directories pointing to inode 0. > > -- > John | Never try to teach a pig to sing, > dyson@freebsd.org | it just makes you look stupid, > jdyson@nc.com | and it irritates the pig. > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980411204421.410D-100000>