2 changed files with 12 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
--- 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 |
Loading…
Reference in new issue