From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147AbbB1BvA (ORCPT ); Fri, 27 Feb 2015 20:51:00 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:41591 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbbB1Bu7 (ORCPT ); Fri, 27 Feb 2015 20:50:59 -0500 Date: Sat, 28 Feb 2015 10:50:59 +0900 From: Sergey Senozhatsky To: Andrew Morton Cc: Sergey Senozhatsky , Sergey Senozhatsky , Minchan Kim , Jerome Marchand , Nitin Gupta , linux-kernel@vger.kernel.org, Alan Cox Subject: Re: [PATCH 0/8] introduce dynamic device creation/removal Message-ID: <20150228015059.GB5768@swordfish> References: <1424959843-20409-1-git-send-email-sergey.senozhatsky@gmail.com> <20150227145109.b5656bdf853c2d283bf9268e@linux-foundation.org> <20150228013356.GA5768@swordfish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150228013356.GA5768@swordfish> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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