Bug#652459: Bug#697002: jessie: -R skips check of /etc and /usr in addition to /
On Tue, 05 Aug 2014 at 08:20:17 +0100, Simon McVittie wrote:
> On Thu, 13 Feb 2014 at 10:02:59 +0000, Roger Leigh wrote:
> > I didn't realise this patch [hadn't] been applied yet. It's the
> > first bit of the mounting /usr in the initramfs work.
I was curious how systemd solved this. It's very simple: its equivalent
of checkfs.sh (systemd-fsck@.service) runs something like
"/lib/systemd/systemd-fsck /usr", which runs "fsck -M /usr", which
exits 0 with no effect if /usr is already mounted. Job done.
So maybe checkfs.sh (in initscripts) should just use -M instead of -R,
and then everything is good, with only changes to initramfs-tools
and initscripts, and no util-linux changes?
S
Reply to: