Re: pivot_root broken in 2.6.15-rc1-mm2

From: Nix
Date: Fri Nov 25 2005 - 06:53:25 EST


On 23 Nov 2005, Rob Landley gibbered uncontrollably:
> Rather than unmounting rootfs, it deletes everything out of it to free up the
> space. (It basically does the functional equivalent of "find / -xdev | xargs
> rm -rf"

Er, find / -xdev | xargs rm -f, I hope.

(rm won't respect the -xdev you gave to find, and, well, if your new root is
mounted at all, you're dead :) )

--
`Y'know, London's nice at this time of year. If you like your cities
freezing cold and full of surly gits.' --- David Damerell

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/