Re: Linux device number bug report



Hi,

Could you file a bug about that on bugzilla.gnome.org so that it's not
forgotten? I believe device numbers from gnome-vfs aren't used much by
applications, but this still should be fixed ;)

Thanks for noticing that,

Christophe

Shen Feng a ¨¦crit :
> Hello,
> 
> I have some questions about device number extension.
> 
> In Linux kernel 2.6, device number will be extended from 16-bit to 32-bit. All utilities and libraries should make corresponding extension for this new feature in kernel 2.6. 
> 
> I find that ¡°gnome-vfs2-2.2.5-2.E¡± uses structure dev_t and operates the device number as 16-bit. 
> 
> In file libgnomevfs/gnome-vfs-parse-ls.c: 566
>   s->st_rdev = ((maj & 0xff) << 8) | (min & 0xffff00ff)
> The major device number should be 12-bit. And the minor device number should be 20-bit. But this operation considers major has only 8-bit and minor has 24-bit. It seems not to correspond to device number extension. 
> 
> Since I didn¡¯t find any information about this aspect in homepage of this package, I wonder whether the latest version has completed the device number extension? If not, will it be completed in the future? And when?
> 
> Looking forward to answering.
> 
> 
> Regards,
> Shen Feng
> --------------------------------------------------
> Dept. of Technology and Development 
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> No. 16-5, Guanzhou Rd., Nanjing, P.R.China 
> PHONE: +86+25-86630523-653 
> FUJITSU INTERNAL: 79955-653 
> FAX: +86+25-83317685  
> Mail: shen nanjing-fnst com 
> --------------------------------------------------





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