[dm-devel] Re: Problem w/ CONFIG_DEBUG_BLOCK_EXT_DEVT

Tejun Heo tj at kernel.org
Tue Sep 2 11:06:24 UTC 2008


Alan D. Brunelle wrote:
>>> (2) Device minor numbers can be quite large, and the 10-character limits
>>> in dm/lib/libdm-deptree.c are too small.
>> Would it be difficult to increase that?
> 
> No, but knowing the upper bound would be helpful.

Well, dev_t is 32bits and MINORBITS is 20.  So, major 12 bits, minor 20
bits, so 4 characters for major, 7 characters for minor.

-- 
tejun




More information about the dm-devel mailing list