Also thanks!
I hope this includes all scenarios, what about printing the original status for debugging information, just to eat a cake and still have a cake?
info(udev, "hardware disk status: %s\n", media_status[header[2] & 3]);
Also thanks!
I hope this includes all scenarios, what about printing the original status for debugging information, just to eat a cake and still have a cake?
info(udev, "hardware disk status: %s\n", media_status[ header[ 2] & 3]);