From owner-freebsd-doc@FreeBSD.ORG Wed Feb 4 17:10:02 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38B6C10656C4 for ; Wed, 4 Feb 2009 17:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF83C8FC2B for ; Wed, 4 Feb 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n14HA14x049664 for ; Wed, 4 Feb 2009 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n14HA136049663; Wed, 4 Feb 2009 17:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 4 Feb 2009 17:10:01 GMT Resent-Message-Id: <200902041710.n14HA136049663@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Judd Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34D24106566C for ; Wed, 4 Feb 2009 17:08:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 240BC8FC12 for ; Wed, 4 Feb 2009 17:08:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n14H8p1N032248 for ; Wed, 4 Feb 2009 17:08:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n14H8pRE032247; Wed, 4 Feb 2009 17:08:51 GMT (envelope-from nobody) Message-Id: <200902041708.n14H8pRE032247@www.freebsd.org> Date: Wed, 4 Feb 2009 17:08:51 GMT From: Tim Judd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/131370: geom_label needs clarification in docs X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 17:10:03 -0000 >Number: 131370 >Category: docs >Synopsis: geom_label needs clarification in docs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 04 17:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tim Judd >Release: 7.1-RELEASE-p2 >Organization: >Environment: N/A >Description: After trying to alter a ufs label with glabel (and getting Operation not permitted and other nonhelpful errors), I realized that glabel will add/modify labels in the /dev/label/ directory. I was trying to use glabel to clear a /dev/ufs/ label and it was refusing to do it. I suggest modifying the g(eom_)label manpage to reflect that to alter a label, you must use the proper utility to make the change, for example: mkisofs for iso9660 tunefs for ufs glabel for label And the rest as needed. This will clarify that geom_label is only as a method, not a general purpose tool to alter all information. >How-To-Repeat: tunefs -L root /dev/ad0s1a # creates /dev/ufs/root glabel clear root # fails to clear /dev/ufs/root tunefs -L "" /dev/ad0s1a # clears /dev/ufs/root >Fix: See above, how to repeat >Release-Note: >Audit-Trail: >Unformatted: