diff options
Diffstat (limited to 'source/a')
-rw-r--r-- | source/a/sysvinit-scripts/scripts/rc.S | 7 | ||||
-rwxr-xr-x | source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.S b/source/a/sysvinit-scripts/scripts/rc.S index a4cfb4691..2e44be8be 100644 --- a/source/a/sysvinit-scripts/scripts/rc.S +++ b/source/a/sysvinit-scripts/scripts/rc.S @@ -220,8 +220,13 @@ if [ -z "$container" ]; then # If we're using F2FS for the root filesystem, don't check it as it doesn't # allow checking a read-only filesystem: if grep -q ' / f2fs ' /proc/mounts ; then - echo "Remounting root device with read-write enabled." + echo "Remounting f2fs root device with read-write enabled." /sbin/mount -w -v -o remount / + # If we're using bcachefs for the root filesystem(s), remount read-write + # and let bcachefs do its own fsck: + elif grep -q ' / bcachefs ' /proc/mounts ; then + echo "Remounting bcachefs root device(s) with read-write enabled." + /sbin/mount -o remount,rw,fsck / elif [ ! $READWRITE = yes ]; then # Check the root filesystem: RETVAL=0 diff --git a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild index 3c878d4f5..85c6fed9c 100755 --- a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild +++ b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sysvinit-scripts VERSION=${VERSION:-15.1} ARCH=noarch -BUILD=${BUILD:-18} +BUILD=${BUILD:-19} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information |