[systemd-devel] how disable fsck on swap+lvm

Tom Gundersen teg at jklm.no
Fri Feb 18 03:02:15 PST 2011


A little nitpick/question:

On Fri, Feb 18, 2011 at 1:37 AM, Miklos Vajna <vmiklos at frugalware.org> wrote:
> [Unit]
> Description=LVM activation
> DefaultDependencies=no
> After=udev-settle.service
> Before=local-fs.target

Is the Before=local-fs.target really necessary?

Any mounts that will reside on the lvm will already be
Before=local-fs.target, and in the case where automounts are used
instead, I guess we do not want to wait for lvm before local-fs.target
becomes available?

I have the same question about the different fsck services. They
should clearly be Before=*.mount, but wouldn't it be better if they
were not Before=local-fs.service?

Cheers,

Tom


More information about the systemd-devel mailing list