Why is there size is equal 110? Can't the device name be greater then 110?In linux https://github.com/torvalds/linux/blob/13311e74253fe64329390df80bed3f07314ddd61/include/linux/genhd.h#L27 DEVICE_NAME_LEN is defined as 32, wouldn't be better if you use this define in your program?