On Sat, Nov 21, 2015 at 02:54:21AM +0100, Marek wrote: > Im trying to list ata devices in the same manner i am able to list usb > devices.
That's not an answer to the "what problem are you trying to solve" :) And "ata" devices are not the same thing as a "usb" device is in any way or form, so the fact that they have to be shown differently is totally natural. You can iterate over them, you just have to find the correct class that the kernel uses for them ("ata_device"), but there is no "ata bus" so you will have to search for them differently. good luck! greg k-h _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel