How to predict drive number change for 7.3->8.1 upgrade?

Michael Sperber sperber at deinprogramm.de
Fri Sep 17 14:35:55 UTC 2010


"Marat N.Afanasyev" <amarat at ksu.ru> writes:

> you may try the following commands:
>
> sysctl kern.geom.debugflags=16
>
> foreach fs (your-filesystems)
> glabel label your-$fs-label your-$fs-device
> end
>
> echo geom_label_load="YES" >> /boot/loader.conf
> reboot
>
> and see if the labels appear in /dev/label

Is this safe to do?  The man page for glabel seems to imply that glabel
should be used before newfs, and tunefs after newfs.

-- 
Regards,
Mike



More information about the freebsd-stable mailing list