mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>
From Boji Tony Kannanthanam <boji.t.kannanthanam@intel.com>: * util/grub-install.in (convert): Add support for ATARAID device names. * lib/device.c (get_ataraid_disk_name) [__linux__]: New function. (init_device_map) [__linux__]: Probe ATARAID disks. * stage2/size_test (check): Don't use the local statement any longer. It was unneeded actually. Reported by Paul Jarc.
This commit is contained in:
1 parent
9b1392428c
commit
b42b9b7e22
7 files changed
+46
-5
No files matched your search
@@ -92,10 +92,12 @@ convert () {
|
||||
case "$host_os" in
|
||||
linux*)
|
||||
tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
|
||||
-e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
|
||||
-e 's%\(fd[0-9]*\)$%\1%' \
|
||||
-e 's%/part[0-9]*$%/disc%' \
|
||||
-e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
|
||||
tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
|
||||
-e 's%.*d[0-9]*p*%%' \
|
||||
-e 's%.*/fd[0-9]*$%%' \
|
||||
-e 's%.*/floppy/[0-9]*$%%' \
|
||||
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
|
||||
|
||||
Reference in new issue
Block a user