bin/161720: bsdinstall(8): partition editor does not put partitions on even 4K boundaries

Dennis Yusupoff dyr at smartspb.net
Tue Oct 25 12:20:12 UTC 2011


The following reply was made to PR bin/161720; it has been noted by GNATS.

From: Dennis Yusupoff <dyr at smartspb.net>
To: bug-followup at FreeBSD.org, wblock at wonkity.com
Cc:  
Subject: Re: bin/161720: bsdinstall(8): partition editor does not put partitions
 on even 4K boundaries
Date: Tue, 25 Oct 2011 13:27:02 +0400

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigBFEDB1EA657101A7650BAC7B
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 While I agree with you in need of aligning [first] partition, I'd like
 to behold, that gpart show size in blocks, not in megabytes, so to align
 partition to 1 mbyte on 4K-align HDDs you might execute "gpart add -b
 2048 -s 64K -t freebsd-boot ada0" ( 2048 blocks * 4096 kbytes =3D 8 Mbyte=
 ,
 in case of "plain" HDD 2048 blocks * 512 bytes =3D 1 Mbyte, which, I
 think, is a pretty good).
 Moreover, I don't see why freebsd-boot partition should be more than
 512K, if even 64K are currently just enough for FreeBSD. Looks like old
 and famous Bill Gates's sentence, I know, but however :)
 
 --=20
 With best regards,
 Dennis Yusupoff,
 network engineer of
 Smart-Telecom ISP
 Russia, Saint-Petersburg=20
 
 
 
 --------------enigBFEDB1EA657101A7650BAC7B
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJOpoDmAAoJEBUTaqBS2NB4dG4H/iyeEhbN8RUJvOG8Ow+c8D5b
 sLWd0XsGx7kKqlKVhTvrtTZSuCDxLGsynNvnO+iSBqFPeajOhThbw2w0CEj9XEEj
 DBVGL2KgwJl0Ye7wc6Tzjddbd7i9bELK41MM3k4iUgHlZA/qCdhLl9cPt28PQA0T
 GnDPjBCfQoMZXqncAHI+UmNga11LWQYQ0pO0BtD4Cv9a+RhPTIbZaMc9BcFlJSoP
 YNkNrW8R278bl4wUIc244hK5FDjRfvyzBgcFj3BB6ZMMHZTrmGM9swLBK7HMnQOs
 +Zke+0HPSZ0o3idpnlOgDggx6zX4PTR2ZAkNi3+xxfqoOfHeKDj2TPoU84EKyik=
 =TjYH
 -----END PGP SIGNATURE-----
 
 --------------enigBFEDB1EA657101A7650BAC7B--


More information about the freebsd-sysinstall mailing list