[systemd-devel] [PATCH] fstab-generator: Do not try to fsck non-devices
Thomas Bächler
thomas at archlinux.org
Sat Dec 21 15:56:12 PST 2013
Am 21.12.2013 12:49, schrieb Tom Gundersen:
>> - r = add_fsck(f, what, where, type, passno);
>> - if (r < 0)
>> - return r;
>> + if(is_device_path(what)) {
>> + r = add_fsck(f, what, where, type, passno);
>> + if (r < 0)
>> + return r;
>> + }
>>
>> fprintf(f,
>> "\n"
> Also, how does your patch deal with LABEL= and UUDI=?
This patch mirrors the old behaviour of the (now removed) FsckPassNo
code path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131222/8ba713d8/attachment.pgp>
More information about the systemd-devel
mailing list