View Single Post
Old 10-28-2015, 06:57 AM   #8
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
location of KSM 08 files and how to access them

The files of KSM 08 are located
  • on the user partition
    • .adds/kbmenu_user
    • kbmenupngs
  • on the system partition
    • /adds/kbmenu

Different to previous versions of KSM, some of the files are located on the system partition. This can make it difficult for some users to access them (and many uses will not need to access these files). I describe one way of accessing them without using telnet or similar.

To copy a file from the system partition:
  • select tools > explore > ... (navigate to the directory that contains the file you want to copy)
  • toggle between the options "open/info/delete/cp to sysmirror" and settle for "cp to sysmirror"
  • poke the file you want to copy
You will find the copied file together with the whole path in .adds/kbmenu_user/sysmirror/.

For instance, if you selected the file /etc/init.d/rcS, it will produce .adds/kbmenu_user/sysmirror/etc/init.d/rcS (on the user partition; that is /mnt/onboard/.adds/kbmenu_user/sysmirror/etc/init.d/rcS).

To copy a file to the system partition:
  • select: tools > ksm diverse > copy sysmirror to sys.sh
This will rsync-copy the whole content of .adds/kbmenu_user/sysmirror/ to its intended location.
For instance, if you want to rsync-copy the file myexecutable to /sbin, you would create .adds/kbmenu_user/sysmirror/sbin/myexecutable, and then select ... "copy sysmirror to sys.sh". Take special care to get the path names right. If not, you will end up with a lot of garbage on the system partition.

Use this only with caution!

Last edited by tshering; 05-03-2016 at 03:37 PM.
tshering is offline   Reply With Quote