From owner-freebsd-current Sat Apr 11 18:47:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21619 for freebsd-current-outgoing; Sat, 11 Apr 1998 18:47:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21185; Sat, 11 Apr 1998 18:46:16 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id UAA06116; Sat, 11 Apr 1998 20:45:36 -0400 (EDT) Date: Sat, 11 Apr 1998 20:45:36 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: "John S. Dyson" cc: FreeBSD-current@FreeBSD.ORG Subject: Re: disk damage In-Reply-To: <199804120139.UAA02518@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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