View Single Post
Old 06-16-2015, 08:27 PM   #50
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
I did a strace, it just wasn't very conclusive. I can only see the parts where it works on the database, I don't see it actually reading the files. Maybe that's hidden in another process somehow?

Code:
[pid  1216] lstat64("/mnt/onboard/NEWBOOKS/10384.epub", {st_mode=S_IFREG|0755, st_size=415487, ...}) = 0
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 645462820}) = 0
[pid  1216] fcntl64(25, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x36d0dfd8) = 0
[pid  1216] fcntl64(25, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0x36d0dfd8) = 0
[pid  1216] fcntl64(25, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0x36d0dfd8) = 0
[pid  1216] access("/mnt/onboard/.kobo/KoboReader.sqlite-journal", F_OK) = -1 ENOENT (No such file or directory)
[pid  1216] fstat64(25, {st_mode=S_IFREG|0755, st_size=23808000, ...}) = 0
[pid  1216] _llseek(25, 24, [24], SEEK_SET) = 0
[pid  1216] read(25, "\0\0\n\264\0\0Z\322\0\0\0\0\0\0\0\0", 16) = 16
[pid  1216] fstat64(25, {st_mode=S_IFREG|0755, st_size=23808000, ...}) = 0
[pid  1216] access("/mnt/onboard/.kobo/KoboReader.sqlite-wal", F_OK) = -1 ENOENT (No such file or directory)
[pid  1216] fstat64(25, {st_mode=S_IFREG|0755, st_size=23808000, ...}) = 0
[pid  1216] fcntl64(25, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741825, len=1}, 0x36d0e068) = 0
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 648696820}) = 0
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 648814195}) = 0
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 649031945}) = 0
[pid  1216] writev(26, [{"l\1\0\1\32\0\0\0\177\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\25\0\0\0com.kobo.adobe.Parser\0", 26}], 2) = 170
[pid  1216] gettimeofday({1434473391, 282060}, NULL) = 0
[pid  1216] poll([{fd=26, events=POLLIN}], 1, 25000) = 1 ([{fd=26, revents=POLLIN}])
[pid  1216] read(26, "l\2\1\1\0\0\0\0N\0\0\0005\0\0\0\6\1s\0\4\0\0\0:1.0\0\0\0\0"..., 2048) = 161
[pid  1216] read(26, 0x302ec648, 2048)  = -1 EAGAIN (Resource temporarily unavailable)
[pid  1216] writev(26, [{"l\1\1\1\210\0\0\0\200\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\203\0\0\0type='signal',sender='org.fr"..., 136}], 2) = 280
[pid  1216] writev(26, [{"l\1\0\1,\0\0\0\201\0\0\0w\0\0\0\1\1o\0\1\0\0\0/\0\0\0\0\0\0\0"..., 136}, {"'\0\0\0file:///mnt/onboard/NEWBOOKS"..., 44}], 2) = 180
[pid  1216] gettimeofday({1434473391, 287120}, NULL) = 0
[pid  1216] poll([{fd=26, events=POLLIN}], 1, 25000) = 1 ([{fd=26, revents=POLLIN}])
[pid  1216] read(26, "l\2\1\1\0\0\0\0P\0\0\0005\0\0\0\6\1s\0\4\0\0\0:1.0\0\0\0\0"..., 2048) = 72
[pid  1216] read(26, 0x302ec648, 2048)  = -1 EAGAIN (Resource temporarily unavailable)
[pid  1216] gettimeofday({1434473391, 288660}, NULL) = 0
[pid  1216] poll([{fd=26, events=POLLIN}], 1, 24999) = 1 ([{fd=26, revents=POLLIN}])
[pid  1216] read(26, "l\2\1\1\311\1\0\0005\0\0\0005\0\0\0\6\1s\0\4\0\0\0:1.0\0\0\0\0"..., 2048) = 529
[pid  1216] read(26, 0x302ec648, 2048)  = -1 EAGAIN (Resource temporarily unavailable)
[pid  1216] writev(26, [{"l\1\0\1,\0\0\0\202\0\0\0w\0\0\0\1\1o\0\1\0\0\0/\0\0\0\0\0\0\0"..., 136}, {"'\0\0\0file:///mnt/onboard/NEWBOOKS"..., 44}], 2) = 180
[pid  1216] gettimeofday({1434473391, 358273}, NULL) = 0
[pid  1216] poll([{fd=26, events=POLLIN}], 1, 25000) = 1 ([{fd=26, revents=POLLIN}])
[pid  1216] read(26, "l\2\1\1\230\4\0\0006\0\0\0005\0\0\0\6\1s\0\4\0\0\0:1.0\0\0\0\0"..., 2048) = 1248
[pid  1216] read(26, 0x302ec648, 2048)  = -1 EAGAIN (Resource temporarily unavailable)
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 731162445}) = 0
[pid  1216] _llseek(25, 10564608, [10564608], SEEK_SET) = 0
[pid  1216] read(25, "\2\0\0\0\3\1\350\0\0\0*Z\1\350\2\203\3D\1\200\0\265\0\32\0\32\0\0)\273\201\25"..., 1024) = 1024
[pid  1216] _llseek(25, 11040768, [11040768], SEEK_SET) = 0
[pid  1216] read(25, "\2\0\0\0\6\0L\0\0\0*R\3\200\3\33\2\255\1\354\1\33\0L\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] _llseek(25, 11039744, [11039744], SEEK_SET) = 0
[pid  1216] read(25, "\2\0\0\0\5\0007\0\0\0*%\2}\1\273\0\371\0007\3?\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] _llseek(25, 11046912, [11046912], SEEK_SET) = 0
[pid  1216] read(25, "\n\3C\0\10\0A\0\3\0\2\252\0021\1\265\0019\0\275\0A\3\204\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] stat64("/mnt/onboard/.kobo/KoboReader.sqlite", {st_mode=S_IFREG|0755, st_size=23808000, ...}) = 0
[pid  1216] open("/mnt/onboard/.kobo/KoboReader.sqlite-journal", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0755) = 27
[pid  1216] fstat64(27, {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
[pid  1216] geteuid32()                 = 0
[pid  1216] fchown32(27, 0, 0)          = 0
[pid  1216] fstat64(27, {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
[pid  1216] _llseek(27, 0, [0], SEEK_SET) = 0
[pid  1216] write(27, "\0\0\0\0\0\0\0\0\0\0\0\0\311\334\370\v\0\0Z\322\0\0\2\0\0\0\4\0\0\0\0\0"..., 512) = 512
[pid  1216] _llseek(27, 512, [512], SEEK_SET) = 0
[pid  1216] write(27, "\0\0*%", 4)      = 4
...
[pid  1216] _llseek(28, 6168, [6168], SEEK_SET) = 0
[pid  1216] write(28, "\0\0=\10", 4)    = 4
[pid  1216] _llseek(28, 6172, [6172], SEEK_SET) = 0
[pid  1216] write(28, "\n\0\0\0\t\0J\0\0\223\1P\2\r\2V\2\237\2\350\0J\0031\3\207\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] _llseek(28, 7196, [7196], SEEK_SET) = 0
[pid  1216] write(28, "\0\0=\t", 4)     = 4
[pid  1216] _llseek(28, 7200, [7200], SEEK_SET) = 0
[pid  1216] write(28, "\n\0\0\0\6\1\30\0\1\30\1\224\2\20\2\214\3\10\3\204\0#\3\204\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] _llseek(28, 8224, [8224], SEEK_SET) = 0
[pid  1216] write(28, "\0\0Z\334", 4)   = 4
[pid  1216] _llseek(28, 8228, [8228], SEEK_SET) = 0
[pid  1216] write(28, "\r\0\0\0\4\0029\0\3\217\3\35\2\253\0029\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 919661820}) = 0
[pid  1216] clock_gettime(CLOCK_MONOTONIC, {467, 919792070}) = 0
[pid  1216] stat64("/mnt/onboard/NEWBOOKS/10384.epub", {st_mode=S_IFREG|0755, st_size=415487, ...}) = 0
frostschutz is offline   Reply With Quote