diff --git a/commands/mount.c b/commands/mount.c index 939e9bc..aa769d4 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -79,6 +79,8 @@ if (!strncmp(devstr, "/dev/", 5)) devstr += 5; + device_detect_by_name(devstr); + cdev = cdev_by_name(devstr); if (!cdev) return -ENOENT;