🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Holger Wansing Sat, 21 Nov 2026 09:10
Bug#1154660: btrfs: no longer use passno=0 in fstab.d, since fsck.btrfs exists thesedays
#5308
Author: Holger Wansing
Date: Sat, 21 Nov 2026 09:10
26 lines
2219 bytes
Package: partman-btrfs
Version: 67
X-Debbugs-CC: Nicholas D Steeves <sten@debian.org>


I found commit c2d2b5e6 [1]
"Set btrfs fstab passno to zero, as there is no btrfs fsck scripts."

But we have fsck.btrfs for years now.
Shouldn't that be changed, to allow for automatic filesystem checks?

Or is there a good reason to still leave them disabled?


Holger


[1]
<https://salsa.debian.org/installer-team/partman-btrfs/-/commit/c2d2b5e64f89c612bd29b5b38e83c79a6522dc69>




-- 
Sent from /e/ OS on Fairphone3
Bug#1154660: btrfs: no longer use passno=0 in fstab.d, since fsck.btrfs exists thesedays
#5310
Author: Pascal Hambourg
Date: Sat, 21 Nov 2026 09:20
28 lines
2805 bytes
On 21/11/2026 at 10:04, Holger Wansing wrote:
> 
> I found commit c2d2b5e6 [1]
> "Set btrfs fstab passno to zero, as there is no btrfs fsck scripts."
> 
> But we have fsck.btrfs for years now.
> Shouldn't that be changed, to allow for automatic filesystem checks?
> 
> Or is there a good reason to still leave them disabled?

 From fsck.btrfs(8) man page:

NAME
        fsck.btrfs - do nothing, successfully

SYNOPSIS
        fsck.btrfs [-aApy] [<device>...]

DESCRIPTION
        fsck.btrfs  is  a  type of utility that should exist for any
        filesystem and is called during system setup when
        the corresponding /etc/fstab entries contain non-zero value for
        fs_passno, see fstab(5) for more.

        Traditional filesystems need to run their respective fsck utility
        in case the  filesystem  was  not  unmounted
        cleanly  and the log needs to be replayed before mount. This is
        not needed for BTRFS. You should set fs_passno to 0.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads