On mount failing, it would be nice to have a similar facility. We already return IMOUNT_ERR_OTHER there, but we have no information about what the problem really is. There's the status code right there, but that's not at all exposed outside the function and I really don't want to introduce some sort of crazy isys errno. So, any clever ideas?
this is my idea: introduce more granular error codes instead of IMOUNT_ERR_OTHER (or at least the one I'm going to need now) that reflect the error statuses from 'man mount'. Then in our code check the 'status' variable to return the most specific error code.
That also is simple enough plus doesn't require any changes in the existing code. Will post a patch soon.
Ales _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list