Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on September 14, 2009, 09:41:34 AM

Title: Preferred file system for .tcz ?
Post by: bmarkus 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.

Title: Re: Preferred file system for .tcz ?
Post by: roberts on September 14, 2009, 10:02:58 AM
Yes. squashfs is preferred. Feel free to update the wiki.
Title: Re: Preferred file system for .tcz ?
Post by: bmarkus on September 14, 2009, 10:05:20 AM
Yes. squashfs is preferred. Feel free to update the wiki.

OK, will do.
Title: Re: Preferred file system for .tcz ?
Post by: robc 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.
Title: Re: Preferred file system for .tcz ?
Post by: bmarkus 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.