index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Simo Leone <simo@archlinux.org> | 2008-11-13 03:47:58 -0600 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2008-11-13 03:47:58 -0600 |
commit | b915eb670e251ff7995680bcfcc6676d55c470f0 (patch) | |
tree | 5981ee88dd5f9fcd1939921a0cc4cc475a11c7c4 /archiso/hooks | |
parent | aeffbb4753793644b86239da8fdcf98fb38479fc (diff) |
-rw-r--r-- | archiso/hooks/archiso | 2 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index f2b62fe..c8b6a1b 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -43,7 +43,7 @@ run_hook () /bin/modprobe -q isofs >/dev/null 2>&1 msg ":: Scanning cd drives..." - for cdrom in /dev/cd/*; do + for cdrom in /dev/hd[a-z] /dev/sr[0-9]* /dev/scd[a-z] /dev/sg[0-9]*; do if mount -r -t iso9660 "${cdrom}" ${bootmnt} >/dev/null 2>&1; then if [ -e "${bootmnt}/archiso.sqfs" ]; then found=1 |