Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 43BC6781A74 for <~alpine/users@lists.alpinelinux.org>; Mon, 13 Jan 2020 23:16:31 +0000 (UTC) X-Originating-IP: 81.14.30.15 Received: from [192.168.3.37] (15.30.14.81.rev.sfr.net [81.14.30.15]) (Authenticated sender: michel.piquemal@ipik.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id DA2FB1C0003 for <~alpine/users@lists.alpinelinux.org>; Mon, 13 Jan 2020 23:16:30 +0000 (UTC) From: spam@ipik.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Detect AudioCD insertion & list tracks Date: Tue, 14 Jan 2020 00:16:29 +0100 References: <20200113163716.GA3940@marco.themis.pinknet.de> To: ~alpine/users@lists.alpinelinux.org In-Reply-To: <20200113163716.GA3940@marco.themis.pinknet.de> Message-Id: X-Mailer: Apple Mail (2.3445.9.1) Thanks Marco for the feedback. > as far as I understand the documentation, this is not possible. However, after more digging, is seems mdev does support few kernel hotplug env variables ($ACTION, =E2=80=A6) https://git.busybox.net/busybox/tree/util-linux/mdev.c#n126 Some Alpine scripts like /lib/mdev/usbdev use them for instance. Unfortunately I do not manage to check/reveal env variables values for the event I trigger in such explicit way: https://quirk.ch/2010/01/how-to-set-up-mdev-rules-for-busybox nor even use them...=