From owner-freebsd-current@FreeBSD.ORG Tue Apr 28 22:32:02 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F0A41065674; Tue, 28 Apr 2009 22:32:02 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id D19E88FC2A; Tue, 28 Apr 2009 22:32:01 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: by fxm6 with SMTP id 6so842767fxm.43 for ; Tue, 28 Apr 2009 15:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ktfWJyDcb759rajQJLZorTxYhj8EIsAMl4KuXawZbN8=; b=P9y/oVmtlwzZaI8fOZSoX5Q/qzfetK074xQLWDH7rJ/sltG4X4wCrlq8PY91xJMF1H AoQ1OSbyX2+aU4vm1HJVYw/a26npER1zxx+khNcvAvJgAf5R30eenz/aYiERvFdl7Jsl ywnmlGjwj6P4tztwyWZRGfoVLJSLt6zKfiAK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hn22ZJxInqS/FQPYGAb0YYYjfe4ZC/q98cUD5MwFsDga7do0oYgMmCEi2+x8qPiHQX aapANr7uvp8XTXX84w3xbeqtOBQ7LZnME+Gp3o6KLkRKDOtli0mA5PpBfuqBxOGwVIy2 CD38pBo1nifQ2fB8z3K43Yz9daSglMG9fHUDM= MIME-Version: 1.0 Received: by 10.223.105.72 with SMTP id s8mr2453587fao.9.1240957920831; Tue, 28 Apr 2009 15:32:00 -0700 (PDT) In-Reply-To: <9bbcef730904281434v19a11429kf194f058b083eeee@mail.gmail.com> References: <83e5fb980904281109k23dac4d3head2e6f65235f5ea@mail.gmail.com> <83e5fb980904281405o6108524dh4cc288facf18891b@mail.gmail.com> <9bbcef730904281434v19a11429kf194f058b083eeee@mail.gmail.com> Date: Tue, 28 Apr 2009 22:32:00 +0000 Message-ID: <83e5fb980904281532j3da48c3gc9021ddb52c2874a@mail.gmail.com> From: Diego Depaoli To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Help me understand glabel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 22:32:02 -0000 2009/4/28 Ivan Voras : > > Glabel is a "read-only" tool (i.e. it only reads existing labels) in > all but one case: it can create a special type of labels not related > to file systems. It has nothing to do with "tunefs -L". Understood. I suggest a better explanation on the handbook. > But is that your original problem? If you have all three labels > pointing to the same file system (glabel, UFS volume label, UFS ID > label), you actually have 4 /dev entries pointing to the same device? Actually only 2 This is the output of my dmesg | grep GEOM GEOM_LABEL: Label for provider ad4s1 is ntfs/master. GEOM_LABEL: Label for provider ad4s4a is label/rootamd64. GEOM_LABEL: Label for provider ad4s4a is ufsid/49e99a08b75f8e02. GEOM_LABEL: Label for provider ad4s4d is label/varamd64. GEOM_LABEL: Label for provider ad4s4d is ufsid/49e99a09096f9933. GEOM_LABEL: Label for provider ad4s4e is label/tmpamd64. GEOM_LABEL: Label for provider ad4s4e is ufsid/49e99a0807d6e8cc. GEOM_LABEL: Label for provider ad4s4f is label/usramd64. GEOM_LABEL: Label for provider ad4s4f is ufsid/49e99a084d314fd2. GEOM_LABEL: Label for provider ad6s2 is label/homebsd. GEOM_LABEL: Label for provider ad6s2 is ufsid/47f7a96c87b497e3. GEOM_LABEL: Label for provider ad6s3 is ntfs/Dat. GEOM_LABEL: Label for provider ad6s4 is ext2fs/DataShared ... as you see ntfs and ext2fs volumes are listed once, ufs twice. I think hal tries to mount all these devices giving me a lot of errors. Before glabeling disks hal showed ufsid, now, undecided between ufsid and label, shows a generic disk-XX. I was looking for a way to get more descriptive labels to avoid misunderstanding under nautilus or dolphin (e.g. usrbsd instead of Volume 20GB), but now I'm worse than before. Cheers -- Diego Depaoli