Skip Menu |

This queue is for tickets about the File-Stat-Bits CPAN distribution.

Report information
The Basics
Id: 89002
Status: new
Priority: 0/
Queue: File-Stat-Bits

People
Owner: FEDOROV [...] cpan.org
Requestors: CFABER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: minor() / dev_split() fails to return correct minor number on rediculous major minor pairs
When creating a rediculous major minor chacector special device, such as mknod -m 777 ubuffered u 999 888 the major number is correct, however the minor number is invalid. cfaber@latitude:~$ ls -lh | grep buffer crwxr-xr-x 1 root root 1001, 1000 Sep 27 12:17 buffer crwxr-xr-x 1 root root 999, 888 Sep 27 12:16 ubuffer perl -MFile::Stat::Bits -MFile::stat -e '$st = stat("buffer"); print major($st->rdev) . "\n"; print minor($st->rdev) . "\n";' 1001 3145960 perl -MFile::Stat::Bits -MFile::stat -e '$st = stat("ubuffer"); print major($st->rdev) . "\n"; print minor($st->rdev) . "\n";' 999 3145848