From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbbB1Bdz (ORCPT ); Fri, 27 Feb 2015 20:33:55 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:46720 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbbB1Bdy (ORCPT ); Fri, 27 Feb 2015 20:33:54 -0500 Date: Sat, 28 Feb 2015 10:33:56 +0900 From: Sergey Senozhatsky To: Andrew Morton Cc: Sergey Senozhatsky , Minchan Kim , Jerome Marchand , Nitin Gupta , Sergey Senozhatsky , linux-kernel@vger.kernel.org, Alan Cox Subject: Re: [PATCH 0/8] introduce dynamic device creation/removal Message-ID: <20150228013356.GA5768@swordfish> References: <1424959843-20409-1-git-send-email-sergey.senozhatsky@gmail.com> <20150227145109.b5656bdf853c2d283bf9268e@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150227145109.b5656bdf853c2d283bf9268e@linux-foundation.org> 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/27/15 14:51), Andrew Morton 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? -ss