Hey, I didn't say changing the interface is wrong. But if possible
do it in a way that the new userspace can still support the old kernel
driver.
> NBD_SET_SOCK. That'd tell nbd-tool that the nbd driver thinks something
> about the ioctl was invalid but not what. I wanted to return EDEPRECATED
> instead but I haven't found that errno yet. I could overload an errno
> but that seems ugly too. Or the driver could have a NBD_GET_VERSION
> ioctl. Is there precedence for that? I haven't come accross it yet.
That's one choice. At least md and device mapper do that.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/