From owner-freebsd-current@FreeBSD.ORG Tue Apr 28 22:00:30 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 D8E90106566B for ; Tue, 28 Apr 2009 22:00:30 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 40C948FC12 for ; Tue, 28 Apr 2009 22:00:29 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by ewy19 with SMTP id 19so859658ewy.43 for ; Tue, 28 Apr 2009 15:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=j1PFrEjt+d0WfKHfyCtuAoSY/KWB0i/Oy4NdplMEnhA=; b=g6ca4age4rcPBF+3BRyafE05DrOS9VfivKRWIlIZjkTnnj/K+v9sIc84BnpKMG7+Yp n2yFn/EY0EcvyFi6PKHGZChEqv0234WVGBfO3XNOepKqsoQhldD0M0M2nwEPdacAleVk oV5KwK3n0isv0tKXghia9DhNXHZSfBZqAEL8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=SwRTGMYhkqwyFZXyvH3quCZMyrjTtcY35xNgNnl8aOEdXtSPsrgTWO2Q2CSbbdcVcI LpvAtRnUZJTk27FMw37UasVH5l4/8PXWor1JTKmzhJdcFBaStqtOywpO4gnQhNkLXP36 tdfufMGAocmDUN7n9DX2Um4PyA0zWLS713EeI= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.210.10.8 with SMTP id 8mr7842855ebj.20.1240954493107; Tue, 28 Apr 2009 14:34:53 -0700 (PDT) In-Reply-To: <83e5fb980904281405o6108524dh4cc288facf18891b@mail.gmail.com> References: <83e5fb980904281109k23dac4d3head2e6f65235f5ea@mail.gmail.com> <83e5fb980904281405o6108524dh4cc288facf18891b@mail.gmail.com> From: Ivan Voras Date: Tue, 28 Apr 2009 23:34:33 +0200 X-Google-Sender-Auth: 76b2dedbd6a640ff Message-ID: <9bbcef730904281434v19a11429kf194f058b083eeee@mail.gmail.com> To: Diego Depaoli Content-Type: text/plain; charset=UTF-8 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:00:31 -0000 2009/4/28 Diego Depaoli : > 2009/4/28 Ivan Voras : >> Diego Depaoli wrote: >> >>> Now glabel list shows each entry twice under /dev/label and under >>> /dev/ufsid so hal is a bit confused. >>> It is normal or I were wrong? >> >> Your problem is that hal cannot figure out that two labels point to the >> same device? > So how was it dealing with it before, when you had the >> device/partition itself (i.e. /dev/ad0s1a) and its specific volume label? > > So, glabel it's not a way to assign a specific volume label? > Reading the handbook it looks like glabel label is an 'alias' for tunefs -L. 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". 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?