Page MenuHomeFreeBSD

Updating glabel.8 man page
Needs RevisionPublic

Authored by freebsd_ny-central.org on Mar 16 2024, 8:04 PM.
Referenced Files
F83590008: D44394.diff
Sun, May 12, 8:36 AM
F83589984: D44394.diff
Sun, May 12, 8:35 AM
Unknown Object (File)
Thu, May 9, 8:08 PM
Unknown Object (File)
Thu, May 9, 12:02 PM
Unknown Object (File)
Tue, May 7, 4:20 PM
Unknown Object (File)
Thu, May 2, 2:09 AM
Unknown Object (File)
Sat, Apr 27, 1:32 AM
Unknown Object (File)
Sat, Apr 27, 12:10 AM
Subscribers

Details

Reviewers
jrm
gbe
Group Reviewers
manpages
Summary

PR 276724 indicates that the current glabel man page does not describe the corner case of attempting to set a label on an already mounted partition.

  • Added a paragraph indicating that glabel requires an exclusive lock on the partition
  • Added that any file system first needs to be unmounted for the label to persist across reboot
  • Added that if the affected device node is root, that single user mode with r/o mount will be required

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lib/geom/label/glabel.8
178
179

There's trailing whitespace at the end of the line after file system.

180

Thanks for the reminder and for the feedback. I've fixed the trailing whitespace now.

freebsd_ny-central.org marked an inline comment as done.

Aaand I missed the other two changes. Now added those as well.

gbe added a subscriber: gbe.

LGTM from manpages

This revision is now accepted and ready to land.Sun, May 12, 8:34 AM
gbe requested changes to this revision.Sun, May 12, 8:37 AM

The comments are marked as done but the differential itself doesn't contain them. For example the typo s/hols/holds/.

If they are included I would commit.

This revision now requires changes to proceed.Sun, May 12, 8:37 AM