On 3/30/06, Rob Pike <[EMAIL PROTECTED]> wrote:
> Also, ioctl masks the direction of data motion, while read and
> write make it was explicit as can be.
>
> -rob
>

It really does seem that ioctl is just a "kitchen sink" for operations
on resources in a filesystem that people didn't think could be
addressed as files at the time.

The xattr stuff seems neat on the surface because you effectively get
a hierarchical namespace directly attached to your device file.  Of
course, there's really nothing stopping us from doing that with
directories the Plan 9 way I suppose.

In fact, I often wondered why the eia* stuff kind of differed in
structure from the sd* stuff.

Any good reason not to do
eia0/ctl
eia0/data
eia0/status

Dave

Reply via email to