cvs commit: src/sbin/bsdlabel bsdlabel.c

Dag-Erling Smørgrav des at
Thu Aug 18 14:56:49 GMT 2005

Ian Dowse <iedowse at> writes:
>   Log:
>   Attempt to improve the logic for automatically sizing partitions
>   to take into account the new default of starting the first partition
>   after the boot blocks instead of at sector 0. If you used automatic
>   sizing when the first partition did not start at 0, you would get
>   an error that the automatically sized partition extended beyond the
>   end of the disk.
>   Note that there are probably still many more complex cases where
>   automatic sizing and placement will not work (e.g. non-contiguous
>   or out of order partitions).

I've tried to do this on and off without really getting anywhere.  I
believe the correct solution is to keep a list of slices ordered by
starting offset, and interpret '*' as "until the start of the next
partition, or the end of the device if there is no next partition"

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list