On Sat, 12 Jun 2021 at 13:59, Maykel Franco via arch-general
wrote:
>
> Hi, I try configure the rule in udev for when I connect specific usb
> device, launch script backup.
>
> I have this rule:
>
> /etc/udev/rules.d/10.autobackup.rules
>
> SUBSYSTEM=="block", ACTION=="add", ATTRS{idVendor}=="058f
On Sat, 12 Jun 2021 at 18:44, Maykel Franco via arch-general <
arch-general@lists.archlinux.org> wrote:
> El sáb, 12 jun 2021 a las 17:43, mpan via arch-general
> () escribió:
> >
> >If the command shares any resources, and name “autobackup” suggests
> > it does, it should include some mechani
El sáb, 12 jun 2021 a las 17:43, mpan via arch-general
() escribió:
>
>If the command shares any resources, and name “autobackup” suggests
> it does, it should include some mechanism that prevents concurrent
> execution if another instance is already running. Otherwise, even if a
> single match
If the command shares any resources, and name “autobackup” suggests
it does, it should include some mechanism that prevents concurrent
execution if another instance is already running. Otherwise, even if a
single match happens, multiple instances of the script may be executed.
For USB devices