old-www/HOWTO/SquashFS-HOWTO/index.html

487 lines
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>SquashFS HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="NEXT"
TITLE="What is SquashFS"
HREF="whatis.html"><META
NAME="KEYWORD"
CONTENT="linux"><META
NAME="KEYWORD"
CONTENT="squashfs"><META
NAME="KEYWORD"
CONTENT="squashed"><META
NAME="KEYWORD"
CONTENT="squash"><META
NAME="KEYWORD"
CONTENT="compressed"><META
NAME="KEYWORD"
CONTENT="filesystem"><META
NAME="KEYWORD"
CONTENT="kernel"><META
NAME="KEYWORD"
CONTENT="embedded"><META
NAME="KEYWORD"
CONTENT="tiny"></HEAD
><BODY
CLASS="article"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
><A
NAME="AEN2"
></A
>SquashFS HOWTO</H1
><DIV
CLASS="authorgroup"
><A
NAME="AEN4"
></A
><H3
CLASS="author"
><A
NAME="AEN5"
>Artemiy I. Pavlov</A
></H3
><DIV
CLASS="affiliation"
><SPAN
CLASS="orgname"
><A
HREF="http://www.sinevibes.com/"
TARGET="_top"
>Sinevibes</A
><BR></SPAN
><DIV
CLASS="address"
><P
CLASS="address"
></P
></DIV
></DIV
><H3
CLASS="author"
><A
NAME="AEN13"
>Marco Cecchetti</A
></H3
><DIV
CLASS="affiliation"
><DIV
CLASS="address"
><P
CLASS="address"
><TT
CLASS="email"
>&#60;<A
HREF="mailto:mrc (dot) ildp (dot) com"
>mrc (dot) ildp (dot) com</A
>&#62;</TT
></P
></DIV
></DIV
></DIV
><DIV
CLASS="revhistory"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9</TD
><TD
ALIGN="LEFT"
>2008-07-24</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Text corrections.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.8</TD
><TD
ALIGN="LEFT"
>2008-01-06</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes according to SquashFS release 3.3. Some parts added.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.7</TD
><TD
ALIGN="LEFT"
>2005-03-25</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes according to SquashFS release 2.1.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.6</TD
><TD
ALIGN="LEFT"
>2004-11-10</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes according to SquashFS release 2.0.
Text corrections.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.5</TD
><TD
ALIGN="LEFT"
>2004-06-07</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes according to SquashFS release 2.0 alpha.
Lots of description improvements and clarifications. Split
instructions for Linux kernels of 2.6.x (new) and 2.4.x series.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.1</TD
><TD
ALIGN="LEFT"
>2004-05-22</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes according to SquashFS release 1.3r3.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.0</TD
><TD
ALIGN="LEFT"
>2004-02-19</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Initial Release, reviewed by LDP.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 0.2</TD
><TD
ALIGN="LEFT"
>2003-12-08</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Text corrections, license added.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 0.1</TD
><TD
ALIGN="LEFT"
>2003-11-24</TD
><TD
ALIGN="LEFT"
>Revised by: </TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Initial version. Instructions for SquashFS release 1.3r2.</TD
></TR
></TABLE
></DIV
><DIV
><DIV
CLASS="abstract"
><A
NAME="AEN30"
></A
><P
><B
>Abstract</B
></P
><P
>This HOWTO describes the usage of SquashFS - a highly-compressed
read-only file system for Linux, which is intended for use in tiny-sized and
embedded systems, and anywhere else you'd want to use a compressed file system.
With this document, you'll learn how to prepare a SquashFS-ready
Linux kernel, create a squashed file system and happily use it.
</P
></DIV
></DIV
><DIV
><DIV
CLASS="abstract"
><A
NAME="AEN33"
></A
><P
><B
>Home of this HOWTO</B
></P
><P
>&#13; The SquashFS HOWTO lives at <A
HREF="http://artemio.net/projects/linuxdoc/squashfs"
TARGET="_top"
>http://artemio.net/projects/linuxdoc/squashfs</A
>.
There you will always find the latest version of the document, and will be able to send
your feedback.
</P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="whatis.html"
>What is SquashFS</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="whatis.html#intro"
>Introduction</A
></DT
><DT
>1.2. <A
HREF="whatis.html#overview"
>Overview of SquashFS</A
></DT
><DT
>1.3. <A
HREF="whatis.html#makingclear"
>Making it clear</A
></DT
></DL
></DD
><DT
>2. <A
HREF="gettingready.html"
>Getting ready for SquashFS</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="gettingready.html#acquiring"
>Acquiring SquashFS</A
></DT
><DT
>2.2. <A
HREF="gettingready.html#preparing"
>Preparing a SquashFS-capable kernel</A
></DT
><DT
>2.3. <A
HREF="gettingready.html#tools"
>Compiling the SquashFS tools</A
></DT
><DT
>2.4. <A
HREF="gettingready.html#debian"
>Installing SquashFS on Debian</A
></DT
></DL
></DD
><DT
>3. <A
HREF="mksqoverview.html"
>The SquashFS tools exposed</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="mksqoverview.html#mksqusing"
>Using mksquashfs</A
></DT
><DT
>3.2. <A
HREF="mksqoverview.html#mksqoptions"
>Command-line options</A
></DT
><DT
>3.3. <A
HREF="mksqoverview.html#unsquashing"
>Using unsquashfs</A
></DT
></DL
></DD
><DT
>4. <A
HREF="creatingandusing.html"
>Creating and using squashed file systems</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="creatingandusing.html#creating"
>Basic steps</A
></DT
><DT
>4.2. <A
HREF="creatingandusing.html#squashing"
>Squashing file systems</A
></DT
><DT
>4.3. <A
HREF="creatingandusing.html#tinyemb"
>Creating tiny/embedded systems</A
></DT
><DT
>4.4. <A
HREF="creatingandusing.html#sqwrite"
>Making it writeble</A
></DT
></DL
></DD
><DT
>5. <A
HREF="acknowledgements.html"
>Acknowledgements</A
></DT
><DT
>6. <A
HREF="license.html"
>License</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="whatis.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>What is SquashFS</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>