Re: SG_IO ioctl (was: mode sense blacklist how)

Willem Riede
2003-11-21T03:18:07Z

On 2003.11.20 20:17, Douglas Gilbert wrote:
>
> ** The sd/sr/st <-> sg mapping problem would be much simpler
> in lk 2.6 if sg (plus st + osst) had sysfs visibility. Perhaps
> udev could work out this mapping but this would still rely
> on polling through sg, st and osst file descriptors with the
> attendant problems that brings (e.g. blocking, O_EXCL, O(n)).

If I'm not mistaken, Kai posted an initial patch to add sysfs
support to st. If that works, and this mapping is important,
I'll be happy to do the same for osst.

Regards, Willem Riede.