Fix a problem when you specify a Linux devfs floppy device name to grub-install.

This commit is contained in:
okuji committed 2001-07-13 11:51:24 +00:00
1 parent 40c293d41e
commit cfbf950f5d
2 files changed
+7

No files matched your search

+1
View File
@@ -81,6 +81,7 @@ convert () {
-e 's%/part[0-9]*$%/disc%'`
tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
-e 's%.*/fd[0-9]*$%%' \
-e 's%.*/floppy/[0-9]*$%%' \
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'`
;;
gnu*)