Remove $FreeBSD$: two-line nroff patternRemove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
show more ...
Update/fix Makefile.depend for userland
pkgbase: Put geom utilities in their own packageFor most users it's not needed to boot and they are alsoavailable in the FreeBSD-rescue package in case an updatebreak and FreeBSD-geom package isn
pkgbase: Put geom utilities in their own packageFor most users it's not needed to boot and they are alsoavailable in the FreeBSD-rescue package in case an updatebreak and FreeBSD-geom package isn't updated correctly.Differential Revision: https://reviews.freebsd.org/D36224
Add information on how to load gmirror on boot to auto activate mirrorsPR: 234997Reported by: Michiel van Baak <[email protected]>Event: Aberdeen Hackathon 2022Differential Revision: https
Add information on how to load gmirror on boot to auto activate mirrorsPR: 234997Reported by: Michiel van Baak <[email protected]>Event: Aberdeen Hackathon 2022Differential Revision: https://reviews.freebsd.org/D20577
gmirror.8: Remove references rc.earlyThe manual page of gmirror describes how gmirror providers can be usedfor kernel dumps. Unfortunately, the instruction references/etc/rc.early, which is no lo
gmirror.8: Remove references rc.earlyThe manual page of gmirror describes how gmirror providers can be usedfor kernel dumps. Unfortunately, the instruction references/etc/rc.early, which is no longer a part of rc(8).Remove references to rc.early and suggest creating an rc(8) servicescript instead.Future work: In the Problem Report on Bugzilla, Lawrence Chen suggestedadding example rc(8) scripts to the gmirror. However, those examplesneed to be tested before they become official reference examples in thebase. Also, those scripts should probably land directly to /etc/rc.d,/usr/share/examples/rc.d, or /usr/share/examples/gmirror instead of thegmirror manual page.PR: 178818Reported by: Lawrence Chen <[email protected]>Fixes: dd2b024a336f Removal of early.shMFC after: 1 week
GEOM: Introduce partial confxml APITraditionally the GEOM's primary channel of information from kernel touser-space was confxml, fetched by libgeom through kern.geom.confxmlsysctl. It is conveni
GEOM: Introduce partial confxml APITraditionally the GEOM's primary channel of information from kernel touser-space was confxml, fetched by libgeom through kern.geom.confxmlsysctl. It is convenient and informative, representing full state ofGEOM in a single XML document. But problems start to arise on systemswith hundreds of disks, where the full confxml size reaches manymegabytes, taking significant time to first write it and then parse.This patch introduces alternative solution, allowing to fetch muchsmaller XML document, subset of the full confxml, limited to 64KB andrepresenting only one specified geom and optionally its parents. Ituses existing GEOM control interface, extended with new "getxml" verb.In case of any error, such as the buffer overflow, it just transparentlyfalls back to traditional full confxml. This patch uses the new API inuser-space GEOM tools where it is possible.Reviewed by: impMFC after: 2 monthSponsored by: iXsystems, Inc.Differential Revision: https://reviews.freebsd.org/D34529
Normalize the g(eom,cache,part,...) build.Rather then combining hardlink creation for the geom(8) binary withshared library build, move libraries to src/lib/geom so they arebuilt and installed no
Normalize the g(eom,cache,part,...) build.Rather then combining hardlink creation for the geom(8) binary withshared library build, move libraries to src/lib/geom so they arebuilt and installed normally. Create a common Makefile.classeswhich is included by both lib/geom/Makefile and sbin/geom/Makefileso the symlink and libraries stay in sync.The relocation of libraries allows libraries to be build for 32-bitcompat. This also reduces the number of non-standard builds inthe system.This commit is not sufficent to run a 32-bit /sbin/geom on a 64-bitsystem out of the box as it will look in the wrong place for librariesunless GEOM_LIBRARY_PATH is set appropriatly in the environment.Reviewed by: bdrewerySponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D15360