~ft/public-inbox

Add a manpage v1 PROPOSED

Oliver Lowe: 1
 Add a manpage

 1 files changed, 81 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ft/public-inbox/patches/22693/mbox | git am -3
Learn more about email & git

[PATCH] Add a manpage Export this patch

Not complete or comprehensive but it's a start
---
I was practising reading C and writing documentation so thought I may
as well contribute to a real project. Hope it's useful.
Thanks for your open source work :)

 ext4srv.4 | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)
 create mode 100644 ext4srv.4

diff --git a/ext4srv.4 b/ext4srv.4
new file mode 100644
index 0000000..9d6c32c
--- /dev/null
+++ b/ext4srv.4
@@ -0,0 +1,81 @@
.TH EXT2SRV 4
.SH NAME
ext4srv, mkfs \- ext2, ext3, ext4 file system
.SH SYNOPSIS
.B ext4srv
[
.B -DCR
] [
.B -g
.I groupfile
] [
.B -l
.I resolve
] [
.B -s
.I srvname
]
.PP
.B mkfs
[
.B -M
.I (2|3|4)
] [
.B -L
.I label
] [
.B -b
.I blksize
] [
.B -N
.I numinodes
] [
.B -I
.I inodesz
]
.B device
.SH DESCRIPTION
.I Ext4srv
is a file server that provides read and write access to the Linux
Second, Third and Fourth file systems
with support for journaling and extents.
.PP
The options are:
.TP
.B -D
Write a log of 9P messages to standard error for debugging.
.TP
.B -C
Enable cache write back.
.TP
.B -R
Mount the filesystem as the Unix root user.
.TP
.BI -g " groupfile
Use the Unix-format group file
.I groupfile
for mapping between numeric group-IDs in the ext file system
and strings reported by Plan 9 status inquiries.
.TP
.BI -l " linkmode
If
.I linkmode
is set to "resolve", symbolic links are followed.
The default is "hide".
.TP
.BI -s "  srvname
post a file descriptor named
.I srvname
in the
.B /srv
directory.
The default is
.BR ext4 .
.SH EXAMPLE
.EX
ext4srv
mount /srv/ext4 /n/linux /dev/sdN0/ext4partition
ls -l /n/linux
.EE
.SH AUTHOR
Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
--
2.24.3 (Apple Git-128)