fstab - bunnyamin/bunnix GitHub Wiki

File Systems Table

List all mounted points:

  • cat /proc/mounts
  • findmnt -A

Generate fstab to stdout:

  • genfstab -U <root> | cat

Generate fstab: genfstab -U <root> >> /etc/fstab

If the genstab is created in the system then strange entries are added, for example,

  • # resolveconf \n resolve.conf /etc/resolveconf ...
  • # tracefs \n tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec 0 0

Ensure that options are provided for the basic devices or paths, such as /boot and /.

⚠️ **GitHub.com Fallback** ⚠️