From owner-freebsd-geom@FreeBSD.ORG Wed Jun 28 18:58:20 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92A3716A408 for ; Wed, 28 Jun 2006 18:58:20 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB72B43EC7 for ; Wed, 28 Jun 2006 18:58:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k5SIwDIH024512 for ; Wed, 28 Jun 2006 13:58:15 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44A2D144.2060606@centtech.com> Date: Wed, 28 Jun 2006 13:58:12 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1572/Wed Jun 28 09:49:41 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: GEOM_LABEL: ufs labels coming/going? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 18:58:20 -0000 I just set up some ufs labels (using tunefs -L) for all my partitions, including root (/). When booting, I see something like: [..snip..] Jun 28 10:08:31 neutrino kernel: ad0: 95396MB at ata0-master UDMA33 Jun 28 10:08:31 neutrino kernel: ad0: 195371568 sectors [193821C/16H/63S] 16 sectors/interrupt 1 depth queue Jun 28 10:08:31 neutrino kernel: GEOM: new disk ad0[..snip..] Jun 28 10:08:31 neutrino kernel: ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire [..snip..] Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2a is ufs/root. Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2d is ufs/home. Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2e is ufs/alt. [..snip..] Jun 28 10:08:31 neutrino kernel: Trying to mount root from ufs:/dev/ad0s2a Jun 28 10:08:31 neutrino kernel: start_init: trying /sbin/init Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label ufs/root removed. Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label for provider ad0s2a is ufs/root. Jun 28 10:08:31 neutrino kernel: GEOM_LABEL: Label ufs/root removed. And a listing of /dev/ufs/: $ ls -al /dev/ufs/ total 1 dr-xr-xr-x 2 root wheel 512 Dec 31 1969 . dr-xr-xr-x 6 root wheel 512 Dec 31 1969 .. crw-r----- 1 root operator 0, 106 Jun 28 05:08 alt crw-r----- 1 root operator 0, 105 Jun 28 05:08 home The label is still there: tunefs -p ad0s2a tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root What am I missing? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------