mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
17 lines
496 B
Plaintext
17 lines
496 B
Plaintext
|
|
SUBSYSTEM!="block", GOTO="nomdlvm_end"
|
||
|
|
|
||
|
|
# handle potential components of arrays (the ones supported by md)
|
||
|
|
ENV{ID_FS_TYPE}=="linux_raid_member", GOTO="check_cmdline"
|
||
|
|
ENV{ID_FS_TYPE}=="ddf_raid_member", GOTO="check_cmdline"
|
||
|
|
ENV{ID_FS_TYPE}=="isw_raid_member", GOTO="check_cmdline"
|
||
|
|
GOTO="nomdlvm_end"
|
||
|
|
|
||
|
|
LABEL="check_cmdline"
|
||
|
|
|
||
|
|
# "nomdlvm" on kernel command line stops activating or
|
||
|
|
# registering any md device
|
||
|
|
IMPORT{cmdline}="nomdlvm"
|
||
|
|
ENV{nomdlvm}=="?*", ENV{SYSTEMD_READY}="0"
|
||
|
|
|
||
|
|
LABEL="nomdlvm_end"
|