Date: Sat, 30 Nov 2002 10:40:43 -0800 From: Kirk McKusick <mckusick@beastie.mckusick.com> To: Ceri Davies <setantae@submonkey.net> Cc: David Wolfskill <david@catwhisker.org>, current@FreeBSD.ORG Subject: newfs chokes, cores, & dies if inode density too high; patch attached Message-ID: <200211301840.gAUIeh59081381@beastie.mckusick.com> In-Reply-To: Your message of "Fri, 01 Nov 2002 00:43:38 GMT." <20021101004338.GA16478@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Date: Fri, 1 Nov 2002 00:43:38 +0000
From: Ceri Davies <setantae@submonkey.net>
To: David Wolfskill <david@catwhisker.org>
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 <mckusick@FreeBSD.org>
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 <setantae@submonkey.net>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211301840.gAUIeh59081381>
