From owner-freebsd-questions Sun Mar 23 14:17:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA02464 for questions-outgoing; Sun, 23 Mar 1997 14:17:10 -0800 (PST) Received: from train.tgci.com ([205.185.169.3]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA02455 for ; Sun, 23 Mar 1997 14:17:03 -0800 (PST) Received: from emilyd ([206.250.85.68]) by train.tgci.com (8.6.12/8.6.9) with SMTP id OAA23325; Sun, 23 Mar 1997 14:29:02 -0800 Message-Id: <199703232229.OAA23325@train.tgci.com> Comments: Authenticated sender is From: "Riley J. McIntire" To: dmaddox@scsn.net Date: Sun, 23 Mar 1997 14:16:40 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Bad file descriptor in security check output Reply-to: chaos@tgci.com CC: questions@freebsd.org Priority: normal X-mailer: Pegasus Mail for Win32 (v2.42a) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: "Donald J. Maddox" > Subject: Re: Bad file descriptor in security check output > To: chaos@tgci.com > Date: Sun, 23 Mar 1997 16:35:03 -0500 (EST) > Reply-to: dmaddox@scsn.net > > > > When I try to remove these files I get this: > > > > > > > > bash# rm -i '#'06* > > > > rm: #064448: Bad file descriptor > > > > remove #064456? y > > > > rm: #064456: Operation not permitted > > > > > > su to root and try again. > > > > > The above is as root...I've tried fsck, clri and then fsck, rm -r and > > possibly others, all in various ways, and still have this: > > You need to do this in single-user mode... The 'schg' flag cannot > be overridden even by root in multi-user mode. > > > Donald J. Maddox > (dmaddox@scsn.net) Ok, went to single user (I've done most of the above in this mode, but just to double check) and did the following: in /usr/lost+found chflags noschg * then did a fsck and rebooted--regained a couple files that had disappear earlier. Tried rm -i '#'* which got rid of the resurrected files and left the problem files Did ls -i, got inodes and clri /dev/wd0s2f nnnnn Got device busy error. clri /dev/wd0 nnnnn got this error: /dev/wd0 superblock magic number 0xce0039, not 0x11954 I do appreciate the help--this isn't (apparently) really critical, but I'd really like to resolve it one way or another. Cheers, Riley