Re: Question

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

 



On Tue, Jun 22, 2021 at 01:17:56PM +0300, Андрей Петров wrote:
> 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?

I have a better way how to fix it -- let's remove entire EVMS code from
the library. EVMS is dead project since year 2006.

 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[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