shithub: riscv

Download patch

ref: a49ead2ce68e4f973d644aaae5db629b767dcfef
parent: 3d0ba195dd1ca583accef3ae040a850745660bba
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
--