sudo hdparm -H /dev/sdc:
/dev/sdc:
HDIO_DRIVE_CMD(hitachisensecondition) failed: Input/output error
strace smartctl -A /dev/sdc:
execve("/usr/bin/smartctl", ["smartctl", "-A", "/dev/sdc"], 0x7ffc75395870 /* 63 vars */) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
brk(NULL) = 0x559e4ca5b000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fff715138e0) = -1 EINVAL (Nepřípustný argument)
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=176319, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 176319, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f10963f4000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\263\352\353\313SiHub\345-\330\320\26\311\315"..., 36, 800) = 36
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=19200288, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f10963f2000
mmap(NULL, 2320384, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1096000000
mmap(0x7f1096099000, 1138688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x99000) = 0x7f1096099000
mmap(0x7f10961af000, 487424, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1af000) = 0x7f10961af000
mmap(0x7f1096226000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x225000) = 0x7f1096226000
mmap(0x7f1096234000, 10240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1096234000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=571888, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 127304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10963d2000
mmap(0x7f10963d5000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f10963d5000
mmap(0x7f10963ec000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f10963ec000
mmap(0x7f10963f0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7f10963f0000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0@\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 80, 848) = 80
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0`\337\35\363\37\2\247\262=\250>\216\371#5\230"..., 68, 928) = 68
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2100888, ...}, AT_EMPTY_PATH) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2146032, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1095c00000
mprotect(0x7f1095c28000, 1904640, PROT_NONE) = 0
mmap(0x7f1095c28000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f1095c28000
mmap(0x7f1095da0000, 360448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x7f1095da0000
mmap(0x7f1095df9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f8000) = 0x7f1095df9000
mmap(0x7f1095dff000, 52976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1095dff000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=940448, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 942304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10962eb000
mmap(0x7f10962f9000, 495616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f10962f9000
mmap(0x7f1096372000, 385024, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x87000) = 0x7f1096372000
mmap(0x7f10963d0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe4000) = 0x7f10963d0000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f10962e9000
arch_prctl(ARCH_SET_FS, 0x7f10962ea240) = 0
set_tid_address(0x7f10962ea510) = 55962
set_robust_list(0x7f10962ea520, 24) = 0
rseq(0x7f10962eabe0, 0x20, 0, 0x53053053) = 0
mprotect(0x7f1095df9000, 16384, PROT_READ) = 0
mprotect(0x7f10963d0000, 4096, PROT_READ) = 0
mprotect(0x7f10963f0000, 4096, PROT_READ) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f10962e7000
mprotect(0x7f1096226000, 53248, PROT_READ) = 0
mprotect(0x559e4be8d000, 61440, PROT_READ) = 0
mprotect(0x7f1096455000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f10963f4000, 176319) = 0
getrandom("\xe6\x95\x5e\x01\xd3\xa4\x3f\xad", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x559e4ca5b000
brk(0x559e4ca7c000) = 0x559e4ca7c000
uname({sysname="Linux", nodename="dtm", ...}) = 0
newfstatat(1, "", {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0
write(1, "smartctl 7.3 2022-02-28 r5338 [x"..., 74smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.18.1-arch1-1] (local build)
) = 74
write(1, "Copyright (C) 2002-22, Bruce All"..., 76Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
) = 76
write(1, "\n", 1
) = 1
access("/etc/smart_drivedb.h", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
access("/usr/share/smartmontools/drivedb.h", F_OK) = 0
openat(AT_FDCWD, "/usr/share/smartmontools/drivedb.h", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=234401, ...}, AT_EMPTY_PATH) = 0
read(3, "/*\n * drivedb.h - smartmontools "..., 4096) = 4096
read(3, "raw48,End-to-End_Error \"\n // "..., 4096) = 4096
read(3, " with APSDM002G15AN-CT/SFDDA01C "..., 4096) = 4096
brk(0x559e4ca9d000) = 0x559e4ca9d000
read(3, "Device_User_Capacity \"\n \"-v 1"..., 4096) = 4096
read(3, " \"\",\n \"This drive may hang "..., 4096) = 4096
brk(0x559e4cabf000) = 0x559e4cabf000
read(3, "Fail_Count \"\n \"-v 172,raw48,E"..., 4096) = 4096
read(3, "-v 197,raw48,Current_Pending_Sec"..., 4096) = 4096
read(3, "e, tested with\n // Corsair "..., 4096) = 4096
read(3, "/ SDSSDX240GG25/R201\n \"SanDis"..., 4096) = 4096
brk(0x559e4cae0000) = 0x559e4cae0000
brk(0x559e4cb01000) = 0x559e4cb01000
read(3, "TON OM8P0S364B-A0/SBFK62A3,\n "..., 4096) = 4096
read(3, "\" // tested with Supermicro SSD-"..., 4096) = 4096
read(3, "\n //\"-v 233,raw48,Media_Wearout"..., 4096) = 4096
read(3, "wer_On_Hours \"\n //\"-v 10,raw48,"..., 4096) = 4096
read(3, "ME3/S15A19,\n // SATADOM-MV "..., 4096) = 4096
read(3, " \"-v 192,raw48,Unsafe_Shutdow"..., 4096) = 4096
read(3, "imed Workload Media Wear Indicat"..., 4096) = 4096
read(3, "B\"\n },\n { \"Intel 53x and Pro 1"..., 4096) = 4096
read(3, "8 can be reset by 'smartctl -t v"..., 4096) = 4096
read(3, " \"-v 241,raw48,Host_Writes_32M"..., 4096) = 4096
read(3, "w48,Workld_Media_Wear_Indic \" //"..., 4096) = 4096
read(3, "st_Reads_GiB \"\n \"-v 250,raw48"..., 4096) = 4096
read(3, ",Total_LBAs_Written \" // FW S"..., 4096) = 4096
read(3, " 500GB/RVT41B6Q,\n // Samsun"..., 4096) = 4096
read(3, "/\"-v 178,raw48,Used_Rsvd_Blk_Cnt"..., 4096) = 4096
read(3, "SDH3 4T00\n \"-v 171,raw48,Prog"..., 4096) = 4096
read(3, "-v 174,raw48,Unexpect_PwrLoss_Ct"..., 4096) = 4096
read(3, "2|64)GMSA630|\" // MSA630 mSATA S"..., 4096) = 4096
read(3, "005|P0510E|P0725A|Q(0627|1107)A0"..., 4096) = 4096
read(3, "ietary_MP \"\n \"-v 112,hex64,Pr"..., 4096) = 4096
read(3, "123468AG][OF]A[56]AA\",\n \"\", \""..., 4096) = 4096
read(3, "fminutes -v 194,10xCelsius -F sa"..., 4096) = 4096
read(3, " firmware *-25...34, tested with"..., 4096) = 4096
read(3, "603|804)H\",\n \"\",\n \"\",\n "..., 4096) = 4096
read(3, "//\"-v 188,raw48,Command_Timeout "..., 4096) = 4096
read(3, "iamondMax 80\",\n \"Maxtor (9819"..., 4096) = 4096
read(3, "JN]4230[23]0F9AT00\",\n \"\",\n "..., 4096) = 4096
read(3, "SA)00\",\n \"\", \"\", \"\"\n },\n { "..., 4096) = 4096
read(3, "210(25|32|50|75|10)DLE630\",\n "..., 4096) = 4096
read(3, " \"-v 22,raw48,Helium_Level \"\n "..., 4096) = 4096
read(3, " // TOSHIBA MQ01UBB200/34MATMZ5"..., 4096) = 4096
read(3, " HDWL1[12]0\",\n \"\", \"\", \"\"\n }"..., 4096) = 4096
read(3, "/215451en\\n\"\n \"https://superu"..., 4096) = 4096
read(3, "ware\n \"ST3(160813|320[68]13|5"..., 4096) = 4096
read(3, "[012]-.*\",\n \"\", \"\",\n \"-v 1"..., 4096) = 4096
read(3, "T1000NM0055, ST4000NM0045,\n // "..., 4096) = 4096
read(3, ".2\", // tested with ST31000322CS"..., 4096) = 4096
read(3, "o ZA(240|480|960|1920|3840)NX100"..., 4096) = 4096
read(3, "2,raw48,Host_Reads_GiB \"\n \"-v"..., 4096) = 4096
read(3, "0)00AAJS)-.*\",\n \"\", \"\", \"\"\n "..., 4096) = 4096
read(3, "|AZE)X-.*\",\n // old series: W"..., 4096) = 4096
read(3, "H01,\n // WDC WD141KRYZ-01C6"..., 4096) = 4096
read(3, "\"USB: ViPowER USB3.0 Storage; \","..., 4096) = 4096
read(3, "us\n { \"USB: ; SunPlus\",\n \"0x"..., 4096) = 4096
read(3, "rted\n },\n // Prolific\n { \"USB"..., 4096) = 4096
read(3, "TA (unsupported)\n },\n // Addon"..., 4096) = 4096
read(3, " { \"USB: ; JMicron \", // USB->SA"..., 4096) = 4096
read(3, " \"\",\n \"-d sat\"\n },\n { \"US"..., 4096) = 4096
read(3, " { \"USB: SimpleTech;\", // USB 3."..., 4096) = 929
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/share/zoneinfo/GMT", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=114, ...}, AT_EMPTY_PATH) = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=114, ...}, AT_EMPTY_PATH) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 114
lseek(3, -60, SEEK_CUR) = 54
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 60
close(3) = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=2301, ...}, 0) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2301, ...}, AT_EMPTY_PATH) = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2301, ...}, AT_EMPTY_PATH) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2301
lseek(3, -1461, SEEK_CUR) = 840
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 1461
close(3) = 0
newfstatat(AT_FDCWD, "/dev/sdc", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x8, 0x20), ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/sys/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
newfstatat(AT_FDCWD, "/sys/block/sdc/device/..", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
access("/sys/block/sdc/device/../idVendor", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
newfstatat(AT_FDCWD, "/sys/block/sdc/device/../..", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
access("/sys/block/sdc/device/../../idVendor", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
newfstatat(AT_FDCWD, "/sys/block/sdc/device/../../..", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
access("/sys/block/sdc/device/../../../idVendor", F_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
newfstatat(AT_FDCWD, "/sys/block/sdc/device/../../../..", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
access("/sys/block/sdc/device/../../../../idVendor", F_OK) = 0
openat(AT_FDCWD, "/sys/block/sdc/device/../../../../idVendor", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "174c\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/block/sdc/device/../../../../idProduct", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "55aa\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/block/sdc/device/../../../../bcdDevice", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "0100\n", 4096) = 5
close(3) = 0
uname({sysname="Linux", nodename="dtm", ...}) = 0
openat(AT_FDCWD, "/dev/sdc", O_RDONLY|O_NONBLOCK) = -1 EACCES (Operace zamítnuta)
write(1, "Smartctl open device: /dev/sdc ["..., 63Smartctl open device: /dev/sdc [SAT] failed: Permission denied
) = 63
exit_group(2) = ?
+++ exited with 2 +++
strace hdparm -H /dev/sdc:
execve("/usr/bin/hdparm", ["hdparm", "-H", "/dev/sdc"], 0x7ffe7a8a4d60 /* 63 vars */) = 0
brk(NULL) = 0x5648e2469000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffd27a60130) = -1 EINVAL (Nepřípustný argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (Adresář nebo soubor neexistuje)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=176319, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 176319, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc1aaf0c000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0@\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 80, 848) = 80
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0`\337\35\363\37\2\247\262=\250>\216\371#5\230"..., 68, 928) = 68
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2100888, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc1aaf0a000
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2146032, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc1aac00000
mprotect(0x7fc1aac28000, 1904640, PROT_NONE) = 0
mmap(0x7fc1aac28000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7fc1aac28000
mmap(0x7fc1aada0000, 360448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x7fc1aada0000
mmap(0x7fc1aadf9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f8000) = 0x7fc1aadf9000
mmap(0x7fc1aadff000, 52976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc1aadff000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc1aaf07000
arch_prctl(ARCH_SET_FS, 0x7fc1aaf07740) = 0
set_tid_address(0x7fc1aaf07a10) = 56971
set_robust_list(0x7fc1aaf07a20, 24) = 0
rseq(0x7fc1aaf080e0, 0x20, 0, 0x53053053) = 0
mprotect(0x7fc1aadf9000, 16384, PROT_READ) = 0
mprotect(0x5648e22b0000, 4096, PROT_READ) = 0
mprotect(0x7fc1aaf6d000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7fc1aaf0c000, 176319) = 0
openat(AT_FDCWD, "/dev/sdc", O_RDONLY|O_NONBLOCK) = -1 EACCES (Operace zamítnuta)
dup(2) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
getrandom("\xe5\x90\x24\x80\x87\xc0\xb4\x72", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x5648e2469000
brk(0x5648e248a000) = 0x5648e248a000
newfstatat(3, "", {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0
write(3, "/dev/sdc: Permission denied\n", 28/dev/sdc: Permission denied
) = 28
close(3) = 0
exit_group(13) = ?
+++ exited with 13 +++
sudo hdparm -H /dev/sda | grep is: | rev | cut -f 1 -d " " | rev:
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-18
sudo smartctl -A /dev/sda | grep elsius | rev | cut -f 3 -d " " | rev:
vrací jenom prompt
sudo hdparm -H /dev/sdc | grep is: | rev | cut -f 1 -d " " | rev:
HDIO_DRIVE_CMD(hitachisensecondition) failed: Input/output error