mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
73eacb5375
commit
5ac18b5f70
|
@ -27,7 +27,7 @@
|
|||
</affiliation>
|
||||
</author>
|
||||
|
||||
<pubdate>2004-06-19</pubdate>
|
||||
<pubdate>2004-11-10</pubdate>
|
||||
|
||||
<keywordset>
|
||||
<keyword>linux</keyword>
|
||||
|
@ -67,6 +67,15 @@
|
|||
|
||||
<revhistory>
|
||||
|
||||
<revision>
|
||||
<revnumber>1.6</revnumber>
|
||||
<date>2004-11-10</date>
|
||||
<revremark>Changes according to SquashFS release 2.0.
|
||||
Text corrections.
|
||||
</revremark>
|
||||
</revision>
|
||||
|
||||
|
||||
<revision>
|
||||
<revnumber>1.5</revnumber>
|
||||
<date>2004-06-07</date>
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
<?xml version='1.0' encoding='ISO-8859-1'?>
|
||||
<sect1 id="ack">
|
||||
|
||||
<title>Acknowledgements</title>
|
||||
|
||||
<para>
|
||||
I would like to express my sincere thanks and immeasurable respect to:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem>
|
||||
Phillip Lougher - for his great work under squashfs, for squashfs 2.4.18 patch, for his help
|
||||
with polishing this howto and answers to my mails
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
Tabatha Marshall at TLDP for helping me with bringing this HOWTO to the final 1.0 release
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
Scientific and Technical Centre of Radio Techical Systems (Kharkov, Ukraine) - for
|
||||
giving me a chance to have a great pleasure with hacking Linux systems. And - what would you know - they
|
||||
even pay me for this... from time to time :-)
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
Everybody at <ulink url="http://www.tldp.org">The Linux Documentation Project</ulink> for
|
||||
their great work under all the HOWTOs and guides that helped me a lot with exploring and hacking Linux,
|
||||
and for their help at the TLDP mailing lists
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
All the Linux hackers around the world and everybody who develops open-source software
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
</sect1>
|
|
@ -106,17 +106,16 @@ the kernel if you plan using squashed initial RAM disks (<command>initrd</comman
|
|||
|
||||
<listitem>
|
||||
If you would like to use a squashed initial RAM disk, enable the
|
||||
<quote><emphasis>Initial RAM disk support</emphasis></quote> in the <quote><emphasis>Device
|
||||
drivets</emphasis></quote> section, <quote><emphasis>Block
|
||||
devices</emphasis></quote> subsection.
|
||||
<quote><emphasis>Initial RAM disk support</emphasis></quote> in the
|
||||
<quote><emphasis>Device drivers</emphasis></quote> section,
|
||||
<quote><emphasis>Block devices</emphasis></quote> subsection.
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
If you want to be able to mount the squashed file system via a <emphasis>loopback
|
||||
device</emphasis> in future, you should enable <quote><emphasis>Loopback device
|
||||
support</emphasis></quote> in the <quote><emphasis>Device
|
||||
drivers</emphasis></quote> section, <quote><emphasis>Block devices</emphasis></quote>
|
||||
subsection.
|
||||
If you want to be able to mount the squashed file system via a <emphasis>loopback device</emphasis> in future, you should enable
|
||||
<quote><emphasis>Loopback device support</emphasis></quote> in the
|
||||
<quote><emphasis>Device drivers</emphasis></quote> section,
|
||||
<quote><emphasis>Block devices</emphasis></quote> subsection.
|
||||
</listitem>
|
||||
|
||||
</orderedlist>
|
||||
|
|
|
@ -108,6 +108,11 @@ All possible options for <command>mksquashfs</command> are shown in the table be
|
|||
|
||||
<tbody>
|
||||
|
||||
<row>
|
||||
<entry><command>-all-root</command> or <command>-root-owned</command></entry>
|
||||
<entry>make all files in the target file system owned by root (UID=0, GID=0)</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><command>-always-use-fragments</command></entry>
|
||||
<entry>divide all files greater than block size into fragments (2.x only,
|
||||
|
@ -141,6 +146,18 @@ from the new file system that is to be created</entry>
|
|||
files/directories to exclude</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><command>-force-gid [GID]</command></entry>
|
||||
<entry>set all group IDs in target file system to [GID]
|
||||
(can be specified as a name or a number)</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><command>-force-uid [UID]</command></entry>
|
||||
<entry>set all user IDs in target file system to [UID]
|
||||
(can be specified as a name or a number)</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><command>-info</command></entry>
|
||||
<entry>print files, their original size and compression ratio, as they are added to
|
||||
|
|
|
@ -156,13 +156,14 @@ In the same fashion as with the previous example:
|
|||
</programlisting>
|
||||
|
||||
<para>
|
||||
If everything went fine, unmount <filename>/dev/hda7</filename> and use <command>dd</command> to copy <filename>/var/arch.sqsh</filename>
|
||||
If everything went fine, unmount <filename>/dev/hda7</filename> (if needed) and
|
||||
use <command>dd</command> to copy <filename>/var/arch.sqsh</filename>
|
||||
to <filename>/dev/hda6</filename>:
|
||||
</para>
|
||||
|
||||
<programlisting>
|
||||
bash# umount /dev/hda7
|
||||
bash# dd if=/var/arch.sqsh of=/dev/hda7
|
||||
bash# dd if=/var/arch.sqsh of=/dev/hda6
|
||||
</programlisting>
|
||||
|
||||
<para>
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
|
||||
<sect1 id="license">
|
||||
|
||||
<title>Licence</title>
|
||||
|
||||
<para>
|
||||
This document may be used and distributed under the terms and conditions set forth in
|
||||
the Open Content licence. In short, this means that you can freely modify and re-distribute
|
||||
the HOWTO under the main condition that you keep the author and copyright the article along.
|
||||
The full text of the licence is available at <ulink url="http://www.opencontent.org/opl.shtml">http://www.opencontent.org/opl.shtml</ulink>
|
||||
</para>
|
||||
|
||||
</sect1>
|
Loading…
Reference in New Issue