[pve-devel] [PATCH] fix #2080: fix device major/minor handling

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Feb 4 10:42:00 CET 2019


The device value returned by stat() is 32 bits long and encoded as
high 12 bit of the minor value as in the 12 MSBs, 12 bit major value,
then the low 8 bit of the minor value in the low byte.

Wolfgang Bumiller (1):
  tools: add dev_t_major/minor

 src/PVE/Tools.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.11.0





More information about the pve-devel mailing list