freebsd-dev/sys/conf
Kirk McKusick c7996ddf80 Create a new GEOM utility, gunion(8).
The gunion(8) utility is used to track changes to a read-only disk on
a writable disk. Logically, a writable disk is placed over a read-only
disk. Write requests are intercepted and stored on the writable
disk. Read requests are first checked to see if they have been
written on the top (writable disk) and if found are returned. If
they have not been written on the top disk, then they are read from
the lower disk.

The gunion(8) utility can be especially useful if you have a large
disk with a corrupted filesystem that you are unsure of how to
repair. You can use gunion(8) to place another disk over the corrupted
disk and then attempt to repair the filesystem. If the repair fails,
you can revert all the changes in the upper disk and be back to the
unchanged state of the lower disk thus allowing you to try another
approach to repairing it. If the repair is successful you can commit
all the writes recorded on the top disk to the lower disk.

Another use of the gunion(8) utility is to try out upgrades to your
system. Place the upper disk over the disk holding your filesystem
that is to be upgraded and then run the upgrade on it. If it works,
commit it; if it fails, revert the upgrade.

Further details can be found in the gunion(8) manual page.

Reviewed by: Chuck Silvers, kib (earlier version)
tested by:   Peter Holm
Differential Revision: https://reviews.freebsd.org/D32697
2022-02-28 16:36:08 -08:00
..
config.mk mips: Remove sys/mips 2021-12-30 20:57:24 -07:00
dtb.build.mk Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
dtb.mk Allow kernel config to specify DTS/DTSO to build, and out-of-tree support 2019-03-26 02:45:23 +00:00
files Create a new GEOM utility, gunion(8). 2022-02-28 16:36:08 -08:00
files.amd64 ice_ddp: Update to 1.3.27.0 2022-01-24 18:25:56 -08:00
files.arm arm: add dwc3 as a compilable driver 2021-12-23 10:36:51 -08:00
files.arm64 files: Make ext_resources non-optional 2022-02-21 17:29:06 +01:00
files.i386 x86: Speed up clock calibration 2022-01-12 12:34:07 -08:00
files.powerpc Fix a534b50e24 on powerpc. 2022-02-20 14:06:29 +01:00
files.riscv files: Make ext_resources non-optional 2022-02-21 17:29:06 +01:00
files.x86 x86/apic: remove apic_ops 2022-01-18 10:19:04 +01:00
kern.mk Disable -Wreturn-type on GCC. 2022-02-14 11:48:47 -08:00
kern.opts.mk Add clarifying comments 2022-01-02 00:30:58 -07:00
kern.post.mk Don't delete hack.c - causes perpetual 'out of date' kernel 2022-02-16 20:02:50 -08:00
kern.pre.mk Don't delete hack.c - causes perpetual 'out of date' kernel 2022-02-16 20:02:50 -08:00
kmod_syms_prefix.awk
kmod_syms.awk kmod_syms.awk: fix removal of the export list from the symbol table 2021-11-18 15:56:24 +02:00
kmod.mk Stop adding -Wredundant-decls to CWARNFLAGS. 2022-02-07 12:47:51 -08:00
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
ldscript.amd64 amd64: do not assume that kernel is loaded at 2M physical 2021-07-31 16:53:42 +03:00
ldscript.arm Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker 2019-12-29 18:17:12 +00:00
ldscript.arm64 arm64: add read_frequently, read_mostluy and exclusive_cache_line to linker script 2021-08-23 15:22:17 +02:00
ldscript.i386 Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.kmod.amd64 Move PLTs to the beginning of amd64 kernel modules. 2020-09-16 13:51:47 +00:00
ldscript.kmod.i386 Formalize the use of linker scripts for kernel modules. 2019-10-16 22:19:56 +00:00
ldscript.powerpc [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.powerpc64 [PowerPC] Fix build-id note on powerpc64 kernel 2020-06-01 19:40:59 +00:00
ldscript.powerpc64le [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
ldscript.powerpcspe [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.riscv Set the LMA of the riscv kernel to the OpenSBI jump target by default 2020-02-04 00:06:16 +00:00
Makefile.amd64 Don't try ctfconvert on file without debug info. 2020-04-28 16:09:25 +00:00
Makefile.arm ipq4018: add TCSR definitions from Linux. 2021-10-18 19:18:01 +00:00
Makefile.arm64 arm64: Don't rely on host readelf for u-boot booti image generation 2021-12-24 19:25:20 +00:00
Makefile.i386
Makefile.powerpc Stop adding -Wredundant-decls to CWARNFLAGS. 2022-02-07 12:47:51 -08:00
Makefile.riscv riscv: Add the device-tree path to the include path 2021-01-16 11:31:17 +01:00
newvers.sh newvers.sh: allow multiple -V args in one invocation 2022-02-12 11:06:54 -05:00
NOTES Remove an obsolete warning from NOTES 2022-01-03 13:00:50 -05:00
options options: Remove EXT_RESOURCES 2022-02-21 17:29:15 +01:00
options.amd64 linux(4): Get rid of Linuxulator kernel build options. 2021-06-22 08:32:39 +03:00
options.arm arm: allow the debug stuff in CP14 to be disabled at compile time 2021-10-18 19:18:56 +00:00
options.arm64 Per-thread stack canary on arm64 2021-11-26 14:44:00 +00:00
options.i386 Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
options.powerpc powerpc/pseries: Allow radix pmap in pseries for ISA 3.0 2021-08-11 19:07:04 -05:00
options.riscv
std.nodebug Exclude DEBUG_VFS_LOCKS from non-debug kernel configs 2022-02-02 19:27:32 +02:00
sysent.mk sysent: regenerate files every time 2021-12-16 20:56:28 -06:00
systags.sh Fix kernel-tags target. 2020-01-23 13:56:12 +00:00
vdso_amd64_ia32.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-12 00:32:23 +02:00
vdso_amd64.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-12 00:32:23 +02:00
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE retire cx,ctau drivers 2020-03-20 16:50:19 +00:00