[systemd-devel] use /run instead of /dev/.run

microcai microcai at fedoraproject.org
Mon Mar 28 06:02:24 PDT 2011


/dev/.run is just fine, and /dev is tmpfs backend, so that is fast.
/var is not tmpfs backend.

2011/3/28 Ludwig Nussel <ludwig.nussel at suse.de>:
> Bill Nottingham wrote:
>> Andrey Borzenkov (arvidjaar at gmail.com) said:
>> > On Fri, Mar 25, 2011 at 7:07 AM, Kay Sievers <kay.sievers at vrfy.org> wrote:
>> > > Instead of the /dev/.run trick we have currently implemented, we decided
>> > > to move the early-boot runtime dir to /run.
>> > >
>> >
>> > What is the benefit? /var/run is well known and established; what is
>> > the reason to move it in another place?
>>
>> /var/run depends on /var, which is allowed to be a separate filesystem, and
>> therefore not available during all portions of the boot process or shutdown.
>
> mount --bind /var/run /mnt
> mount /var
> mount -M /mnt /var/run
>
> cu
> Ludwig
>
> --
>  (o_   Ludwig Nussel
>  //\
>  V_/_  http://www.suse.de/
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


More information about the systemd-devel mailing list