|
From: | Wang Chen |
Subject: | [Bug-cpio] Linux device number bug report |
Date: | Tue, 23 Dec 2003 14:17:01 +0800 |
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 “cpio-2.5-6” uses structure dev_t and operates the device number as 16-bit. In file copyout.c: 118 sprintf
(ascii_header, The
device number dev and rdev should be 32-bit. But this operation only
prints their lower 16-bit and it
seems not to correspond to device number extension.
--------------------------------------------------
Wang Chen 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-636 FUJITSU INTERNAL: 79955-636 FAX : +86+25-83317685 Mail : address@hidden -------------------------------------------------- |
[Prev in Thread] | Current Thread | [Next in Thread] |