Messages in this thread | | | From | Neil Brown <> | Date | Wed, 23 Nov 2005 13:07:28 +1100 | Subject | pivot_root broken in 2.6.15-rc1-mm2 |
| |
Pivot_root seems to be broken in 2.6.15-rc1-mm2.
I havea initramfs filesystem, mount a ext3 filesystem (which has /mnt) at '/root' and
cd /root pivot . mnt
and it says -EINVAL.
After putting in copious tracing printk, the offending test is:
if (user_nd.mnt->mnt_parent == user_nd.mnt) goto out2; /* not attached */
If I remove this, it works (or seems to). Presumably the initial root file system is 'not attached'. But that shouldn't be a problem, should it?
Could this be related to the new shared mounts stuff???
NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |