Hacker News new | ask | show | jobs
by xolox 723 days ago
With regards to parted, if you only want to query for information, there is "partx" whose output was purposefully designed to be parsed. I have good experiences with it.