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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to