git: 9front

Download patch

ref: 33c3e069befdb874e2faa351f41e492a1295ade6
parent: dbe86d9d20f5be449f532e198f402cb1c983fcd9
author: ment <thement@ibawizard.net>
date: Sun May 8 20:51:02 EDT 2011

diskparts: partfs no longer needed for usb drives

--- a/rc/bin/diskparts
+++ b/rc/bin/diskparts
@@ -5,13 +5,6 @@
 if (! test -e /dev/sdctl)
 	bind -b '#S' /dev
 
-# attach partfs to usb disks
-for(disk in /dev/sdU*[0-9]){
-	pdev=`{echo $disk | sed 's,^/dev/(.*),\1p,'}
-	if(! test -d /dev/$pdev && test -f $disk/data)
-		disk/partfs -d $pdev $disk/data
-}
-
 # set up any /dev/sd partitions.
 # note that really big disks (e.g., aoe devices) may have no mbr
 # partition table because the mbr partition table can't cope with large
--