On Tue, Apr 30, 2013 at 03:16:46PM -0700, Andy Lutomirski wrote: > Is there a way to forcibly rename a mountpoint? I can rename a > directory that contains a mountpoint, but even if I bind-mount the > underlying FS, I get EBUSY if I try to rename a mountpoint. This is > annoying -- I want to replace the entire contents of my root partition > by moving the old contents away and moving replacements in, but the > mountpoints get in the way. > > Yes, this is evil, but it seems like the kernel is unnecessarily > preventing my from shooting myself in the foot, and in this case the > shot-in-the-foot is actually the desired effect. Maybe you want "mount --move"? Or pivot_root? --b. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html