Bug: https://bugs.gentoo.org/644586 Upstream fix: https://www.smartmontools.org/changeset/4603 --- smartmontools-6.6/os_linux.cpp +++ smartmontools-6.6/os_linux.cpp @@ -3177,5 +3177,5 @@ char path[128]; snprintf(path, sizeof(path), "/sys/block/%s/device", name); - char * syshostpath = canonicalize_file_name(path); + char * syshostpath = realpath(name, (char *)0); if (!syshostpath) return false;