diff options
author | ment <thement@ibawizard.net> | 2011-05-09 00:51:02 +0200 |
---|---|---|
committer | ment <thement@ibawizard.net> | 2011-05-09 00:51:02 +0200 |
commit | a49ead2ce68e4f973d644aaae5db629b767dcfef (patch) | |
tree | ba764faf5d2d04d5ad2330af655af54750e5e4ed /rc/bin/diskparts | |
parent | 3d0ba195dd1ca583accef3ae040a850745660bba (diff) |
diskparts: partfs no longer needed for usb drives
Diffstat (limited to 'rc/bin/diskparts')
-rwxr-xr-x | rc/bin/diskparts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/rc/bin/diskparts b/rc/bin/diskparts index 2052227ce..86ab47729 100755 --- a/rc/bin/diskparts +++ b/rc/bin/diskparts @@ -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 |