Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, i have a question about devname.c https://github.com/karelzak/util-linux/blob/master/libblkid/src/devname.c#L377

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?



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux