[Pkg-sysvinit-devel] Bug#697002: [PATCH sysvinit] Add support for mount and fsck of root and /usr by an initramfs

Ben Hutchings ben at decadent.org.uk
Sun Jan 17 14:25:52 UTC 2016


On Sun, 2016-01-17 at 15:17 +0100, Petter Reinholdtsen wrote:
> [Ben Hutchings]
> > > This file name seem a bit misleading, as I would read it to mean
> > > initramfs ask for fsck on the root, not initramfs already did fsck on
> > > the root.  What about /run/initramfs/skip-fsck-root or something like
> > > that instead?
> > 
> > initramfs-tools already creates that file.
> 
> Aha.  What it is used for?  Who are using the file today?

systemd looks for it:

/lib/systemd/system/systemd-fsck-root.service:ConditionPathExists=!/run/initramfs/fsck-root

> I suspect
> that fact that the code to create it already is in initramfs-tools does
> not affect the amount of confusion its name will cause.  Do you agree
> with my observation about the name being a bit misleading, or do you
> find it to be a good and non-confusing name?  Should it be renamed or
> kept the way it is?

I don't agree with you.  Its meaning is documented in the initramfs-
tools manual page.

Ben.

-- 
Ben Hutchings
Theory and practice are closer in theory than in practice.
                                - John Levine, moderator of comp.compilers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20160117/b7e838de/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list