This one looks good. Regards, Hans On 04/03/2009 04:55 PM, Jacek Danecki wrote:
This patch is needed to export some variables in udev database for isw raid arrays. To work correctly mdadm must be version 3.0-devel3 with additional patches for --export parameter. diff --git a/70-anaconda.rules b/70-anaconda.rules index 374b63a..8520030 100644 --- a/70-anaconda.rules +++ b/70-anaconda.rules @@ -46,6 +46,7 @@ ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk LABEL="anaconda_mdraid_member" # probe raid metadata of mdraid member devices ENV{ID_FS_TYPE}=="linux_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --examine --export $tempnode" +ENV{ID_FS_TYPE}=="isw_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --examine --export $tempnode" # probe metadata of LVM2 physical volumes ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm pvs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -opv_name,pv_uuid,pv_size,vg_name,vg_uuid,pv_pe_count,pv_pe_alloc_count,pe_start $tempnode" _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list