[Pkg-sysvinit-devel] Bug#701956: btrfs can't fsck /run/rootdev on boot
Nis Martensen
nis.martensen at web.de
Sun Mar 17 12:56:22 UTC 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Skip-root-filesystem-check-for-btrfs-file-systems.patch
Type: text/x-diff
Size: 2833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130317/e399b8b3/attachment.patch>
More information about the Pkg-sysvinit-devel
mailing list