You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
401 B

--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -2315,6 +2315,8 @@ int mount_main(int argc UNUSED_PARAM, ch
// "proc") or a full path from root
if (argv[0]) {
+ // Check for UUID= or LABEL= entries too
+ resolve_mount_spec(&mtcur->mnt_fsname);
// Is this what we're looking for?
if (strcmp(argv[0], mtcur->mnt_fsname) != 0
&& strcmp(storage_path, mtcur->mnt_fsname) != 0