In all prior versions of sysinstall a admin could create a 0 sized slice to indicate , use all available space left over after accounting for the other slice sizes.
It was the following disk layout was inuse by us for a number of years
ad4s1-1=ufs 0 / 1
ad4s1-2=ufs 20971520 /var 1
ad4s1-3=swap 8388608 none
After the conversion to pc-sysinstall in 9.0-RELEASE , this functionality was broken and the following layout would not work as; pc-sysinstall allocated all of the disks space and assigned it to slice 1 . It would not take the allocated sized of the other slices into account.
The bug was reported upstream to jpaetzel and kmoore who fixed it and commited r240315 to 9-STABLE.
This would be a big help to have this in the final version of 9.1-RELEASE .
How-To-Repeat: First off I am using pc-sysinstall to setup a PXE boot enviroment based network install for FreeBSD 9.1 .
I setup the following disk layout in a pc-sysinstall.conf which I passed to pc-sysinstall for an automated install .
disk0-part=UFS+SUJ 0 /
disk0-part=SWAP 2048 none
disk0-part=UFS+SUJ 10240 /var
During the install process pc-sysinstall would fail indicating there was no free space to create swap.
kmoore owns pc-sysinstall.
For bugs that match the following
- Status Is In progress
- Untouched since 2018-01-01.
- Affects Base System OR Documentation
Reset to open status.
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.