From owner-freebsd-current Sat Nov 30 10:40:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D3E437B401 for ; Sat, 30 Nov 2002 10:40:48 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 181DD43E9C for ; Sat, 30 Nov 2002 10:40:48 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.3/8.12.3) with ESMTP id gAUIeh59081381; Sat, 30 Nov 2002 10:40:43 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200211301840.gAUIeh59081381@beastie.mckusick.com> To: Ceri Davies Subject: newfs chokes, cores, & dies if inode density too high; patch attached Cc: David Wolfskill , current@FreeBSD.ORG In-Reply-To: Your message of "Fri, 01 Nov 2002 00:43:38 GMT." <20021101004338.GA16478@submonkey.net> Date: Sat, 30 Nov 2002 10:40:43 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Date: Fri, 1 Nov 2002 00:43:38 +0000 From: Ceri Davies To: David Wolfskill Cc: current@FreeBSD.ORG, mckusick@FreeBSD.ORG Subject: newfs chokes, cores, & dies if inode density too high; patch attached In-Reply-To: <200210312230.g9VMUxni040707@bunrab.catwhisker.org> I don't have time to test this right now, but see also PR bin/30959. Ceri -- you can't see when light's so strong you can't see when light is gone Better late than never, this bug has been fixed. From: Kirk McKusick Date: Sat, 30 Nov 2002 10:28:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/newfs mkfs.c newfs.c mckusick 2002/11/30 10:28:26 PST Modified files: sbin/newfs mkfs.c newfs.c Log: Add some more checks to newfs so that it will not build filesystems that the kernel will refuse to mount. Specifically it now enforces the MAXBSIZE blocksize limit. This update also fixes a problem where newfs could segment fault if the selected fragment size was too large. PR: bin/30959 Submitted by: Ceri Davies Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.66 +24 -14 src/sbin/newfs/mkfs.c 1.66 +5 -1 src/sbin/newfs/newfs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message