search for: rootname

Displaying 3 results from an estimated 3 matches for "rootname".

Did you mean: root_name
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.
2010 May 13
0
[PATCH] Replace the HAL calls with udev/systool calls.
...ev/null); do if [[ ! "$dev" =~ p[0-9]+\$ ]]; then @@ -518,6 +469,26 @@ EOF return ${is_negative-0} } +# Retrieves the UUID for the specified device. +# $1 - the device +# $2 - the variable to be set +get_uuid() +{ + local device=${1-} + local envvar=${2-} + local rootname + + if [[ "$device" =~ "^.*[0-9]?$" ]]; then + rootname="${device:0:${#device}-1}" + fi + local uuid=$( + udevadm info --path=/sys/block/$rootname/$device --query=property | + awk '/ID_FS_UUID=/ { match($0, "ID_FS_UUID=(.*)",...
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure that all multipath devices are excluded in the list of available drives. Only drives with an identified bus are included in the list now.