diskparts: partfs no longer needed for usb drives

ment 2011-05-09 00:51:02 +02:00
parent 3d0ba195dd
commit a49ead2ce6
1 changed files with 0 additions and 7 deletions

View File

@ -5,13 +5,6 @@ rfork e
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