WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xz compressed squashfs extensions  (Read 3154 times)

Offline aw

  • Newbie
  • *
  • Posts: 45
xz compressed squashfs extensions
« on: November 25, 2016, 06:46:08 AM »
Hi,

Would it be possible to compile future versions of the TinyCore kernel with the option:

Code: [Select]
CONFIG_SQUASHFS_XZ=y
This would allow the mounting of xz compressed extensions created with mksquashfs dir extension.tcz -comp xz.

As many are aware, xz provides significant improvement in compression / space reduction compared to gzip.

Secondly, rather that compressing kernel modules with *.ko.gz, they could also be compressed to *.ko.xz to save even more space.
github.com/aw

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: xz compressed squashfs extensions
« Reply #1 on: November 25, 2016, 07:32:34 AM »
Read Core Book on this topic why xz is not used with tcz packages.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: xz compressed squashfs extensions
« Reply #2 on: November 25, 2016, 07:57:23 AM »
The kernel support could be added, as it doesn't seem to be too big. But for modules and extensions, it is far too slow and too memory hungry.
The only barriers that can stop you are the ones you create yourself.

Offline aw

  • Newbie
  • *
  • Posts: 45
Re: xz compressed squashfs extensions
« Reply #3 on: November 25, 2016, 09:25:11 PM »
Thanks. In that case it might lead to more problems if people begin making extensions compressed with xz.. perhaps a better idea to keep it disabled/out of the kernel.
github.com/aw