Bastian Blank wrote: > On Thu, Sep 04, 2008 at 04:39:24PM +0300, Doron Shoham wrote: >> deny allocation of a device which >> which mounted on the same device as rootfs. >> also deny the allocation of swap devices. >> add --allow-mounted flag for overriding this. > > Neither /etc/mtab nor /dev/mounts provides a proper view on the mounted > filesystems. To check the used state you need to try to open it > exclusive. > > Bastian > Can you please explain how to do it? What do you mean by "try to open it exclusive"? Why /dev/mounts does not provides a proper view on the mounted filesystem? As I mentioned before, this patch is very basic one. We'll need to expand it in the future. Thanks, Doron -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |