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.
12 lines
401 B
12 lines
401 B
6 years ago
|
--- a/util-linux/mount.c
|
||
|
+++ b/util-linux/mount.c
|
||
6 years ago
|
@@ -2323,6 +2323,8 @@ int mount_main(int argc UNUSED_PARAM, ch
|
||
6 years ago
|
// "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
|