git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@49
67a159dc-881f-0410-a524-
ba9dfbe2cb84
}
findcdmount() {
- if [ "$#" -gt "1" ]
+ if [ "$#" -gt "0" ]
then
for x in $*
do
if [ "${CDROOT}" -eq "1" ]
then
mount -t tmpfs tmpfs /newroot
- mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp/.initrd /newroot/mnt/gentoo
+ mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp /newroot/tmp/.initrd /newroot/mnt/gentoo
[ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev
devfsd /newroot/dev
sleep 1