{"id":17,"date":"2005-10-25T17:37:05","date_gmt":"2005-10-25T15:37:05","guid":{"rendered":"http:\/\/katastrophos.net\/andre\/blog\/?p=17"},"modified":"2006-10-04T00:11:54","modified_gmt":"2006-10-03T22:11:54","slug":"mksquashfs-for-os-x","status":"publish","type":"post","link":"https:\/\/katastrophos.net\/andre\/blog\/2005\/10\/25\/mksquashfs-for-os-x\/","title":{"rendered":"mksquashfs for OS X"},"content":{"rendered":"<p>Here is a patch for compiling the <a href=\"http:\/\/www.artemio.net\/projects\/linuxdoc\/squashfs\/SquashFS-HOWTO.html#mksqoverview\">mksquashfs<\/a>  tool on OS X:<\/p>\n<p><a class=\"downloadlink\" href=\"http:\/\/www.katastrophos.net\/osx\/tools\/squashfs-tools2.2-r2-OSX.patch\">squashfs-tools2.2-r2-OSX.patch<\/a><\/p>\n<p>The compiled binary is here in case you&#8217;re too lazy to compile it yourself :) :<\/p>\n<p><a class=\"downloadlink\" href=\"http:\/\/www.katastrophos.net\/osx\/tools\/mksquashfs2.2-r2-OSX.tar.gz\">mksquashfs2.2-r2-OSX.tar.gz<\/a><\/p>\n<p>This is what I use to generate a <a href=\"http:\/\/squashfs.sourceforge.net\/\">SquashFS<\/a> image for my patched Zaurus kernel:<code><br \/>\n<\/code><\/p>\n<pre>\r\n# cd somedirectory_to_compress\r\n# mksquashfs . \/Volumes\/Zaurus\/compressedimage.squashfs -le -noappend\r\n<\/pre>\n<p>If you&#8217;re using the kernel included with <a href=\"http:\/\/my-zaurus.narod.ru\/cacko.html\">Cacko ROM<\/a>, you don&#8217;t have to patch anything as <a href=\"http:\/\/squashfs.sourceforge.net\/\">SquashFS<\/a> support is already included.<\/p>\n<p>Finally, here is how to mount the image on the Zaurus:<\/p>\n<pre>\r\n# mount -t squashfs -o loop \/mnt\/card\/compressedimage.squashfs \/mnt\/mountedimage\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here is a patch for compiling the mksquashfs tool on OS X: squashfs-tools2.2-r2-OSX.patch The compiled binary is here in case you&#8217;re too lazy to compile it yourself :) : mksquashfs2.2-r2-OSX.tar.gz This is what I use to generate a SquashFS image for my patched Zaurus kernel: # cd somedirectory_to_compress # mksquashfs . \/Volumes\/Zaurus\/compressedimage.squashfs -le -noappend If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8,6],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","tag-os-x","tag-zaurus"],"_links":{"self":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/17"}],"collection":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}