-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fscrypt man page #10
Labels
Comments
On 07/13/2017 04:03 AM, Joseph Richey wrote:
Is this <http://www.linuxhowtos.org/System/creatingman.htm> a good place
to get started on writing a man page?
That's a fine place to start if one simply wants to write raw groff.
There's nothing wrong with that and it is probably the simplest solution.
There are tools that convert other formats, such as pod, Markdown, RST,
etc., into man pages but most of them seem to pull in too many unrelated
build dependencies (Perl for pod2man, Ruby for ronn, Python for rst2man)
for a Go/C project.
Also, the ecryptfs man pages are spread throughout many sections. The
root page is in section 7 <https://linux.die.net/man/7/ecryptfs> but
some components are in section 1
<https://linux.die.net/man/1/ecryptfs-add-passphrase> or section 8
<https://linux.die.net/man/8/pam_ecryptfs>. Should I just put everything
in section 8 or split things up accordingly?
The man page for the fscrypt tool should go into section 8. If you plan
to write additional man pages, it'll depend on what they're documenting.
The man(1) man page gives a decent summary of which sections should be used.
I wouldn't necessarily follow the lead of ecryptfs-utils man pages but
they're a fairly good reference.
|
Below is the basic plan for man page entries. After they are completed, a good amount of the documentation in
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fscrypt tool should have a man page so that users can easily and locally find more information on how to use fscrypt. The man page should probably live in section 8 since fscrypt is mostly a system administration tool.
The text was updated successfully, but these errors were encountered: