Hello, Jan. On Thu, Jul 25, 2013 at 07:27:23PM +0200, Jan Kara wrote: > MS_RDONLY will fail even currently (tried that in practice, also see the > check in blkdev_get_by_path()). So such tool should handle that case even > currently. The only somewhat realistic case I'm aware of is if someone uses > UDF on e.g. USB stick, it is created so that Linux doesn't support writing > to it, and then some tool would be mounting it directly via syscall and would > not handle the read-only media case right. But I don't find this likely so > I think it would be worth trying out this approach before we try playing > tricks with dropping write access... Hmm? I see. Yeah, if it's highly unlikely to be noticeable, I think it's a neat approach. No objection from me. Thanks! -- tejun -- 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