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

From: Sergey Senozhatsky
Date: Fri Feb 27 2015 - 20:51:07 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/