-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-23 23:22, Paul Neuwirth wrote:
On Friday 2016-12-23 23:19, Carlos E. R. wrote:
why is it possible for ext[234] and not for XFS and btrfs, why not just put the suitable fsck into the initrd?
In the case of xfs, there is no... wait, look for yourself: minas-tirith:~ # file /usr/sbin/fsck.xfs /usr/sbin/fsck.xfs: POSIX shell script, ASCII text executable and that script simply bails out and tells you to use something else, manually. If you try to do an automatic check, which is what the init would do, it bails out with success status. /usr/sbin/fsck.btrfs is another script, which does even less: minas-tirith:~ # cat /usr/sbin/fsck.btrfs #!/bin/sh exit 0 minas-tirith:~ # So the conclusion is that it is impossible. Why the filesystems devs do not make it possible, I do not know. I expect the "mount" to do a quick check and bail out in the case of problems, with a message. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhdwX8ACgkQja8UbcUWM1yGRgEAgVYvKD7Wri6J75gmnRzN68e1 DBNah8Rf78WuF8KjchcA/javLOtXPR7uCZkg1/v7THwQNG2fNifoGMNC6cYNvWTw =WGtN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org