From: Benjamin Drung Date: Wed, 4 Feb 2026 12:57:19 +0000 (+0100) Subject: feat: merge rd.overlayfs into rd.overlay X-Git-Tag: 110~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d90c59bb28e80a8a3d6e14ecf499aeba00896a15;p=thirdparty%2Fdracut-ng.git feat: merge rd.overlayfs into rd.overlay Having both `rd.overlayfs` and `rd.overlay` is confusing. Standardize on using `rd.overlay` for the overlayfs Dracut module. Merge `rd.overlayfs` into `rd.overlay`. `rd.overlay` can be a boolean or point to a storage device now. Commit b77ae7eb8523 ("feat: rename rd.live.overlay.overlayfs to rd.overlayfs") introduced `rd.overlayfs` after the release 109. So no Dracut release included `rd.overlayfs` and therefore no backward compatility for `rd.overlayfs` is needed. --- diff --git a/man/dracut.cmdline.7.adoc b/man/dracut.cmdline.7.adoc index eff195fc7..789348618 100644 --- a/man/dracut.cmdline.7.adoc +++ b/man/dracut.cmdline.7.adoc @@ -1090,7 +1090,7 @@ OverlayFS ~~~~~~~~~ Requires the dracut 'overlayfs' module. -**rd.overlayfs=**1:: +**rd.overlay**:: Enables the use of the *OverlayFS* kernel module, if available, to provide a copy-on-write union directory for the root filesystem. OverlayFS overlays are directories of the files that have changed on the read-only base (lower) @@ -1177,7 +1177,7 @@ filesystem, which often provide only a small number of gigabytes of free space. This shortage could be remedied by building the root filesystem with more allocated free space, or the OverlayFS based overlay mount method can be used. -When the _rd.overlayfs_ option is specified or when +When the _rd.overlay_ option is specified or when _rd.overlay=_ points to an appropriate directory with a sister at `/../ovlwork`, then an OverlayFS based overlay mount is employed. Such a persistent OverlayFS overlay can extend the available root filesystem storage @@ -1354,7 +1354,7 @@ where _