I agree with Cág 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
. /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ág has solved that problem. Let's wait and see if
ncopa thinks now smdev is ready (for 3.5 alpine release?).
On Sun, Jul 3, 2016 at 10:35 AM, Cág <caoc_at_riseup.net> 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 , 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
> For me, it's rather an advantage. Once configured you go with it. Actually
> I've never modified my udev rules, they always worked for me and with smdev
> 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 be
> most appropriate variant (or does it? I heard it uses eudev. I currently
> no chance to check it out).
> If ye need more info about smdev, please consult the link down below and the
> Also, write to dev at suckless dot org, since I am not an smdev developer.
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
Received on Sun Jul 03 2016 - 10:51:09 UTC