[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] grub-installer: Handle disks with multi-letter names



Quoting Roland Dreier (roland@digitalvampire.org):

> diff --git a/grub-installer b/grub-installer
> index 95b6532..c8c1e74 100755
> --- a/grub-installer
> +++ b/grub-installer
> @@ -231,7 +231,7 @@ case $prefix in
>      /dev/mapper)
>  	disc_offered_devfs="$bootfs"
>  	;;
> -    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
> +    /dev/[hsv]d[a-z]|/dev/[sv]d[a-z][a-z]|/dev/[sv]d[a-z][a-z][a-z]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
>  	disc_offered_devfs="$prefix"
>  	;;

Why are you changing [a-z0-9} to [a-z]? 

Attachment: signature.asc
Description: Digital signature


Reply to: