From owner-freebsd-questions Wed Mar 17 7: 7: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 50ACA14D4D for ; Wed, 17 Mar 1999 07:06:59 -0800 (PST) (envelope-from roelof@eboa.com) Received: from charon.eboa.com (n669.telekabel.euronet.nl [194.134.130.170]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id QAA22848; Wed, 17 Mar 1999 16:06:40 +0100 (MET) Received: from eboa.com (roelof [10.0.0.2]) by charon.eboa.com (8.8.8/8.8.8) with ESMTP id QAA14959; Wed, 17 Mar 1999 16:06:00 +0100 Message-ID: <36EFC56A.ACBFB0A7@eboa.com> Date: Wed, 17 Mar 1999 16:08:26 +0100 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Have crashed, won't travel References: <36DCB59E.F16D5539@eboa.com> <19990303195632.B441@lemis.com> <36DDBFEB.86D89D20@eboa.com> <19990304095813.I441@lemis.com> <36DDEFFD.A4DB4978@eboa.com> <19990304130126.B441@lemis.com> <36DE0352.E99BCB70@eboa.com> <19990316174710.H429@lemis.com> <36EE54A4.8DC53017@eboa.com> <19990317093436.G429@lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > I suspect it's just because it was easier that way. Hm. I mean, it's ok when I do it, but ... > Yup, I know, fsck shouts. > This looks like relatively serious file system damage. I'd guess that > one of these files has its inode corrupted (and it makes it look like > a device file). The best thing you can do here is to completely > remove the directory: > > # rm -fr /usr/ports/devel/crossgo32/pkg/ n669# ls -l /usr/ports/devel/crossgo32/pkg/ total 1 drwxr-xr-x 2 root wheel 512 Mar 2 06:1 1 CVS c--xr--rw- 1 1830822492 1718183023 92, 0x2022002e Dec 7 2023 DESCR br--r----- 1 1852399988 1701344288 103, 0x6320006e Nov 15 2031 PLIST Doesn't look good, no . Still: root:/usr/ports/devel/crossgo32/pkg# ls -l CVS/ total 3 -rw-r--r-- 1 root wheel 122 Feb 15 09:21 Entries -rw-r--r-- 1 root wheel 37 Feb 15 09:21 Repository -rw-r--r-- 1 root wheel 11 Feb 15 09:21 Root root:/usr/ports/devel/crossgo32/pkg# cat CVS/Entries /COMMENT/1.1.1.1/Thu Mar 27 20:53:42 1997// /DESCR/1.3/Wed Aug 13 09:06:55 1997// /PLIST/1.3/Wed Aug 12 01:55:17 1998// D root:/usr/ports/devel/crossgo32/pkg# cat CVS/Root /home/ncvs root:/usr/ports/devel/crossgo32/pkg# cat CVS/Repository /home/ncvs/ports/devel/crossgo32/pkg Looks fine, though the last line in Entries is a tad weird. Hm. Looks like some of the flags aren't in the manpage (chflags): root:/usr/ports/devel/crossgo32/pkg# rm DESCR override --xr--rw- 1830822492/1718183023 uappnd,uchg,nodump,opaque for DESCR? y Good thing you reminded me to sync. Just removing that file caused a reboot . Guess I can't blame that one on the NIC. Ah well, one down, one to go. Still got UNREF FILE I=645. Ok, next one: root:/usr/ports/devel/crossgo32/pkg# rm PLIST override r--r----- 1852399988/1701344288 uchg,nodump,sappnd for PLIST? y rm: PLIST: Operation not permitted Hm. Same of course with 'rm -f PLIST'. Can't even rename it. Something's fishy in the state of Denmark (to quote Inspector Clouseau). > and then re-create it by whatever method you used to create it in the > first place. It's conceivable that you might have a panic while > trying to do this, so do a sync first and don't have anything else > running while you do. First I'll have to get rid of the PLIST file. Went to single-user, did a 'fsck -fp /usr', retried to delete it. Same error. B.t.w. isn't there a somewhat more direct way to go to and fro single user mode? Something like 'shutdown -k' but then ending in single- instead of multi-user. Also did the maillist have problems yesterday? All the CC's to the list came bouncing back to me. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message