From owner-freebsd-stable Sun Aug 8 16:10:27 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dingo.cdrom.com (castles523.castles.com [208.214.165.87]) by hub.freebsd.org (Postfix) with ESMTP id BF78615090 for ; Sun, 8 Aug 1999 16:10:13 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA13667; Sun, 8 Aug 1999 16:02:57 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199908082302.QAA13667@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Morgan Davis" Cc: "Tom" , "David Malone" , freebsd-stable@freebsd.org Subject: Re: Removing files in /lost+found causes panic In-reply-to: Your message of "Sun, 08 Aug 1999 15:22:24 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 08 Aug 1999 16:02:57 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It would, of course, have been _really_nice_ if you actually bothered to give us some details on these files before you nuked them... > Tom, thanks for the suggestion to use clri and fsck. This did the trick! > > David, I have Seagate SCSI drives, so it's not the IDE problem you > described. > > My conclusion is that there is something not right in the kernel if trying > to remove a file causes it to panic. Remove should be a lot like what clri > and fsck does -- dellocate the inode, update free block map, tie up any > loose ends so that that filesystem is stable. Apparently, rm is trying to > do more -- perhaps stat the file in some way that is getting tripped up on > odd characteristics of the file entry (since it looks like a block or > character device, etc.). Since these odd files are not supposed to show up > at all, I presume the kernel is assuming that such a situation never occurs > and doesn't have to plan for that contingency. > > --Morgan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message