diff options
Diffstat (limited to 'isys/imount.c')
-rw-r--r-- | isys/imount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isys/imount.c b/isys/imount.c index 86db32c1d..91201b7ec 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -49,7 +49,8 @@ int doPwMount(char *dev, char *where, char *fs, char *options) { opts = strdup("nolock"); device = strdup(dev); } else { - if (strncmp(dev, "LABEL=", 6) && strncmp(dev, "UUID=", 5) && *dev != '/') + if (strstr(options, "bind") == NULL && strncmp(dev, "LABEL=", 6) && + strncmp(dev, "UUID=", 5) && *dev != '/') rc = asprintf(&device, "/dev/%s", dev); else device = strdup(dev); |