Linux hardware inventory Current reality future possibilities
Linux hardware inventory: Current reality, future ... - martin - meltin.net
Linux hardware inventory: Current reality, future ... - martin - meltin.net
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Snazzy SCSI solutions<br />
13/33<br />
• update-device-tree:<br />
1. Copy /proc/device-tree to /var/lib/device-tree.<br />
2. Use sg inq to do SCSI inquiries.<br />
3. Extract ‘VPD fields’ from output according to templates.<br />
4. Find device-tree node and drop in linux,vpd file.<br />
• lsvpd:<br />
1. Find all files called ibm,vpd and render them.<br />
2. Find all files called linux,vpd and cat them.<br />
• This introduced a ‘database’.