[systemd-devel] [PATCH 3/3] shutdown: pivot_root to a tmpfs directory to properly umount root

Gustavo Sverzut Barbieri barbieri at profusion.mobi
Thu May 5 06:55:09 PDT 2011


On Thu, May 5, 2011 at 7:48 AM,  <harald at redhat.com> wrote:
> From: Harald Hoyer <harald at redhat.com>
>
> umount /boot
> mount a tmpfs on /boot
> mount bind all needed dirs
> pivot_root to /boot
> umount all mountpoints as before
> see root be umounted properly and all dm devices deconstructed

Some systems don't have /boot on different partitions, so this is not
what you expect. Mabe use newly introduced /run?

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202


More information about the systemd-devel mailing list