Re: Help with udev trigger
- Date: Fri, 18 May 2018 07:36:58 -0400
- From: songbird <songbird@xxxxxxxxxxx>
- Subject: Re: Help with udev trigger
Bhasker C V wrote:
> Version: buster
> I do a manual cryptsetup to create my home directory after system boots up
> I want to run fsck every time the device node is created from luks
> I added this udev rule
> RUN+="/bin/btrfsck /dev/mapper/home"
> But this rule is not getting triggered. Could someone help please to
> point out what mistake I am doing ?
i'm guessing that after the boot that there is no
change happening to trigger it...
what happens if you make the rule "add|change" instead?