shithub: front

Download patch

ref: 230c75f31f8f27a589f865587bb4ea368371e5af
parent: d6229fafff96c77ff8d5c2758fd8436950559fe4
author: Ori Bernstein <ori@eigenstate.org>
date: Sat May 31 14:19:58 EDT 2025

gefs: document '-c' flag

while it's mostly used for testing, it can be useful when
debugging broken file systems.

--- a/sys/man/4/gefs
+++ b/sys/man/4/gefs
@@ -4,7 +4,7 @@
 .SH SYNOPSIS
 .B gefs
 [
-.B -A
+.B -ASsc
 ]
 [
 .B -r
@@ -26,12 +26,6 @@
 .B -a
 .I ann
 ] ...
-[
-.B -S
-]
-[
-.B -s
-]
 .SH DESCRIPTION
 .PP
 .I Gefs
@@ -64,6 +58,9 @@
 .BI "-a " ann
 Announce and listen on the specified network address.
 .TP
+.B -c
+Check the integrity of the file system and exit.
+.TP
 .BI "-f " file
 Use
 .I file
@@ -71,6 +68,8 @@
 .TP
 .B -g
 Grow the file system to fill the current partition.
+When the file system has been grown, exit.
+This must not be run on a mounted file system.
 .TP
 .BI "-m " mem
 Specify the amount of memory to use as cache.
@@ -101,7 +100,6 @@
 After reaming,
 .I gefs
 will exit.
-.TP
 .B -S
 Allow permissive mounts for all users.
 Additionally, if the user file is unreadable, fall back to the default user table.
--