lib/geom: remove redundant libraries and objectsDo not link lib/geom/raid with libmd, it is not required for the module.Do not include the sha256/sha512 code in lib/geom/eli, it is provided bylib
lib/geom: remove redundant libraries and objectsDo not link lib/geom/raid with libmd, it is not required for the module.Do not include the sha256/sha512 code in lib/geom/eli, it is provided bylibmd. Remove ${.CURDIR:H:H}/misc from .PATH for all modules. Thispath has stopped being valid when the GEOM modules were moved fromsbin/geom to lib/geom.Reviewed by: emasteDifferential Revision: https://reviews.freebsd.org/D47061
show more ...
Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
glabel.8: Describe cases related to permissions / existing mountsSpecially, note some requirements for label changes:- glabel requires write permission on device- filesystems first need to be un
glabel.8: Describe cases related to permissions / existing mountsSpecially, note some requirements for label changes:- glabel requires write permission on device- filesystems first need to be unmounted for new labels to persist across reboots- if the affected device node holds the filesystem root, single-user mode with r/o mount will be required.Also, while here, apply some formatting tweaks.PR: 276724Reported by: Alex Matei <matei35@yahoo.com>Reviewed by: gbe, jrm, Alexander Ziaee <concussious@runbox.com>Differential Revision: https://reviews.freebsd.org/D44394
man filesystems: fix xrefs after move to section 4Reviewed by: des, impPull Request: https://github.com/freebsd/freebsd-src/pull/1077
glabel: Add support for Linux swapReviewed by: imp, kibPull Request: https://github.com/freebsd/freebsd-src/pull/1205
glabel: Remove support for old reiserfsReviewed by: imp, emastePull Request: https://github.com/freebsd/freebsd-src/pull/1101
lib: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
lib: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
glabel.8: Warn against using generic labels on a shared deviceAlso suggest against creating a generic label on a device which alreadycontains a filesystem.PR: 264166Reviewed by: imp, delphij,
glabel.8: Warn against using generic labels on a shared deviceAlso suggest against creating a generic label on a device which alreadycontains a filesystem.PR: 264166Reviewed by: imp, delphij, Pau Amma <pauamma@gundo.com>MFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D35326
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
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
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