Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2020, 05:45 AM   #1
shoelesshunter
copyleft librarian
shoelesshunter began at the beginning.
 
shoelesshunter's Avatar
 
Posts: 58
Karma: 10
Join Date: Nov 2015
Device: KV
btrfs and my kobo

I am a linux guy and I love two things: my Kobo Libra and btrfs.

So, I want to format the data partition of my Libra btrfs and use lzo compression.

My question, does the Kobo kernel include btrfs modules? I don't need the userspace btrfs-progs as I will be doing all the admin work from my Arch laptop. I just need the FS to be in the kernel.

Without giving me the old btrfs warnings (it is quite stable), are there any tips or advice to this? What about fstab? I'm told Kobo uses something different.

Thanks.
shoelesshunter is offline   Reply With Quote
Old 07-27-2020, 06:07 AM   #2
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,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
I don't know which kernel the Libra is using but for the original H2O it's 2.6.x kernel, not sure if 11 years old btrfs is a good idea ;-)

If Libra is same as H2O, then it's possible with hacks (but not really worth it) to use ext2/3/4. That's the only thing it supports (and uses for root and recovery filesystem) in addition to the regular FAT32.

lzo compression won't do anything for you considering most ebook formats already have their own compression, anyway. Books can't be compressed twice.

I'd leave the kernel and its modules well alone. Without internal SD card slot, the risk of bricking is too high to even make the attempt.

----

On H2O (sorry, don't have Libra)

Code:
[root@(none) ~]# uname -a
Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l GNU/Linux
[root@(none) ~]# cat /proc/filesystems 
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   tmpfs
nodev   sockfs
nodev   pipefs
nodev   anon_inodefs
nodev   devpts
        ext2
        ext3
        ext4
nodev   ramfs
        vfat
        msdos

Last edited by frostschutz; 07-27-2020 at 06:13 AM.
frostschutz is offline   Reply With Quote
Advert
Old 07-27-2020, 06:15 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,708
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Compressing the file system is going to cause a higher processor usage and more battery usage for hardly any gain (if any).
JSWolf is offline   Reply With Quote
Old 07-27-2020, 12:08 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,484
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Mk. 7 run on Linux 4.1.15, but that's a fairly moot point, and I stand with @frostschutz: It's a *terrible* idea, for pretty much all the reasons that were already pointed out .
NiLuJe is offline   Reply With Quote
Reply

Tags
btrfs, hacks, linux, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinking of buying a Kobo Aura H20 Edition 2 ... looking for insight from Kobo owners FulciLives Which one should I buy? 27 05-05-2019 11:05 PM
Academics eye the Kobo Aura One, but need better PDF support. Letter to Kobo-ville pinktank Kobo Reader 36 09-03-2016 04:05 PM
Kobo H2O Question - [Post moved out of a thread and forum unrelated to Kobo] Millie1366 Kobo Reader 10 03-20-2016 12:35 PM
New Kobo User becomes burned EX-Kobo user aka KOBO is horrible tvuongpham Kobo Reader 140 09-18-2015 08:42 AM
Changing fonts issue on Kobo Aura HD/Kobo Glo [PROBLEM SOLVED] Dr. Drib Kobo Reader 19 05-13-2014 04:35 PM


All times are GMT -4. The time now is 05:04 PM.


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