Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2015 16:36:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195174] bsdinstall(8) does not align partitions at 4k (or more)
Message-ID:  <bug-195174-8-IShbwG4YDF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195174-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195174-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195174

--- Comment #8 from Mark.Martinec@ijs.si ---
The only waste when aligning the boot partition at 512k (1024 blocks)
instead of 4k (40 blocks) is 492 kilobytes wasted. All partitions
that follow will be 1M aligned with no waste (assuming boot partition
is 512kB in size, which seems to be a recommended size nowadays).

I think that we are way past the times where one would care for a
wasted 0.48 MB on a disk (1024-40)*512./1024/1024. Those that build
appliances on microcontrollers have other worries anyway and do not
care for bsdinstall.

1MB alignment is beneficial for SSD devices, some of which do not
care to report physical sector size. Consider also tiny computers
that run off an SD card or USB key. And 0.48 MB wasted on a
spinning disk seems like a non-issue to me.

Even Microsoft is now aligning all partitions at 1MB, regardless
of the underlying media (according to Wikipedia).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195174-8-IShbwG4YDF>