Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2020, 07:38 PM   #1
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Question Kobo's filesystem organization

Hi,
I was wondering where the Linux filesystem of the Kobo firmware is (/usr, /bin, /tmp, /root, etc.), because when I search the through Kobo eReader partition, I see nothing like that, even in hidden folders. Perhaps I've missed one? Also, I looked up with
Code:
fdisk -l
and
Code:
lsblk
in my terminal to see if there was an unmounted partition in the internal storage, but it seems that this one is the only one.
HOWEVER, when I was restoring my Glo HD's original firmware via a SD card image, I've seen three partitions:
1. recoveryfs
2. <Don't remember the name>
3. Kobo eReader
But after, when I configured the device and all, only the Kobo eReader partition was left.

To me, the Kobo firmware filesystem is a complete mistery that I'd like to solve.
Any ideas?

Thanks!
NiMa is offline   Reply With Quote
Old 07-26-2020, 08:15 PM   #2
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
The rootfs is on a different partition from the user partition which is exposed to USB.

To explore it, you will need telnet or SSH access to the Kobo. Enabling telnet is easy. Just type 'devmodeon' in the search bar. This enables telnet (and FTP?). You can access developer options at home > settings > Device Information (it is an option at the very bottom).

Note, for telnet, you'll probably want to force Wifi on (it's a setting available in the afore mentioned developer settings menu).

If you want SSH and more, look at https://www.mobileread.com/forums/sh...d.php?t=254214

Note, for telnet and SSH, username is root, with no password.
sherman is offline   Reply With Quote
Advert
Old 07-26-2020, 08:48 PM   #3
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Hi,
Thanks for the quick answer. I already explored the filesystem with telnet, but was highly intrigued by the /mnt/.onboard part of the filesystem, with seems to contain the normal "Kobo eReader" partition. What I found interesting, though, was that there was no other partition in the SD card than this one (fdisk, lsblk, diskutil). So I wonder: is the rootfs partition "generated" at each boot by some database, like "KoboReader.sqlite" or something like that? I'm puzzled.......

Thanks for the answer!
NiMa is offline   Reply With Quote
Old 07-26-2020, 09:18 PM   #4
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Nope, it's three partitions on the storage device. I can't check right at the moment, but I think you can see what's mounted from '/proc/mounts'

I think the partitions are the devices '/dev/mmcblkN'
sherman is offline   Reply With Quote
Old 07-26-2020, 09:24 PM   #5
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Hi,
Thanks for answering again. I think that maybe Kobo wants to prevent users from accessing the default rootfs filesystem over USB (standard connecting for transfer of books). However, when the SD card is removed and plugged in a computer, we can see all three partitions.
Don't know if this is explanation holds the reality, but it's maybe a possibility.
When you're able to grab one, you can let me know if you want, to see if you see all three partitions with USB or SD card plugged right into the computer.

Thanks!
NiMa is offline   Reply With Quote
Advert
Old 07-26-2020, 09:43 PM   #6
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Yeah, only /mnt/onboard is exported over USB. And when you think about it, it makes sense, because the partition has to be unmounted before exporting it.
sherman is offline   Reply With Quote
Old 07-26-2020, 10:00 PM   #7
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Yeah, thanks for confirming my thoughts.

Best regards
NiMa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: make your kobo faster by modifying filesystem options sysKin Kobo Developer's Corner 17 10-22-2022 10:18 AM
Aura E2 book organization woes on Kobo Aura Italapas Kobo Reader 2 12-06-2018 08:42 AM
Repartitioning Kindle Filesystem EternalCyclist Kindle Developer's Corner 48 05-05-2016 09:12 PM
kobo glo direct filesystem content modification gfa Kobo Developer's Corner 1 02-09-2016 09:03 AM
PRS-T1 Browse HTML from filesystem? morphius Sony Reader 6 12-02-2011 03:01 AM


All times are GMT -4. The time now is 05:24 AM.


MobileRead.com is a privately owned, operated and funded community.