..
Btw.. hdparm-8.7 (unreleased) can grok /sys now, so that interface is
as good as any from a userspace viewpoint now.
For the power-off of unused ports, the current patch still sounds
extremely vendor-specific (Intel).
Does it actually work (demonstrate, please) on any other hardware ?
I would still like to see a far more generic solution, with periodic polling
and the like, which would permit use on *any* machines (eg. data centers)
without loss of hotplug capability on those ports.
But that's probably just wishful thinking at this point.
Cheers
--