I'm working on a project and wanted to get some thoughts on an aspect of it. What I want to do is examine a system, determine how many partitions are bootable (a), understand what version that partitions contain (b), detect the system type (c), and build an identifying string to capture those details (d).
I can walk each partition for a "kickstart" folder but there are times when kickstart is not located on the same partition as the boot partitions. For those cases, I could scan for system folders as well.
I can version kickstart and workbench. Any suggestions on other critical files or perhaps something in ENV which might reveal more info like 4.1 FE U2 or some such?
I know there are tools, like Ranger, that can do this but I don't know what they are looking at.
I'm thinking something like Partition_Version_Machine