Help me understand glabel

Ivan Voras ivoras at freebsd.org
Tue Apr 28 22:00:31 UTC 2009


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?


More information about the freebsd-current mailing list