X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id ABE58DC5A94 for ; Tue, 28 Jul 2015 05:24:17 +0000 (UTC) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 696A9DC0AF5 for ; Tue, 28 Jul 2015 05:24:17 +0000 (UTC) Received: by pabkd10 with SMTP id kd10so63735056pab.2 for ; Mon, 27 Jul 2015 22:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=GBQEbvjVnwL+ry85vWf2V/yDuN9hNSffqYCphzVW6/U=; b=d3rPXxyFRm3DI+zTftujwlCiFzQcYsMlPgCoa0uBxaZaWzYh9z5yS/z/Ty/douogsw G4He9C+/FhmG4/uRUTxCNEf3/Ai+Pkzf+2f6i7Wd/8xlEdNs0ohj7+biQhDtv1Sa/1/X XwV24KTTyihfG6lEQNiD7OY2KNFquKwY3IUZB7QLgc9BaB/b1iVRT+U3qIqQJJ9h9I67 zLkYdKPEetVKjZYrGARlWXc5N0Zkybll+fFleNWRkylhOQGy7M6nJwYiRpp9R/sJRndl LZu4+d/ou5qmaHNbtCipbGVzsrHzLAw6rMdrDVj25WCEtQMUcxULg9cIBfLUubEN0DA3 o6Cg== X-Received: by 10.66.236.167 with SMTP id uv7mr74993882pac.134.1438061056343; Mon, 27 Jul 2015 22:24:16 -0700 (PDT) Received: from newbook ([50.0.227.100]) by smtp.gmail.com with ESMTPSA id cz1sm32578567pdb.44.2015.07.27.22.24.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 22:24:15 -0700 (PDT) Date: Mon, 27 Jul 2015 22:24:37 -0700 From: Isaac Dunham To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org, sin@2f30.org, rob@landley.net, dev@frign.de Subject: Re: [alpine-devel] udev replacement on Alpine Linux Message-ID: <20150728052436.GC1923@newbook> References: <20150727103737.4f95e523@ncopa-desktop.alpinelinux.org> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150727103737.4f95e523@ncopa-desktop.alpinelinux.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP [pruning CC: to those who are more likely to care about mdev features and command line] On Mon, Jul 27, 2015 at 10:37:37AM +0200, Natanael Copa wrote: > There was also a long discussion about adding netlink support to > busybox mdev on busybox mailing list. There was some disagreement on > how to do it. > > There was even some patches that made busybox mdev read events from > stdin. A few comments regarding those patches... It is much simpler to debug something like "mdev -i" than a netlink reader spawned by a "netlink inetd", since there's less indirection in using strace and you can trivially create, log, and replay events. Do not underestimate how useful the ability to play back a series of hotplug events is. While I did prepare a patch for mdev -i (read events from stdin) based on your work, other modifications were made to mdev. Meanwhile, the agreement that there had been about reading events from stdin disappeared, Denys assumed that it was entirely about serialization and reimplemented nldev, and a simple rework of the patch to match the new code didn't work, so I never got the patch updated. (I figured that with a maintainer who didn't understand the feature request, it would take a bit more support to get it in.) If mdev -i is desired rather than a netlink reader, I think I could update the patch; but if netlink support in mdev itself is desired, I don't want to set up the environment that would be needed to test it. Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---