Re: [SOLVED] pivot_root. unmount old root

2010-03-30 Thread brandlk
By the way, what is the big picture, if you don't mind my asking? Are you trying to eventually achieve a diskless workstation? What is the overall goal here? It's a cluster where machines get booted, shutdown or replaced regularly. So it would be nice to keep the kernel running. K.

Re: pivot_root. unmount old root

2010-03-24 Thread brandlk
The umount command fails with device is busy. privot root and chroot work fine. So everything works except the umount. Interesting. From the example in the man page they obviously expect it to be possible to umount the old root file system. Kill should be able to kill any process

Re: pivot_root. unmount old root

2010-03-23 Thread brandlk
I really wonder in which context this example (and also the other one given in the manpage) could work? Have you sucessfully tried it on your system? No, I've never had occasion to. But where exactly is the failure occuring? Does the mount command fail? Does the pivot_root command fail?