ibm-s390-linux / s390-tools

Tools for use with the s390 Linux kernel and device drivers
MIT License
63 stars 59 forks source link

Please provide json output option for fdasd --table #104

Open paride opened 3 years ago

paride commented 3 years ago

Having machine readable output for fdasd --table would be useful to make integration with other tools both easier and more solid. I think json output would be a good choice because other s390-tools already depend on json-c, and because it would be similar to sfdisk --json. Please consider adding the option. Thanks!

hoeppnerj commented 3 years ago

Thanks for bringing this up. I've had this in mind for other tools (or even all tools) a while ago as well. Having some sort of API like that might be really useful. Don't expect anything like this soon though, as there are no resources to work on this at the moment.

Feel free though to provide pull requests to integrate such a feature.