bios disk numbers and device names

Paul Mather paul at gromit.dlib.vt.edu
Mon Nov 29 17:57:42 PST 2004


On Mon, 2004-11-29 at 15:06 +0100, Andrea Campi wrote:

> The manpage explains it all, and that's all I know as well. glabel
> specifies a transient label, i.e. it's not saved on the disk, so you
> loose it on reboot or if the disk goes away.

Glabel can create both transient and permanent labels: "glabel create
label provider" is transient; "glabel label label provider" is
permanent.  In the latter case, the label metadata is stored in the last
sector of "provider."  If geom_label is built into the kernel, or loaded
as a kernel module at boot (e.g., via /boot/loader.conf) then labelled
providers will be automagically discovered and /dev/label/... entries
created during boot.  In this way, devices can be given logical labels
that will stick with them when they move around.

Cheers,

Paul.
-- 
e-mail: paul at gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa


More information about the freebsd-stable mailing list