ppcrcd/trunk/initrd.dir/linuxrc

sparky cvs at pld-linux.org
Thu Mar 23 09:08:30 CET 2006


Author: sparky
Date: Thu Mar 23 09:08:27 2006
New Revision: 7291

Modified:
   ppcrcd/trunk/initrd.dir/linuxrc
Log:
- hfs+ if broken, try it only on partitions, not on whole devices


Modified: ppcrcd/trunk/initrd.dir/linuxrc
==============================================================================
--- ppcrcd/trunk/initrd.dir/linuxrc	(original)
+++ ppcrcd/trunk/initrd.dir/linuxrc	Thu Mar 23 09:08:27 2006
@@ -100,10 +100,11 @@
 		FOUND=""
 		checkcd iso9660
 		$B/test -n "$FOUND" || checkcd hfs
-		$B/test -n "$FOUND" || checkcd hfsplus
 		$B/test -n "$FOUND" || checkcd vfat
 		$B/test -n "$FOUND" || checkcd fat
 		
+		DRIVES=`$B/awk '/[hs]d[a-z][0-9]/ {gsub(/[0-9]+ +/,""); print}' /proc/partitions`
+		$B/test -n "$FOUND" || checkcd hfsplus
 	fi
 	
 	if $B/test -z "$FOUND"; then


More information about the pld-cvs-commit mailing list