| 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[8] |