On Sat, November 4, 2017 5:09 pm, Implausibility wrote: > Again, the interactive editor is way too many steps, too many > opportunities for screw-ups, and does nothing to streamline the process of > adding a new disk for me. > > So this is what I've come up with... > > fdisk -i sd1 > echo "/disk2 1M-* 100%" >/tmp/disktab.new > disklabel -w -dv -A -T /tmp/disktab.new sd1 && rm /tmp/disktab.new > newfs /dev/rsd1a > mkdir /disk2 > mount /dev/sd1a /disk2 > > This seems kludgy, but it is more automated / flexible, and best of all, > it works. > > I'm still curious to know if this is really the most efficient way of > doing this. > > Thanks. >
That's the way I do it. That's the way the automated installer does it...