Custom Query (1359 matches)
Results (118 - 120 of 1359)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#872 | fixed | TOSHIBA MG04ACA400EY | ||
#873 | duplicate | SAMSUNG-MZ7LN512HMJP-00000 | ||
Description |
SAMSUNG-MZ7LN512HMJP-00000 SAMSUNG-MZ7LN256HMJP-00000 |
|||
#921 | fixed | musl libc - canonicalize_file_name | ||
Description |
Hi there, I tried to build the new version (6.6) on Alpine Linux, unfortenally canonicalize_file_name is not not part of musl's stdlib. The issue was introduced in r4365: [r4365] (108.2 kB) by chrfranke 2016-11-10 19:42:24 os_linux.cpp: Don't detect devices behind hpsa driver as regular SCSI devices. Suggest to use '-d cciss,N' instead. Based on patch provided by Stanislav Brabec. https://sourceforge.net/p/smartmontools/code/4365/tree/trunk/smartmontools/os_linux.cpp I have patched os_linux.cpp with the following to make it work: --- a/os_linux.cpp +++ b/os_linux.cpp @@ -3176,7 +3176,7 @@ { char path[128]; snprintf(path, sizeof(path), "/sys/block/%s/device", name); - char * syshostpath = canonicalize_file_name(path); + char * syshostpath = realpath(path, NULL); if (!syshostpath) return false; http://man7.org/linux/man-pages/man3/canonicalize_file_name.3.html http://man7.org/linux/man-pages/man3/realpath.3.html |
Note:
See TracQuery
for help on using queries.