Red Hat Bugzilla – Bug 450109
cpio stores incorrect device nodes if major > 128
Last modified: 2008-07-18 19:07:33 EDT
Description of problem:
While packing and unpacking some CPIO archives I saw the following error
cpio: dev/uba: Invalid argument
Version-Release number of selected component (if applicable):
Steps to Reproduce:
find /dev/ | cpio -o | cpio -vt | grep 42949
Lots of device nodes get reported like...
crw------- 1 jburgess tty 4294967176, 4294967046 Jun 4 21:57 /dev/pts/6
$ ls -l /dev/pts/6
crw------- 1 jburgess tty 136, 6 2008-06-04 21:57 /dev/pts/6
Seems to happen for any device node with major number > 128
Machine above runs kernel-188.8.131.52-18.fc9.x86_64
The same is seen on machines running RedHat Enterprise Linux 4.6 and 5.1 as well.
This problem does not effect the "-c" format. It isn't clear whether the default
format should support these higher major numbers. A warning would be nice.
cpio-2.9-8.fc9 has been submitted as an update for Fedora 9
cpio-2.9-8.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.