Skip to content

Commit 82bdc96

Browse files
authored
genfstab: update page (#16407)
1 parent 1cc206b commit 82bdc96

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pages/linux/genfstab.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# genfstab
22

3-
> Arch Linux install script to generate output suitable for addition to an fstab file.
4-
> More information: <https://manned.org/genfstab.8>.
3+
> Generate output suitable for addition to the `/etc/fstab` file.
4+
> More information: <https://manned.org/genfstab>.
55
6-
- Display an fstab compatible output based on a volume label:
6+
- Generate the `/etc/fstab` file using volume UUIDs during an Arch Linux installation (requires root permissions):
7+
8+
`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}`
9+
10+
- Display fstab-compatible output based on volume labels:
711

812
`genfstab -L {{path/to/mount_point}}`
913

10-
- Display an fstab compatible output based on a volume UUID:
14+
- Display fstab-compatible output based on volume UUIDs:
1115

1216
`genfstab -U {{path/to/mount_point}}`
1317

14-
- A usual way to generate an fstab file, requires root permissions:
18+
- Display fstab-compatible output based on the specified identifier:
1519

16-
`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}`
20+
`genfstab -t {{LABEL|UUID|PARTLABEL|PARTUUID}}`
1721

18-
- Append a volume into an fstab file to mount it automatically:
22+
- Append a volume into the `/etc/fstab` file to mount it automatically:
1923

2024
`genfstab -U {{path/to/mount_point}} | sudo tee -a /etc/fstab`

0 commit comments

Comments
 (0)