How to apply udev rules to boot device after (not during) boot?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Goal is to have the Linux OS running in a minimal/bare way: strip everything that is not essential to boot the OS, from the boot process. The machine won't be a desktop, not a typical flexible server, more like an appliance.
- Non essential modules are not loading during boot.
Udev was removed from initramfs.
A custom hook was created to be able to boot into a btrfs file system without udev.
Udev is started after the initramfs phase. As a result my (custom) udev ACTION="add,change"
rule is not applied to the boot device.
Which approach to take to apply udev rules to the boot device after â not during â boot? Is there something like ACTION="udev_init"
?
udev
add a comment |Â
up vote
0
down vote
favorite
Goal is to have the Linux OS running in a minimal/bare way: strip everything that is not essential to boot the OS, from the boot process. The machine won't be a desktop, not a typical flexible server, more like an appliance.
- Non essential modules are not loading during boot.
Udev was removed from initramfs.
A custom hook was created to be able to boot into a btrfs file system without udev.
Udev is started after the initramfs phase. As a result my (custom) udev ACTION="add,change"
rule is not applied to the boot device.
Which approach to take to apply udev rules to the boot device after â not during â boot? Is there something like ACTION="udev_init"
?
udev
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Goal is to have the Linux OS running in a minimal/bare way: strip everything that is not essential to boot the OS, from the boot process. The machine won't be a desktop, not a typical flexible server, more like an appliance.
- Non essential modules are not loading during boot.
Udev was removed from initramfs.
A custom hook was created to be able to boot into a btrfs file system without udev.
Udev is started after the initramfs phase. As a result my (custom) udev ACTION="add,change"
rule is not applied to the boot device.
Which approach to take to apply udev rules to the boot device after â not during â boot? Is there something like ACTION="udev_init"
?
udev
Goal is to have the Linux OS running in a minimal/bare way: strip everything that is not essential to boot the OS, from the boot process. The machine won't be a desktop, not a typical flexible server, more like an appliance.
- Non essential modules are not loading during boot.
Udev was removed from initramfs.
A custom hook was created to be able to boot into a btrfs file system without udev.
Udev is started after the initramfs phase. As a result my (custom) udev ACTION="add,change"
rule is not applied to the boot device.
Which approach to take to apply udev rules to the boot device after â not during â boot? Is there something like ACTION="udev_init"
?
udev
edited Nov 18 '17 at 18:18
jasonwryan
47k14127176
47k14127176
asked Nov 18 '17 at 9:47
Pro Backup
1,93452853
1,93452853
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405413%2fhow-to-apply-udev-rules-to-boot-device-after-not-during-boot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password