On Sun, Mar 17, 2013 at 01:56:22PM +0100, Nis Martensen wrote: > On Fri, Mar 01, 2013 at 07:50:37AM +0100, Daniel Baumann wrote: > > works with systemd, it's sysvinit specific. > > Systemd skips the root file system check if the major device number of > the root file system is 0 (which is what btrfs reports): > http://cgit.freedesktop.org/systemd/systemd/tree/src/fsck/fsck.c#n297 > > The same could be done in sysvinit. Possible (untested) patch attached.
Thanks for the patch. This will have to be deferred until after wheezy is released, but if we have to work around the btrfs fsck issues in this way, it looks like a reasonable approach. I would hope however that this would not be necessary, and that the btrfs fsck will become compatible with the standard /sbin/fsck options and behaviour, including being able to fsck a read-only mount, or else some users of btrfs won't be able to check their filesystems. Daniel, if you haven't done do already, it would be great if these issues could be brought to the attention of the upstream developers. As it stands, fsck.btrfs is not a compatible fsck, and this will break any tool expecting it to work like /sbin/fsck, not just sysvinit. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org