Re: [systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread Harald Hoyer
On 28.08.2014 15:24, Lennart Poettering wrote: > On Thu, 28.08.14 15:23, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> removes code duplication >> >> also move switch-root to shared > > > Looks good! Please push! Thanks! > > Lennart > pushed, thanks!

Re: [systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread Lennart Poettering
On Thu, 28.08.14 15:23, har...@redhat.com (har...@redhat.com) wrote: > From: Harald Hoyer > > removes code duplication > > also move switch-root to shared Looks good! Please push! Thanks! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel m

[systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread harald
From: Harald Hoyer removes code duplication also move switch-root to shared --- V2: - Removed all references to "/mnt" in switch_root() and the bogus comment. V3: - moved switch-root.[ch] to shared - added switch to mount MS_MOVE or MS_BIND the old dirs V4: - mkdir_p_label() in switch_root() V