Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Thomas Bächler
Am 01.10.2013 02:58, schrieb Lennart Poettering: Originally the intention was that root-fsck.service would run fsck for the root device, anf fsck@.service would be used for the rest. The difference is mostly one about ordering, i.e. root-fsck.service is the only one that is fine with the fs

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Oct 04, 2013 at 11:34:44AM +0200, Thomas Bächler wrote: Am 01.10.2013 02:58, schrieb Lennart Poettering: Originally the intention was that root-fsck.service would run fsck for the root device, anf fsck@.service would be used for the rest. The difference is mostly one about ordering,

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Thomas Bächler
Am 04.10.2013 13:52, schrieb Zbigniew Jędrzejewski-Szmek: Colin had the great idea that we drop mask root-fsck.service in /run/systemd/system/ when we run fsck in initrd. For example, the initrd generator could add a service to the initrd that creates the symlink and a .d snippet that makes

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-01 Thread Thomas Bächler
Am 01.10.2013 02:58, schrieb Lennart Poettering: Now, if we have the initrd, then I figure root-fsck.service doesn't make much sense, but there's something missing I think: if we use fsck@.service for the root device, how do we then communicate to the root-fsck.service on the host that the

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-01 Thread Colin Guthrie
'Twas brillig, and Thomas Bächler at 01/10/13 10:18 did gyre and gimble: Am 01.10.2013 02:58, schrieb Lennart Poettering: Now, if we have the initrd, then I figure root-fsck.service doesn't make much sense, but there's something missing I think: if we use fsck@.service for the root device, how

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-01 Thread Thomas Bächler
Am 01.10.2013 12:15, schrieb Colin Guthrie: 'Twas brillig, and Thomas Bächler at 01/10/13 10:18 did gyre and gimble: Am 01.10.2013 02:58, schrieb Lennart Poettering: Now, if we have the initrd, then I figure root-fsck.service doesn't make much sense, but there's something missing I think: if

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-09-30 Thread Lennart Poettering
On Mon, 30.09.13 00:32, Thomas Bächler (tho...@archlinux.org) wrote: diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 9efccb9..6cecb4e 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -449,7

[systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-09-29 Thread Thomas Bächler
--- src/fstab-generator/fstab-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 9efccb9..6cecb4e 100644 --- a/src/fstab-generator/fstab-generator.c +++