On 2014-12-17 22:33, Anton Lundin wrote:
On 17 December, 2014 - Jef Driesen wrote:
Maybe it's more intuitive to rename NONE to OPEN and REBOOTING to CLOSED?
I'd say REBOOTING is better than CLOSED, because CLOSED might be confusing because the file descriptor is still open, and the only viable action is to close the device.
The state is not about the file descriptor, but I get your point. I'll keep REBOOTING. Maybe TERMINATED is even a more descriptive name than REBOOTING?
Jef