Re: large device major/minor numbers not supported



Hi Egmont,

On Sun, 2005-01-09 at 19:22, Egmont Koblinger wrote:
> root# mknod /dev/foobar c 4095 1048575
> root# ls -l /dev/foobar
> crw-r--r--  1 root root 4095, 1048575 2005-01-09 19:10 /dev/foobar
> 
> However, mc (tested with 4.6.0 and 4.6.1-pre2) does not support these large
> device numbers, it only shows the two numbers modulo 256 (that is,
> 
> |-foobar           |255,255|jan  9 19:10|
> 
> in the above case). This can be quite misleading...

Code in question probably is in screen.c, just after line 200. How do we
know stat is using 12 + 20 bytes and not 8 + 8?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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