Page MenuHomeFreeBSD

Updating glabel.8 man page
Needs ReviewPublic

Authored by freebsd_ny-central.org on Mar 16 2024, 8:04 PM.
Referenced Files
Unknown Object (File)
Sat, Apr 27, 1:32 AM
Unknown Object (File)
Sat, Apr 27, 12:10 AM
Unknown Object (File)
Fri, Apr 26, 4:18 AM
Unknown Object (File)
Sun, Apr 14, 5:40 PM
Unknown Object (File)
Mar 22 2024, 4:03 AM
Unknown Object (File)
Mar 19 2024, 8:09 PM
Unknown Object (File)
Mar 19 2024, 4:39 PM
Unknown Object (File)
Mar 18 2024, 4:36 PM
Subscribers

Details

Reviewers
jrm
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.