From: Adolf Belka Date: Thu, 15 Jan 2026 14:00:08 +0000 (+0100) Subject: update.sh: Don't allow update if reiserfs used X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1014822a721b4dfab994f4298af6bcba09f4c0;p=ipfire-2.x.git update.sh: Don't allow update if reiserfs used Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/200/update.sh b/config/rootfiles/core/200/update.sh index 40e07cc8d..b9a1e14f0 100644 --- a/config/rootfiles/core/200/update.sh +++ b/config/rootfiles/core/200/update.sh @@ -71,6 +71,10 @@ if [ $BOOTSIZE -lt 100000 ]; then exit_with_error "ERROR cannot update. BOOT partition is to small." 3 fi +# Check if reiser filesystem is used +if [ `/bin/grep -c "reiserfs" /proc/self/mounts` > 0 ]; then + exit_with_error "ERROR cannot update because reiserfs no longer supported by kernel." 4 + # Remove the old kernel rm -rvf \ /boot/System.map-* \