X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by lists.alpinelinux.org (Postfix) with ESMTP id 4E2595C4157 for ; Sun, 3 Jul 2016 13:51:10 +0000 (GMT) Received: by mail-vk0-f67.google.com with SMTP id d128so1119807vkg.3 for ; Sun, 03 Jul 2016 06:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=tmnNWZ3lfv7j+tl7hqBwNAHz+fMDdByHGqaLIuohpDg=; b=z1r0Xy2oRZwFJ2fguesXrcrmMic33YmSqKgMktRoPT1It3OmdEocmY3dfYMSh/Eybm SKs7sWPLDX4/WvYtMXsvhmEUVreHXrqDPYxSdCa0SX71OgQRQj6vOWfAQkpzd2uBizj2 ToxH3i3UTGyeyNQt7F5+CwZjdKtRueEZNDrB0pRe+3seFPABCuvE07ZEzkYWGFe6fciA nZqzokjsspy4YGVEr3JLk0A0xv9vijtfXFiN5GuAMgrs4wIowxaPX40gL2DIl4ENQJUV NRvwzSd/QhOrjJalSDPi5v4AGISHXIwF1jJ7hWFMjwq94ZEW2ZLBY3dZSeh/q43dqdCJ t+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=tmnNWZ3lfv7j+tl7hqBwNAHz+fMDdByHGqaLIuohpDg=; b=hR/oCiTrHMeuV3GptR0sYb1NOQT8/C3T9kjTCeRbchh1fqkZBJA6cF2GVV/pHd+pvV f6NgTrn1QnhN+ff35CbW5SbyJAXr4hXxuKEEsBebdV8dpZ8ROqEFRtcMomVRoI6Idh31 SHg7ipx8EfYNd71Yvi4ysCqeOi7DfPmN9RkBAUlBXPe4AHAj+qgrqqzRSYzGk/IUN1Nv iPQfrvZfFwUQFPzc2RQRz3aAnLLYVxjN6FLkWokM36lXXNpUp9myf7e8piWwbeFvG2kE xRVT0G1gcUGv6UX7/RyCLCgcLP+lbmNZvAeQOHhSGtMwLKbEgEKImyWGIyxtND25cvZ0 JUoQ== X-Gm-Message-State: ALyK8tLysxuJQfSRxPdODoo8efHleSUXeJUtILsFU1bsBkU59goLJ4roYhUuIY6Pma+itl3fy55a54lzs/oHUA== X-Received: by 10.31.188.80 with SMTP id m77mr3250488vkf.30.1467553869694; Sun, 03 Jul 2016 06:51:09 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.103.75.88 with HTTP; Sun, 3 Jul 2016 06:51:09 -0700 (PDT) In-Reply-To: <174bbc5214754cfa31d9156ec1e78660@riseup.net> References: <174bbc5214754cfa31d9156ec1e78660@riseup.net> From: Alba Pompeo Date: Sun, 3 Jul 2016 10:51:09 -0300 Message-ID: Subject: Re: [alpine-devel] smdev To: =?UTF-8?B?Q8OhZw==?= Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I agree with C=C3=A1g about the absence of textual configuration files. It's an advantage because it keeps complexity down. Almost no user will change their smdev config options, that's something Alpine will have sane defaults for. But if the user really wants to, I see no problem with config.def.h [0]. /usr/src to the rescue. I remember smdev developers talked about wanting to integrate it on Alpine in the past, here on the mailing list. I think ncopa wants it too, but had problems with hotplugging (?) I think. But it looks like C=C3=A1g has solved that problem. Let's wait and see if ncopa thinks now smdev is ready (for 3.5 alpine release?). Ciao! [0] http://git.suckless.org/smdev/tree/config.def.h On Sun, Jul 3, 2016 at 10:35 AM, C=C3=A1g wrote: > Jakub Jirutka wrote: > >> I wonder, what are the differences between mdev and smdev? What are >> the benefits of smdev for end users? > > > smdev is IIRC a fork of mdev (or maybe was, probably it was rewritten) > that is compatible with it [0], though it doesn't have all its features. > The benefits are: you don't need BusyBox for it and it is smaller > (almost thrice as short in terms of LOC). It does what it says - > manages device nodes, and does it well. > >> I currently see one significant drawback - smdev (and all other >> suckless projects) doesn't support textual configuration files. This >> approach doesn't go well with binary distributions; users can't simply >> change any settings. I understand the reasons behind using header >> files for config, but the fact is that it's not very convenient for >> users. > > > For me, it's rather an advantage. Once configured you go with it. Actuall= y > I've never modified my udev rules, they always worked for me and with smd= ev > I use > the default config.h because it works just fine. Anyway, if users need to > modify the rules, I'd put the source inside /usr/src and let them do it := ) > > By the way, I don't know why Alpine doesn't use mdev, to me it seems to b= e > the > most appropriate variant (or does it? I heard it uses eudev. I currently > have > no chance to check it out). > > If ye need more info about smdev, please consult the link down below and = the > code. > Also, write to dev at suckless dot org, since I am not an smdev developer= . > > Sl=C3=A1inte, > C=C3=A1g > > [0]:http://core.suckless.org/smdev > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---