On Fri, 2018-12-21 at 18:54 +0000, Dmitry Bogatov wrote: [...] > * checking of /usr in `checkfs.sh' is performed by `fsck -A'. Any > ideas, how should we tell it to skip /usr?
We already do that since: commit 155bf5e08de00125ba2612834e74751793a363d5 Author: Ben Hutchings <b...@decadent.org.uk> Date: Sun Jan 17 04:16:23 2016 +0000 Add support for mount and fsck of root and /usr by an initramfs > One possible approach is that if sixth field in `/etc/fstab' is `0', > `fsck -A' will ignore corresponding file system, but who have > responsiblity to set it? The pass number in /etc/fstab *must not* be changed, as initramfs-tools will also not run fsck if it is 0. Ben. -- Ben Hutchings It is impossible to make anything foolproof because fools are so ingenious.
signature.asc
Description: This is a digitally signed message part