[systemd-devel] udev vs. nscd vs. /var automount

Michal Soltys soltys at ziu.info
Fri Apr 8 17:16:24 UTC 2016


On 2016-04-08 18:12, Andrei Borzenkov wrote:
> 08.04.2016 18:20, Michael Biebl пишет:
>> 2016-04-08 16:25 GMT+02:00 Michal Soltys <soltys at ziu.info>:
>>> On your root partition keep /var/run symlink to /run - so regardless if /var
>>> is or isn't mounted, the path will be correct. Wouldn't that help ? (unless
>>> I missed something)
>>
>> That only work for late boot though. Consider the case where /var is a
>> separate partition. The symlink will only be available once /var has
>> been mounted, i.e. after local-fs.target.
>>
>
> But the idea was to have link on *root* partition, i.e. before /var is
> mounted.
>

Exactly that was my point. /var being separate partition doesn't change 
the fact it's mounted on some /var somewhere (root partition). And 
there's no issue in having compatibility symlink on underlying 
partition. In both cases - before and after mount - you have working 
access to /run through compatibility link under /var/run -> /run



More information about the systemd-devel mailing list