Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Ext4 data corruption trouble
Posted Oct 24, 2012 21:36 UTC (Wed) by nix (subscriber, #2304)
Raw umount(8) does a toposort unmount as well. It is not enough.
Posted Oct 24, 2012 22:00 UTC (Wed) by tomegun (subscriber, #56697)
In that case systemd will jump back to the initramfs on shutdown, and the initramfs will then try to kill/unmount whatever processe/mounts remains in the rootfs.
Posted Oct 25, 2012 11:16 UTC (Thu) by nix (subscriber, #2304)
Worse yet, what if you have processes in other PID namespaces, holding open filesystems in other filesystem namespaces? The initramfs can't even see them! *No* umount loop can fix that. I hate adding new syscalls, but I really do think we need a new 'unmount the world' syscall which can cross such boundaries :(
Posted Oct 25, 2012 12:50 UTC (Thu) by rleigh (subscriber, #14622)
Posted Oct 25, 2012 13:31 UTC (Thu) by nix (subscriber, #2304)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds