Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1349645

Re: allocate an official device major number for virtio device?

From Richard Weinberger <richard.weinberger@gmail.com>
Newsgroups linux.kernel
Subject Re: allocate an official device major number for virtio device?
Date 2016-03-03 23:40 +0100
Message-ID <r8K4y-5Af-3@gated-at.bofh.it> (permalink)
References (3 earlier) <r8sAH-1aq-27@gated-at.bofh.it> <r8F4T-1WU-29@gated-at.bofh.it> <r8Hgm-3iI-5@gated-at.bofh.it> <r8HJp-3Jy-29@gated-at.bofh.it> <r8JLb-5k0-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 3, 2016 at 11:12 PM, Jeff Sharkey <jsharkey@android.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

allocate an official device major number for virtio device? Jin Qian <jinqian@android.com> - 2016-03-03 02:10 +0100
  Re: allocate an official device major number for virtio device? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 02:30 +0100
    Re: allocate an official device major number for virtio device? Jin Qian <jinqian@android.com> - 2016-03-03 02:50 +0100
      RE: allocate an official device major number for virtio device? "Ning, Yu" <yu.ning@intel.com> - 2016-03-03 05:00 +0100
        Re: allocate an official device major number for virtio device? One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-03-03 15:50 +0100
        Re: allocate an official device major number for virtio device? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 18:20 +0100
          Re: allocate an official device major number for virtio device? Jin Qian <jinqian@android.com> - 2016-03-03 20:40 +0100
            Re: allocate an official device major number for virtio device? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 21:10 +0100
              Re: allocate an official device major number for virtio device? Jeff Sharkey <jsharkey@android.com> - 2016-03-03 23:20 +0100
                Re: allocate an official device major number for virtio device? Richard Weinberger <richard.weinberger@gmail.com> - 2016-03-03 23:40 +0100
                Re: allocate an official device major number for virtio device? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 23:50 +0100
      Re: allocate an official device major number for virtio device? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 18:20 +0100

csiph-web