GENFSTAB(8)
πΈ GENFSTAB(8) β like, the genfstab manual page, bestie π
okay so this is the page for genfstab from section 8 of the manual (that's the sysadmin-ish section, iykyk), and honestly? she's a lil legend. let's get into it β¨
β¨ NAME β¨
genfstab β generates output that's suitable for adding to an fstab file π
π¦ SYNOPSIS π¦
genfstab [options] root
like. that's it. that's the whole vibe check. options are optional (shocking, i know), and root is the mountpoint you're pointing her at π
π DESCRIPTION π
so genfstab is out here helping you fill in an fstab file, and the way she does it is genuinely iconic: she autodetects all the current mounts sitting below a given mountpoint, and then prints them out in fstab-compatible format straight to standard output. no cap. π«Ά
real talk though β this is how you persist a filesystem hierarchy you mounted by hand. like, you did all that work mounting stuff manually, and now you want it to still be there after a reboot? that's her whole job. she's also super commonly used during the initial install and configuration of an OS, which, periodt. π
π OPTIONS π
-f<filter>β restricts the output so you only get mountpoints that match the prefix filter. lowkey a little picky, but in a cute way πΈ-Lβ uses labels for source identifiers. this is literally just a shortcut for-t LABELβ¨-pβ excludes pseudofs mounts. and yes, this is the default behavior, so she's already doing it. she's thoughtful like that π-Pβ includes pseudofs mounts. the opposite of-p, bestie. main character energy only π-t<tag>β uses tag for source identifiers (should be one of:LABEL,UUID,PARTLABEL,PARTUUID). those are the four, and she said what she said π-Uβ uses UUIDs for source identifiers. shortcut for-t UUID, slay π-hβ outputs the syntax and command line options. your classic lil help flag π¦
no drama here, but do clock that-thas a "should be one of" list β stick toLABEL,UUID,PARTLABEL,PARTUUIDand everything's gonna be fine and gorgeous β
π§ SEE ALSO π§
pacman(8)β go say hi π
and that's the whole page, bestie!! π this was the genfstab(8) manual, dated 10/11/2026 β go forth and fstab responsibly, mwah ππ₯
π¦ where this page comes from
- arch rolling: arch-install-scripts 32-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms