From fc2e29ef0b3ef617f7536606c7287105859a68a8 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 22 Jun 2009 09:57:00 -0400 Subject: udev dropped vol_id (#506360) udev no longer ships a vol_id binary, so we have to use blkid instead. Require a new enough util-linux-ng that this does what we want --- 70-anaconda.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '70-anaconda.rules') diff --git a/70-anaconda.rules b/70-anaconda.rules index 852003096..0efd53615 100644 --- a/70-anaconda.rules +++ b/70-anaconda.rules @@ -14,7 +14,7 @@ ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" ENV{DM_STATE}=="SUSPENDED", GOTO="anaconda_end" -IMPORT{program}="vol_id --export $tempnode" +IMPORT{program}="blkid -o udev -p $tempnode" OPTIONS="link_priority=-100" ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" @@ -37,7 +37,7 @@ ENV{DEVTYPE}=="partition", ENV{MD_UUID}=="?*", SYMLINK+="disk/by-id/md-uuid-$env ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n" ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n" -IMPORT{program}="vol_id --export $tempnode" +IMPORT{program}="blkid -o udev -p $tempnode" OPTIONS+="link_priority=100" OPTIONS+="watch" ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}" -- cgit