git: b90ff465675a - stable/14 - mount.8: Add a single example for single user mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Apr 2025 06:01:59 UTC
The branch stable/14 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=b90ff465675a2c70060a50c8cfa7db12914bf627
commit b90ff465675a2c70060a50c8cfa7db12914bf627
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-04-24 22:04:14 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-04-28 06:01:12 +0000
mount.8: Add a single example for single user mode
The zfs command to do this is a bit longer and harder to remember. In
the last few releases mount(8) learned how to do this, so lets show it
in the manual.
MFC after: 3 days
Reported by: Jan Bramkamp <crest+freebsd@rlwinm.de>
Discussed with: cperciva, emaste
Reviewed by: mhorne
Approved by: mhorne (mentor)
Differential Revision: https://reviews.freebsd.org/D49988
(cherry picked from commit c3e06b23b4174c726d7d0ba131869e4aeee8067d)
---
sbin/mount/mount.8 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 218559a70dcb..0adc5ffc228b 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -547,6 +547,10 @@ for more information.)
.It Pa /etc/fstab
file system table
.El
+.Sh EXAMPLES
+Remount the root filesystem with read-write permissions:
+.Pp
+.Dl mount -uw /
.Sh DIAGNOSTICS
Various, most of them are self-explanatory.
.Pp