diff options
| author | 2018-08-28 19:55:01 -0400 | |
|---|---|---|
| committer | 2018-08-28 19:55:01 -0400 | |
| commit | 9729ee4cc92e67fd41509505f90f2487236689f7 (patch) | |
| tree | 9f73a619018c6ce302a563c1b67e63769fdfc0bb /debian/genfstab.adoc | |
| parent | 1f2387b88802d6eef8e69c3daf67d625a8a052f5 (diff) | |
d/arch-chroot.adoc, d/control, d/genfstab.adoc, d/manpages, d/rules: Write manpages for the scripts and use asciidoctor to generate final output.
Diffstat (limited to 'debian/genfstab.adoc')
| -rw-r--r-- | debian/genfstab.adoc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/genfstab.adoc b/debian/genfstab.adoc new file mode 100644 index 0000000..9f2f35e --- /dev/null +++ b/debian/genfstab.adoc @@ -0,0 +1,46 @@ +genfstab(1) +=========== +:doctype: manpage + +NAME +---- +genfstab - script to generate an fstab file based on mounted partitions + + +SYNOPSIS +-------- +*genfstab* ['options'] 'root' + + +OPTIONS +------- +*-f* 'FILTER':: + Restrict output to mountpoints matching the prefix FILTER +*-L*:: + Use labels for source identifiers (shortcut for '-t LABEL') +*-p*:: + Exclude pseudofs mounts (default behavior) +*-P*:: + Include pseudofs mounts +*-t* 'TAG':: + Use TAG for source identifiers +*-U*:: + Use UUIDs for source identifiers (shortcut for '-t UUID') +*-h*:: + Print the help message + + +DESCRIPTION +----------- +One can use genfstab to generate fstab entries for mounted partitions given a filesystem root. +This can be useful when installing or chrooting into a broken installation. + + +EXAMPLES +-------- + +To generate an fstab file using UUIDs as identifiers, run: + +``` +genfstab -U /media/testing >> /media/testing/etc/fstab +``` |
