Bug 12766

Summary: /bin/stat reports wrong device id
Product: Busybox Reporter: rino4work
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.24.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description rino4work 2020-04-09 11:00:53 UTC
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.