Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2020 20:14:43 +0100
From:      Polytropon <freebsd@edvax.de>
To:        RW <rwmaillists@googlemail.com>
Cc:        RW via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: some questions about disk partitioning and filesystems and booting
Message-ID:  <20200215201443.0339bf06.freebsd@edvax.de>
In-Reply-To: <20200215143057.15c1198a@gumby.homeunix.com>
References:  <20200213150229.GC14144@bastion.zyxst.net> <091dd3af-7b99-267f-7d04-541b6d651926@holgerdanske.com> <20200215143057.15c1198a@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Feb 2020 14:30:57 +0000, RW via freebsd-questions wrote:
> On Thu, 13 Feb 2020 20:08:27 -0800
> David Christensen wrote:
> 
> 
> > The most obvious downside is that MBR does not support labels.  So,
> > the FreeBSD boot system uses device node names.  This means I have to
> > ensure that the system drive is always ada0
> 
> You can use glabel to label the drive, or label the
> individual partitions.

Actually, there are several possible methods for labeling:

1. glabel (GEOM label)
   example: /dev/label/usr

2. tunefs label (UFS permanent label)
   example: /dev/ufs/usr

3. UFS-ID
   example: /dev/ufsid/486b6fc16926168e

Sources:

https://www.freebsd.org/doc/handbook/geom-glabel.html

http://www.wonkity.com/~wblock/docs/html/labels.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200215201443.0339bf06.freebsd>