mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 08:15:28 +02:00
genfstab: update page (#16407)
This commit is contained in:
parent
1cc206bb94
commit
82bdc964ca
1 changed files with 16 additions and 12 deletions
|
@ -1,20 +1,24 @@
|
|||
# genfstab
|
||||
|
||||
> Arch Linux install script to generate output suitable for addition to an fstab file.
|
||||
> More information: <https://manned.org/genfstab.8>.
|
||||
> Generate output suitable for addition to the `/etc/fstab` file.
|
||||
> More information: <https://manned.org/genfstab>.
|
||||
|
||||
- Display an fstab compatible output based on a volume label:
|
||||
|
||||
`genfstab -L {{path/to/mount_point}}`
|
||||
|
||||
- Display an fstab compatible output based on a volume UUID:
|
||||
|
||||
`genfstab -U {{path/to/mount_point}}`
|
||||
|
||||
- A usual way to generate an fstab file, requires root permissions:
|
||||
- Generate the `/etc/fstab` file using volume UUIDs during an Arch Linux installation (requires root permissions):
|
||||
|
||||
`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}`
|
||||
|
||||
- Append a volume into an fstab file to mount it automatically:
|
||||
- Display fstab-compatible output based on volume labels:
|
||||
|
||||
`genfstab -L {{path/to/mount_point}}`
|
||||
|
||||
- Display fstab-compatible output based on volume UUIDs:
|
||||
|
||||
`genfstab -U {{path/to/mount_point}}`
|
||||
|
||||
- Display fstab-compatible output based on the specified identifier:
|
||||
|
||||
`genfstab -t {{LABEL|UUID|PARTLABEL|PARTUUID}}`
|
||||
|
||||
- Append a volume into the `/etc/fstab` file to mount it automatically:
|
||||
|
||||
`genfstab -U {{path/to/mount_point}} | sudo tee -a /etc/fstab`
|
||||
|
|
Loading…
Add table
Reference in a new issue