View Single Post
Old 05-14-2016, 10:59 AM   #8
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Yourcat View Post
Afaik /etc is a folder in / and thus writable after the remount.
'find /etc/kdb.sec -name t1_timeout' should return the files. 'cat /path-to/t1_timeout' should display the contents and in the last line '600'. Setting this to 1800 may work for some Kindles.
I need to test this locally, hopefully /etc/kdb.sys is not a cramfs.

http://www.mobileread.mobi/forums/sh...d.php?t=220810 describes how to restart the 10min timer.
/etc is
/etc/kdb.sec is not (different file system)

You must be thinking 'Windows' -
*nix systems are 'single root' file trees (not per backing store) -
and any directory (a.k.a: folder) may have a file system attached to it (I.E: mounted).
Each mount point has its own mount options.
and in the case of kdb.src, the file system attached there does not support write operations - create and read only.

At the command line, type the command:
mount
to list all the active mount points.

There you will find:
Code:
/dev/loop/4 on /etc/kdb.src type cramfs (ro,noatime,nodiratime)
That 'ro' is because cramfs does not include 'rw' operation.

You can use the kdb utility (included in the Kindle firmware) to read that database.
See the cpu report script for an example.
(and the kdb utility's built-in help)

Last edited by knc1; 05-14-2016 at 11:04 AM.
knc1 is offline   Reply With Quote