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

Details

Description:
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 https://github.com/archlinux/arch-install-scripts/blob/eef029adcc5460e4a3d9e598f4502941a4b5fa9c/common#L35-L47. 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

Loading...