diskparts: partfs no longer needed for usb drives
parent
3d0ba195dd
commit
a49ead2ce6
|
@ -5,13 +5,6 @@ rfork e
|
||||||
if (! test -e /dev/sdctl)
|
if (! test -e /dev/sdctl)
|
||||||
bind -b '#S' /dev
|
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.
|
# set up any /dev/sd partitions.
|
||||||
# note that really big disks (e.g., aoe devices) may have no mbr
|
# 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
|
# partition table because the mbr partition table can't cope with large
|
||||||
|
|
Loading…
Reference in New Issue