Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758683AbcCCWfe (ORCPT ); Thu, 3 Mar 2016 17:35:34 -0500 Received: from mail-ob0-f171.google.com ([209.85.214.171]:33465 "EHLO mail-ob0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755782AbcCCWfc (ORCPT ); Thu, 3 Mar 2016 17:35:32 -0500 MIME-Version: 1.0 In-Reply-To: References: <20160303012530.GA23521@kroah.com> <20160303171846.GC20826@kroah.com> <20160303200009.GA25327@kroah.com> Date: Thu, 3 Mar 2016 23:35:31 +0100 Message-ID: Subject: Re: allocate an official device major number for virtio device? From: Richard Weinberger To: Jeff Sharkey Cc: Greg Kroah-Hartman , Jin Qian , "Ning, Yu" , "linux-kernel@vger.kernel.org" , David Turner , "pprabhu@google.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 460 Lines: 12 On Thu, Mar 3, 2016 at 11:12 PM, Jeff Sharkey wrote: > Adding a bit more context, in Android when we receive a uevent about a > new disk we use a separate userspace utility (sgdisk) to inspect the > partitions it contains, and we construct our own mknod() for the > partitions that we're interested in. (We're doing this manually > because Android doesn't have devtmpfs.) Why don't you just enable devtmpfs? :-) -- Thanks, //richard