Date: Thu, 18 Aug 2005 16:56:40 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Ian Dowse <iedowse@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/bsdlabel bsdlabel.c Message-ID: <864q9ncmzb.fsf@xps.des.no> In-Reply-To: <200508142246.j7EMkogU091288@repoman.freebsd.org> (Ian Dowse's message of "Sun, 14 Aug 2005 22:46:50 %2B0000 (UTC)") References: <200508142246.j7EMkogU091288@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse <iedowse@FreeBSD.org> 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. >=20=20=20 > 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" DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864q9ncmzb.fsf>