Skip to content

Commit da67c19

Browse files
committedJun 5, 2019
doc: add manpages for all programs
1 parent aeab95d commit da67c19

5 files changed

+137
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
arch-chroot
33
genfstab
44
pacstrap
5+
doc/*.8
56
arch-install-scripts-*.tar.gz*

‎Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ BINPROGS = \
77
genfstab \
88
pacstrap
99

10+
MANS = \
11+
doc/arch-chroot.8 \
12+
doc/genfstab.8 \
13+
doc/pacstrap.8
14+
1015
BASH = bash
1116

1217
all: $(BINPROGS) man

‎doc/arch-chroot.8.asciidoc

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
arch-chroot(8)
2+
==============
3+
4+
Name
5+
----
6+
arch-chroot - enhanced chroot command
7+
8+
Synopsis
9+
--------
10+
arch-chroot [options] chroot-dir [command]
11+
12+
Description
13+
-----------
14+
arch-chroot wraps the linkman:chroot[1] command while ensuring that important
15+
functionality is available, e.g. mounting '/dev/', '/proc' and other API
16+
filesystems, or exposing linkman:resolv.conf[5] to the chroot.
17+
18+
If 'command' is unspecified, arch-chroot will launch */bin/bash*.
19+
20+
Options
21+
-------
22+
23+
*-u <user>[:group]*::
24+
Specify non-root user and optional group to use.
25+
26+
*-h*::
27+
Output syntax and command line options.
28+
29+
See Also
30+
--------
31+
32+
linkman:pacman[1]
33+
34+
include::footer.asciidoc[]

‎doc/genfstab.8.asciidoc

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
genfstab(8)
2+
===========
3+
4+
Name
5+
----
6+
genfstab - generate output suitable for addition to an fstab file
7+
8+
Synopsis
9+
--------
10+
genfstab [options] root
11+
12+
Description
13+
-----------
14+
genfstab helps fill in an fstab file by autodetecting all the current mounts
15+
below a given mountpoint and printing them in fstab-compatible format to
16+
standard output. It can be used to persist a manually mounted filesystem
17+
hierarchy and is often used during the initial install and configuration of an
18+
OS.
19+
20+
Options
21+
-------
22+
23+
*-f* <filter>::
24+
Restrict output to mountpoints matching the prefix 'filter'.
25+
26+
*-L*::
27+
Use labels for source identifiers (shortcut for '-t LABEL').
28+
29+
*-p*::
30+
Exclude pseudofs mounts (default behavior).
31+
32+
*-P*::
33+
Include pseudofs mounts.
34+
35+
*-t* <tag>::
36+
Use 'tag' for source identifiers (should be one of: 'LABEL', 'UUID',
37+
'PARTLABEL', 'PARTUUID').
38+
39+
*-U*::
40+
Use UUIDs for source identifiers (shortcut for '-t UUID').
41+
42+
*-h*::
43+
Output syntax and command line options.
44+
45+
See Also
46+
--------
47+
48+
linkman:pacman[1]
49+
50+
include::footer.asciidoc[]

‎doc/pacstrap.8.asciidoc

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
pacstrap(8)
2+
===========
3+
4+
Name
5+
----
6+
pacstrap - install packages to the specified new root directory
7+
8+
Synopsis
9+
--------
10+
pacstrap [options] root [packages...]
11+
12+
Description
13+
-----------
14+
pacstrap is designed to create a new system installation from scratch. The
15+
specified packages will be installed into a given directory after setting up
16+
some basic mountpoints. By default, the host system's pacman signing keys
17+
and mirrorlist will be used to seed the chroot.
18+
19+
If no packages are specified to be installed, the 'base' group will be installed.
20+
21+
Options
22+
-------
23+
24+
*-C* <config>::
25+
Use an alternate config file for pacman.
26+
27+
*-c*::
28+
Use the package cache on the host, rather than the target.
29+
30+
*-G*::
31+
Avoid copying the host's pacman keyring to the target.
32+
33+
*-i*::
34+
Prompt for package confirmation when needed (run interactively).
35+
36+
*-M*::
37+
Avoid copying the host's mirrorlist to the target.
38+
39+
*-h*::
40+
Output syntax and command line options.
41+
42+
See Also
43+
--------
44+
45+
linkman:pacman[1]
46+
47+
include::footer.asciidoc[]

0 commit comments

Comments
 (0)