FreeBSD handbook - error in chapter 18.7 labeling disks devices ?

Christoph Kukulies kuku at kukulies.org
Fri May 8 08:01:17 UTC 2020



> Am 08.05.2020 um 09:52 schrieb Manish Jain <bourne.identity at hotmail.com>:
> 
> 
> 
> On 2020-05-08 13:12, Christoph Kukulies wrote:
>> Is the FreeBSD handbook in errer when saying on page 18.7 in the example box:
>> "Reboot the system, and at the loader(8) <https://www.freebsd.org/cgi/man.cgi?query=loader&sektion=8&manpath=freebsd-release-ports> prompt, press 4 to boot into single user mode. Then enter the following commands:“
>> 4? I see “1“ as the menu entry to get into single user mode.
>>>> Christoph
> 
> 
> I think both you and the handbook are wrong. 2 gets you into single-user mode.
> 


Ooops. :) short term memory failed.

> Manish Jain

The manual is outdated with another respect (but I guess it will be in many places) - don’t want to appear nitpicking though -

The glabel commands in the example on that page all show a verbose message:
# glabel label rootfs /dev/ad0s1a
GEOM_LABEL: Label for provider /dev/ad0s1a is label/rootfs
# glabel label var /dev/ad0s1d
GEOM_LABEL: Label for provider /dev/ad0s1d is label/var
# glabel label usr /dev/ad0s1f
GEOM_LABEL: Label for provider /dev/ad0s1f is label/usr
# glabel label tmp /dev/ad0s1e
GEOM_LABEL: Label for provider /dev/ad0s1e is label/tmp
# glabel label swap /dev/ad0s1b
GEOM_LABEL: Label for provider /dev/ad0s1b is label/swap
# exit

This was not the case with me when I exectired the glabel commands. They silently came with a prompt.
Hope, in this case only the handbook is wrong :)

—
Christoph



More information about the freebsd-questions mailing list