From owner-cvs-src@FreeBSD.ORG Wed Nov 28 07:29:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A455216A418; Wed, 28 Nov 2007 07:29:10 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9635813C457; Wed, 28 Nov 2007 07:29:10 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lAS7TA65056935; Wed, 28 Nov 2007 07:29:10 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAS7TA9b056934; Wed, 28 Nov 2007 07:29:10 GMT (envelope-from yar) Message-Id: <200711280729.lAS7TA9b056934@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 28 Nov 2007 07:29:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/newfs newfs.8 newfs.c newfs.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 07:29:10 -0000 yar 2007-11-28 07:29:10 UTC FreeBSD src repository Modified files: sbin/newfs newfs.8 newfs.c newfs.h Log: MFp4: Add a new option to newfs(8), -r, to specify reserved space at the end of the device. It can be useful, e.g., when the device is to become a member of a gmirror array later w/o losing the file system on it. Document the new option in the manpage. While I'm here, improve error handling for -s option, which is syntactically similar to -r; and document the fact that -s0 selects the default fs size explicitly, which can be useful, e.g., in a menu-based wrapper around newfs(8) requiring some value be entered for the fs size. Also fix a small typo in the help line for -s (missing space). Idea and initial implementation by: marck Discussed on: -fs Critical review by: bde Tested with: cmp(1) Revision Changes Path 1.71 +21 -3 src/sbin/newfs/newfs.8 1.83 +37 -18 src/sbin/newfs/newfs.c 1.19 +1 -1 src/sbin/newfs/newfs.h