Date: Tue, 5 Aug 2003 06:35:18 -0700 (PDT) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/newfs mkfs.c Message-ID: <200308051335.h75DZIMJ029945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2003/08/05 06:35:18 PDT
FreeBSD src repository
Modified files:
sbin/newfs mkfs.c
Log:
Exit with a non-zero status upon a block allocation failure.
The old way of just returning could result in a file system
extremely likely to panic the kernel. The warning printed
wouldn't help much since tools invoking newfs(8), e.g., mdmfs(8),
couldn't detect the error.
PR: bin/55078
MFC after: 1 week
Revision Changes Path
1.78 +3 -3 src/sbin/newfs/mkfs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308051335.h75DZIMJ029945>
