ibm-s390-linux / s390-tools

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

Support a list of types in lszdev to limit the output to multiple types #75

Open fheimes opened 4 years ago

fheimes commented 4 years ago

Today lszdev can either only list all ccw types and their devices: lszdev or only one specific type and its devices, like: lszdev qeth

It would be desirable to support a (for example comma separated) list of (commonly used) types (to be able to filter out some not commonly used ones, like lcs and generic-ccw). For example this could look like: lszdev dasd,zfcp,qeth (with the usual output that we already have today per type)

(A first attempt to introduce some kind of filtering was of course already made with dasd and zfcp.)

hoeppnerj commented 4 years ago

Hi, at the moment there are no resources on our side to implement such feature. However, if you want you can of course implement it yourself and provide a PR. Thanks for pointing this our nonetheless.