From 12f6c5b69fc3b8fb8a955a5915a1e05471a17215 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 15 Jul 2021 13:47:24 +0200 Subject: [PATCH] btrbk: tidy mountinfo comments --- btrbk | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/btrbk b/btrbk index c9ee8e7..20c8862 100755 --- a/btrbk +++ b/btrbk @@ -1957,17 +1957,17 @@ sub system_list_mountinfo($) foreach(@$ret) { # https://www.kernel.org/doc/Documentation/filesystems/proc.txt - unless(/^(?[0-9]+) # mount ID: unique identifier of the mount (may be reused after umount) - \s(?[0-9]+) # parent ID: ID of parent (or of self for the top of the mount tree) - \s(?[0-9]+:[0-9]+) # major:minor: value of st_dev for files on filesystem - \s(?\S+) # root: root of the mount within the filesystem - \s(?\S+) # mount point: mount point relative to the process's root - \s(?\S+) # mount options: per mount options + unless(/^(?[0-9]+) # mount ID: unique identifier of the mount (may be reused after umount) + \s(?[0-9]+) # parent ID: ID of parent (or of self for the top of the mount tree) + \s(?[0-9]+:[0-9]+) # major:minor: value of st_dev for files on filesystem + \s(?\S+) # root: root of the mount within the filesystem + \s(?\S+) # mount point: mount point relative to the process's root + \s(?\S+) # mount options: per mount options (\s\S+)* # optional fields: zero or more fields of the form "tag[:value]" - \s- # separator: marks the end of the optional fields + \s- # separator: marks the end of the optional fields \s(?\S+) # filesystem type: name of filesystem of the form "type[.subtype]" - \s(?\S+) # mount source: filesystem specific information or "none" - \s(?\S+)$ # super options: per super block options + \s(?\S+) # mount source: filesystem specific information or "none" + \s(?\S+)$ # super options: per super block options /x) { ERROR "Failed to parse \"$vol->{URL_PREFIX}$file\"";