From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 2 22:02:55 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75EE11065670 for ; Fri, 2 Oct 2009 22:02:55 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mail.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 2EEEB8FC0C for ; Fri, 2 Oct 2009 22:02:54 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id n92LodlS018685 for freebsd-bugs@freebsd.org; Fri, 2 Oct 2009 16:50:39 -0500 (CDT) Date: Fri, 2 Oct 2009 16:50:39 -0500 (CDT) From: Robert Bonomi Message-Id: <200910022150.n92LodlS018685@mail.r-bonomi.com> To: freebsd-bugs@freebsd.org Subject: Issue with 'bsdlabel' --- program and documentation are inconsistent X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 22:02:55 -0000 I'm not going to attempt to say which is 'wrong' , but I can state authoritatively that they *don't* agree with each other. I'm using the 7.2 RELEASE, as downloaded from the freebsd U.S. 'ftp mirror 4' on 9/30/2009. Per the manpage there is a '-f {filename}' command-line option for the forms of command invocation that write a label (e.g. the '-w' flag) to the drive. All attempts to use '-f' result in a 'syntax error' complaint and program abort. Took me _quite_ a while to figure out that "-R' was what I needed to write a manually created volume label to the drive. Comment: '-w -f {filename}' does seem more _intuitive_ to me, in contrast to '-R' -- regardless of whether one is 'restoring' a disk label, or simply comitting a hand-crafted one to the disk. That said, regardless of whether the program is changed to match the documentation, or the docs are changed to match the program, the two _do_ need to be brought into agreement.