Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71760 - [arch-install-scripts] genfstab doesn't correctly set fs_passno for some filesystems like f2fs

Attached to Project: Arch Linux
Opened by morguldir (morguldir) - Saturday, 07 August 2021, 01:21 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 28 June 2022, 08:56 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Just ran into #FS71611, where the f2fs file system required an fsck check to function properly. The reporter notes that "Even better, past me decided to mount /home with fs_passno 0." which i had as well, but this was probably genfstab's doing, as it doesn't list f2fs as a system with an fsck tool available and sets fs_passno to 0.

Rerunning the generation for the file systems with known fsck tools should be enough, as it hasn't been updated in 8 years Maybe the step could be automated as well.

Additional info:
* Version: arch-install-scripts 24-2

Steps to reproduce:

Mount an f2fs filesystem on a mountpoint (or another file system not in the link above)
Run genfstab on the mountpoint
Note that fs_passno is set to 0 for the f2fs file system.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 28 June 2022, 08:56 GMT
Reason for closing:  Fixed