Re: Help me understand glabel

From: Ivan Voras <ivoras_at_freebsd.org>
Date: Tue, 28 Apr 2009 23:34:33 +0200
2009/4/28 Diego Depaoli <trebestie_at_gmail.com>:
> 2009/4/28 Ivan Voras <ivoras_at_freebsd.org>:
>> 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?
Received on Tue Apr 28 2009 - 20:00:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC