Skip to content

Repository files navigation

cfstabgen

cfstabgen is a lightweight alternative to genfstab

cfstabgen is guaranteed to be faster than genfstab

It scans your mounted devices and swaps, resolves UUIDs or LABELs, and spits out neat fstab entries. You can use this to generate an /etc/fstab


Usage

cfstabgen -U /                             # generate fstab with UUIDs for mounts under /
cfstabgen -L /mnt --output myfstab         # generate fstab with LABELs for mounts under /mnt and save to file
cfstabgen -U / --mount-options noatime     # override mount options instead of "defaults"

On Arch/Arch-based distributions, you are able to clone this repo and run makepkg -s inside it.

License

Copyright (c) 2025 See LICENSE for more information.

About

Minimal fstab generator in C

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages