Page MenuHomeFreeBSD

Add an optional step to set the keyboard map when dropping to single user mode
ClosedPublic

Authored by bcr on Oct 3 2014, 5:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 19 2023, 9:45 PM
Unknown Object (File)
Nov 6 2023, 9:05 PM
Unknown Object (File)
Oct 24 2023, 9:50 AM
Unknown Object (File)
Oct 12 2023, 8:01 AM
Unknown Object (File)
Oct 5 2023, 8:06 PM
Unknown Object (File)
Sep 20 2023, 2:13 AM
Unknown Object (File)
Sep 17 2023, 9:47 PM
Unknown Object (File)
Jul 10 2023, 3:59 AM
Subscribers

Details

Summary

In section "Procedure 24.2. Overview of Build World Process" it does not explain how users can set a different keyboard map. The standard is US english, but some users might prefer a different keyboard map. Unfortunately, this can not be set right away when dropping into single user mode, only after the "mount -a" commands (either from UFS or ZFS) have been issued. I added a small optional step (do we have markup for these?) right after the filesystems have been mounted and kbdmap(1) becomes available.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bcr retitled this revision from to Add an optional step to set the keyboard map when dropping to single user mode.
bcr updated this object.
bcr edited the test plan for this revision. (Show Details)
bcr added a reviewer: Doc Committers.
bcr set the repository for this revision to rD FreeBSD doc repository - subversion.

Does mount -a work for ZFS if it is not in /etc/fstab? Might need to do 'zfs mount -a'

If you are using UFS with a single partition, does it work without mount -a? or is it that it needs to write to /?

Well, the current version at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
has two descriptions: one for UFS and ZFS and both seem fine to me.
Anyhow, that is not the issue that I wanted to discuss here. The whole chapter might need some work, but for now, I just wanted to get the kbdmap into the installworld steps.

wblock added inline comments.
chapter.xml
1481 ↗(On Diff #1877)

s/english/English/

1482 ↗(On Diff #1877)

The "optional" above says that this step can be skipped, so it does not need to be repeated here.

1485 ↗(On Diff #1877)

It seems like this can be a lot shorter:

<para>If a keyboard mapping other than the default of US English is desired, it can be changed with &man.kbdmap.1;:</para>

1491 ↗(On Diff #1877)

This sentence does not seem necessary.

bcr edited the test plan for this revision. (Show Details)

Good comments, Warren. I've cut down the section as you recommended. That way, the whole section in the chapter looks like a quickstart, but does contain enough information to get know what's going on.

Can I go ahead committing this latest change?

wblock added a reviewer: wblock.

Looks good to me, although I have only looked at the patch and not the built document.

This revision is now accepted and ready to land.Oct 5 2014, 3:32 PM

Patch committed, thanks for your feedback!