Re: [PATCH 0/8] introduce dynamic device creation/removal

Sergey Senozhatsky
2015-02-28T01:51:00Z

On (02/28/15 10:33), Sergey Senozhatsky wrote:
> > hoo boy. Creating a /dev node and doing ioctls on it is really old
> > school. So old school that I've forgotten why we don't do it any more.
> >
> > Hopefully Alan can recall the thinking?
>
> oh. I thought this is how loop control works, and ioctl there doesn't look
> insane to me.
>
> any quick hint how do you do this in a modern world so I'll redo the patch set?
>

I'll change it to sysfs RW control node.

-ss