MFC r227231:
To be in sync with GEOM_PART_BSD limit the maximum number of supported
partitions to 20.
MFC r227248:
bsdlabel(8) could automatically fill many of disklabel's deprecated
fields, but user could specify some of those fields when edits disklabel
with `bsdlabel -e`. But without -A flag these fields might be
overwritten with default values from the virgin disklabel.
So, don't overwrite such fields if they are not zero. Also add checks
to prevent creating disklabel with less than DEFPARTITIONS and more
than MAXPARTITIONS partitions.
PR: bin/162332
Tested by: Eugene Grosbein
MFC r227262:
Remove unneeded checks.
MFC r227270:
Add recommendation to use gpart(8) when user tries write disklabel
or bootcode to already opened provider.
MFC r227296:
Fix multi-line comment formatting.
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227557
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC r227274:
Add reference to gpart(8).
MFC r227298:
Remove a note about disabling of GEOM protection mechanism.
boot0cfg should work without such hack.
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227554
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC r227409:
Do a dummy read to flush the interrupt ACK that we just performed,
ensuring that everything is really, truly consistent.
This fixes certain cases where one will see various:
mfi0: COMMAND 0xffffffXXXXXXXXXX TIMEOUT AFTER XX SECONDS
Submitted by: scottl
Ok'ed by: jhb
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227534
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFS r227450 (MFC r227449):
Fix false positive EADDRINUSE that could be returned by bind, due to
the typo made in r227207.
Reported by: kib
Tested by: kib
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227451
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227445
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f