[Bug 12766] New: /bin/stat reports wrong device id

bugzilla at busybox.net bugzilla at busybox.net
Thu Apr 9 11:00:53 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12766

            Bug ID: 12766
           Summary: /bin/stat reports wrong device id
           Product: Busybox
           Version: 1.24.x
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: rino4work at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

stat utility should report combined device id containing major and minor device
version bytes.

I see it reports a single byte id instead:
# stat /
  File: /
  Size: 1376            Blocks: 0          IO Block: 4096   directory
Device: ch/12d  Inode: 1           Links: 20
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-11-27 17:24:51.000000000
Modify: 2019-11-27 17:12:38.000000000
Change: 2019-11-27 17:24:56.000000000

I've failed to find if that's a special number that could be matched to real
device id.
Assuming that may be a bug in busybox stat implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list