Control: tags -1 patch Thanks,
On Mon, Apr 04, 2022 at 12:48:07AM +0200, Thorsten Glaser wrote: > On Sun, 3 Apr 2022, Elliott Mitchell wrote: > > > Perhaps the test should be: "[A-Z][A-Z]*[A-Z][A-Z]=*"? > > No, that’s a shellglob, no BRE. > > I think it’s best here to update the list with whatever findfs(8) > comes up when it does come up; anything else would require either > ksh extglobs or really excessive parsing attempts few would want > to maintain. How the attached patch this seem? I will look at #677420/#724959 Mark
>From f2bb3c4db3b4b336f8bd74356ad13f2a24918f10 Mon Sep 17 00:00:00 2001 From: Mark Hindley <m...@hindley.org.uk> Date: Mon, 4 Apr 2022 10:08:38 +0100 Subject: [PATCH] mount-functions.sh: add PARTUUID and PARTLABEL support. Closes: #1008910 --- debian/src/initscripts/lib/init/mount-functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/src/initscripts/lib/init/mount-functions.sh b/debian/src/initscripts/lib/init/mount-functions.sh index 709323af..454006f0 100644 --- a/debian/src/initscripts/lib/init/mount-functions.sh +++ b/debian/src/initscripts/lib/init/mount-functions.sh @@ -32,8 +32,8 @@ selinux_enabled () { } # Read /etc/fstab, looking for: -# 1) The root filesystem, resolving LABEL=*|UUID=* entries to the -# device node, +# 1) The root filesystem, resolving LABEL=*|UUID=*|PARTUUID=*|PARTLABEL=* entries +# to the device node, # 2) Swap that is on a md device or a file that may be on a md # device, _read_fstab () { @@ -58,7 +58,7 @@ _read_fstab () { ;; /dev/*) ;; - LABEL=*|UUID=*) + LABEL=*|UUID=*|PARTUUID=*|PARTLABEL=*) if [ "$MTPT" = "/" ] && [ -x /sbin/findfs ] then DEV="$(findfs "$DEV")" -- 2.35.1