Bug 169588
Summary: | Use udev edd mappings during installs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John A. Hull <john_hull> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-06 07:26:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John A. Hull
2005-09-29 23:00:59 UTC
KERNEL=="[sh]d*[!0-9]", ACTION=="add", IMPORT="/sbin/edd_id --export $tempnode", SYMLINK+="disk/by-edd-id/$env{ID_EDD}" KERNEL=="[sh]d*[0-9]", ACTION=="add", IMPORT{parent}=="ID_EDD", SYMLINK+="disk/by-edd-id/$env{ID_EDD}-part%n" Aren't two lines enough? Also note the "-part" to be consistent with the other rules. KERNEL=="[sh]d*[!0-9]", ACTION=="add", IMPORT="/sbin/edd_id --export $tempnode", SYMLINK+="disk/by-edd-id/$env{ID_EDD}" KERNEL=="[sh]d*[0-9]", ACTION=="add", IMPORT{parent}=="ID_EDD", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-edd-id/$env{ID_EDD}-part%n" added the test ENV{ID_EDD}=="?*" for the empty $ID_EDD case. Now you only have to convince the kernel component to statically include the edd module (or rc.sysinit to load it before start_udev) and the mkinitrd and anaconda component to include edd_id (edd_id.static included in udev). :-) |