🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5310

Bug#1154660: btrfs: no longer use passno=0 in fstab.d, since fsck.btrfs exists thesedays

#5310
From: 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.
Technical Details
Message-ID: <O1Pqh-dfbJ-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1PgB-df8k-1@gated-at.bofh.it> <O1PgB-df8k-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.boot
Subject: Bug#1154660: btrfs: no longer use passno=0 in fstab.d, since fsck.btrfs exists thesedays
Date: Sat, 21 Nov 2026 10:20:01 +0100
Message-ID: <O1Pqh-dfbJ-1@gated-at.bofh.it>
References: <O1PgB-df8k-1@gated-at.bofh.it> <O1PgB-df8k-1@gated-at.bofh.it>
X-Original-To: Holger Wansing <hwansing@mailbox.org>, 1154660@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Nov 21 09:19:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Pascal Hambourg <pascal@plouf.fr.eu.org>, 1154660@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-boot@lists.debian.org
X-Debian-Pr-Message: followup 1154660
X-Debian-Pr-Package: partman-btrfs
X-Debian-Pr-Source: partman-btrfs
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: fr
Organization: Plouf !
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003848
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 28
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 10:16:13 +0100
X-Original-Message-ID: <82c1c922-b137-45d1-ab08-d4b7e4278109@plouf.fr.eu.org>
X-Original-References: <02C63371-383F-4E53-B6F0-ED2F69A16C54@mailbox.org> <02C63371-383F-4E53-B6F0-ED2F69A16C54@mailbox.org>