summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-12-21 06:25:17 +0000
committerMark Guertin <gerk@gentoo.org>2002-12-21 06:25:17 +0000
commitad317d2fe4619151ad0ef327f391b8d5085d3074 (patch)
tree3d58dbf400b9dabcec832397923028b763b31cbb /sys-apps
parentadded dual boot menu delay (diff)
downloadgentoo-2-ad317d2fe4619151ad0ef327f391b8d5085d3074.tar.gz
gentoo-2-ad317d2fe4619151ad0ef327f391b8d5085d3074.tar.bz2
gentoo-2-ad317d2fe4619151ad0ef327f391b8d5085d3074.zip
fix to not scan CDROM for dual boot partitions
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/yaboot/files/yabootconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/yaboot/files/yabootconfig b/sys-apps/yaboot/files/yabootconfig
index ccaca8529827..afe058e9221e 100644
--- a/sys-apps/yaboot/files/yabootconfig
+++ b/sys-apps/yaboot/files/yabootconfig
@@ -264,7 +264,7 @@ dualboot()
for i in $DRIVELIST
do
- HFS=`mac-fdisk -l "/dev/$i" | grep '\<Apple_HFS\>' | cut -d" " -f1`
+ HFS=`mac-fdisk -l "/dev/$i" | grep '\<Apple_HFS\>' | grep -v "CDROM" | cut -d" " -f1`
for h in $HFS
do
if [ !-x `hpmount -r $h` > /dev/null 2>&1 ] ; then