Hi,

context is freebsd 14.2-releng vm (amd64) that has been upgraded with freebsd-update from 13.4.

Decided to add another disk so invoking the vm looks like this:

# sh vmrun.sh -c 4 -m 16G -t tap2 -d ./vm.img -d ./disk1.img vmname

used gpart to create an MBR for disk1.img. tried to make slice/partition type like so:

root@vmname:/root# gpart add -t freebsd-ufs -a 1M -i 1 vtbd1
gpart: Invalid argument
root@vmname:/root# gpart add -t freebsd-ufs -a 1M vtbd1
gpart: Invalid argument

dropped off the -ufs in freebsd-ufs

root@vmname:/root# gpart add -t freebsd -a 1M vtbd1
vtbd1s1 added

Is this expected? The man page has both freebsd and freebsd-$thing, mentions
just plain freebsd is legacy for GPT and some others, no mention of MBR
in the context.
--

Reply via email to