[systemd-devel] [PATCH] Corrected do_switch_root

Colin Guthrie gmane at colin.guthr.ie
Wed May 16 03:46:46 PDT 2012


'Twas brillig, and Harald Hoyer at 16/05/12 11:36 did gyre and gimble:
> Am 16.05.2012 12:14, schrieb Mantas Mikulėnas:
>> On Wed, May 16, 2012 at 1:04 PM,  <harald at redhat.com> wrote:
>>> From: Harald Hoyer <harald at redhat.com>
>>>
>>> do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and
>>> removes the old root recursively.
>>
>> Maybe this should check whether the old root is a tmpfs (rootfs) or a
>> physical filesystem?
>>
> 
> good point and patch is already in the making

:) Yeah I was a little bit nervous about that comment too... Safety
first in this context me thinks :D

Col
-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list