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

This commit is contained in:
okuji 2001-07-13 11:51:24 +00:00
parent 40c293d41e
commit cfbf950f5d
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2001-07-13 OKUJI Yoshinori <okuji@gnu.org>
* util/grub-install.in (convert): Recognize the naming scheme
for Linux devfs floppy devices. Reported by Jason Thomas
<jason@topic.com.au>.
2001-07-07 OKUJI Yoshinori <okuji@gnu.org>
* netboot/compile: New file. This was also missing... How many

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*)