于 2011年03月28日 22:36, Jan Engelhardt 写道: > On Monday 2011-03-28 16:25, Ludwig Nussel wrote: > >> Kay Sievers wrote: >>> On Mon, Mar 28, 2011 at 13:28, Ludwig Nussel <ludwig.nus...@suse.de> wrote: >>>> Bill Nottingham wrote: >>>>> Andrey Borzenkov (arvidj...@gmail.com) said: >>>>>> On Fri, Mar 25, 2011 at 7:07 AM, Kay Sievers <kay.siev...@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 >>> >>> We would need to make sure that /var/run exists on the rootfs then. We >>> could probably do that on shutdown, but it's not really fun to rely on >>> such things. >> >> If it's not there and / is ro you can put /var on tmpfs temporarily too (or >> even reuse the one for /var/run via bind mount or symlink). > > But sounds more work than it currently is.
And yes, it useless. currently method is just fine. KISS. > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel