WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Preferred file system for .tcz ?  (Read 2749 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Preferred file system for .tcz ?
« on: September 14, 2009, 09:41:34 AM »
What is the preferred file system for .tcz ? In the WIKI it is stated:

Quote
Currently there are 2 choices for .tcz's: zisofs and cramfs. Cramfs is highly recommended but is more restrictive (as explained in the .info).

However tce2tcz.sh in 2.3.1 is creating squash file system which give much better compression rate than cramfs. Does it mean that extension creators are asked to use squash by default? If so, WIKI article has to be updated.

Made some tests with my extensions and using squash over cramfs looks a good choise. I'm ready to change over to squash from now.

« Last Edit: September 14, 2009, 09:44:35 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Preferred file system for .tcz ?
« Reply #1 on: September 14, 2009, 10:02:58 AM »
Yes. squashfs is preferred. Feel free to update the wiki.
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Preferred file system for .tcz ?
« Reply #2 on: September 14, 2009, 10:05:20 AM »
Yes. squashfs is preferred. Feel free to update the wiki.

OK, will do.
Béla
Ham Radio callsign: HA5DI

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

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Preferred file system for .tcz ?
« Reply #3 on: September 14, 2009, 12:02:33 PM »
Also, when using squashfs you shouldn't use the mktemp command because it will make the squashfs extension unusable to the tc user when mounted due to incorrect directory permissions. I've just been using mkdir with user tc instead.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Preferred file system for .tcz ?
« Reply #4 on: September 14, 2009, 12:05:20 PM »
Also, when using squashfs you shouldn't use the mktemp command because it will make the squashfs extension unusable to the tc user when mounted due to incorrect directory permissions. I've just been using mkdir with user tc instead.

Thanks for the comment. Same here, I'm creating extensions a bit differently than described in the WIKI. I will make the new text in a text editor, test the procedure and when OK, edit WIKI.
Béla
Ham Radio callsign: HA5DI

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