]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the problem, when gpart(8) can't write both bootcode and partcode
authorae <ae@FreeBSD.org>
Mon, 11 Apr 2016 13:44:31 +0000 (13:44 +0000)
committerae <ae@FreeBSD.org>
Mon, 11 Apr 2016 13:44:31 +0000 (13:44 +0000)
commit26836fccd261358467b3d92e77ff4695af286de9
treefb6250cda883120da300e4d5d683b9ee405c9300
parent175f9d7444496870348fb2dc23d1b9fa87c8088c
Fix the problem, when gpart(8) can't write both bootcode and partcode
in one command due to wrong file size limit. Do not use bootcode size
to calculate partsize limit.
Also add report message about successful partcode writing.

Reported by: Trond Endrestøl
MFC after: 2 weeks
sbin/geom/class/part/geom_part.c