> Some of this will depend on the reason you want this info. You make good points. I'm going to avoid a lot of the background 'cause it's boring (and probably a bit disgraceful from a SysAdmin point of view.
The need is to identify, after a system is been built and deployed, during normal operations, all storage devices on the system and then, the part I'm discussing here, identify the root device to not touch/protect during subsequent disk maintenance operations. I've done a bunch of things like parse the /proc/mounts info (and the mount command) and other goodies but I felt that since there's a lot of things that can be queried directly from the system, it seems reasonable to *assume* ( * cough * ) that there's a straight-forward way to ask the system to report back the authoritative answer about what it knows especially since there's so many flavors/modifications to the overall Linux environment by so many smart folks. _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
