mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 01:44:37 +08:00
rules: ignore partitons that span the entire disk
This commit is contained in:
parent
8246d00d88
commit
51b5c5f889
@ -21,6 +21,9 @@ KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end"
|
||||
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
|
||||
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"
|
||||
|
||||
# ignore partitions that span the entire disk
|
||||
ATTR{whole_disk}=="", GOTO="persistent_storage_end"
|
||||
|
||||
# for partitions import parent information
|
||||
KERNEL=="*[0-9]", IMPORT{parent}="ID_*"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user