On Fri, Feb 28, 2014 at 11:23:40AM -0500, Phillip Susi wrote: > You really want to tell the user that they aren't going to be able to > write up front. > > I have to say this function was already broken. If the caller > requests write access and that fails, then the call should fail. It > should *not* automatically fall back to read-only without giving any > indication to the caller. If the caller wants to retry for read only, > then it can, and print a warning letting the user know it has switched > to ready only. I agree, implemented. The function does not fallback to read-only mode now -- all has to be controlled by caller. Thanks Maciej for your report! Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html