Skip to content

chroot.md: In fstab, don't set all fs_passno entries to 1 or 2 #648

@camoz

Description

@camoz

The docs in chroot.md tell to setup fstab by copying /proc/mounts and then modifying it.

They advise to:

Change the last zero of the entry for / to 1, and the last zero of every other line to 2. These values configure the behaviour of fsck(8).

This is generally not desired for btrfs and xfs filesystems, see fsck.btrfs(8) and
fsck.xfs(8). In addition, f2fs currently seems to have problems with its fsck, so it should be set to 0 here as well (which is what the void-installer is currently doing if it's a root FS).

I also created a PR for the void-installer regarding this: void-linux/void-mklive#229

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions