tazusb rev 4

First documentation added
author Andrew Miller <spode@thinkbikes.com>
date Wed Mar 05 16:30:43 2008 +0000 (2008-03-05)
parents 67c9fd24984c
children 189f70337617
files doc/tazusb.en.html
line diff
     1.1 --- a/doc/tazusb.en.html	Wed Mar 05 11:28:30 2008 +0100
     1.2 +++ b/doc/tazusb.en.html	Wed Mar 05 16:30:43 2008 +0000
     1.3 @@ -29,43 +29,71 @@
     1.4  <!-- Start content -->
     1.5  <div id="content">
     1.6  
     1.7 -<h2>NOM</h2>
     1.8 +<h2>Name</h2>
     1.9  <p>
    1.10  TazUSB - Slitaz LiveUSB utility
    1.11  </p>
    1.12  
    1.13 -<h2>SYNTAXE</h2>
    1.14 +<h2>SYNTAX</h2>
    1.15  <pre>
    1.16  tazusb [command] [compression|device]
    1.17  </pre>
    1.18  
    1.19  <h2>DESCRIPTION</h2>
    1.20  <p>
    1.21 -TazUSB...
    1.22 +TazUSB is a utility designed for installing Slitaz to a USB drive. Unlike a hard drive install, the filesystem is kept in a compressed "rootfs.gz". The filesystem is loaded entirely into memory upon boot. This should increase responsiveness, protect the filesystem against accidental corruption and reduce read/writes to the USB drive. Once setup, this utility can also rewrite the root filesystem with any changes you have made since booting up, giving the effective benefits of a hard drive install.
    1.23 +</p>
    1.24 +<p>
    1.25 +TazUSB supports both FAT32/EXT3 formatted drives using SYSLINUX and EXTLINUX respectively. "/home" is mounted on boot using the UUID of your particular flash drive. Unlike a device name, the UUID has the benefit of never changing from machine to machine.  
    1.26  </p>
    1.27  
    1.28 -<h2>COMMANDES</h2>
    1.29 +<h2>COMMANDS</h2>
    1.30  <h3><font color="#6c0023">usage</font></h3>
    1.31  <p>
    1.32 -La commande 'usage' will dispaly a short summary of all avalaible command:
    1.33 +The command 'usage' will display a short summary of all avalaible commands.
    1.34  </p>
    1.35  <pre>
    1.36   # tazusb usage
    1.37  </pre>
    1.38 +
    1.39  <h3><font color="#6c0023">writefs</font></h3>
    1.40  <p>
    1.41 -...
    1.42 +The command 'writefs' will take the current memory resident filesystem and create a "rootfs.gz". If your flash drive is mounted as /home (as it should be), the new filesystem will be copied to the drive for you, otherwise it is left on the root of the drive. Your previous filesystem will be renamed to "previous.gz" and can be accessed on bootup by typing "previous" at the "boot:" prompt. All previous filesystems are renamed to rootfs.gz.unixtimestamp. These are not removed automaticaly, so you should periodically delete these to keep disk usage down.
    1.43 +</p>
    1.44 +<p>
    1.45 +Filesystem compression is supported in the form of lzma, gzip or none. Using no compression is very quick (under 5 seconds) and useful if you are experimenting with a lot of changes. By comparison, using lzma or gzip takes a few minutes but will dramatically reduce file size. This is recommended when commiting permanent changes to the filesystem.
    1.46  </p>
    1.47  <pre>
    1.48 - # tazusb writefs /dev/name
    1.49 + # tazusb writefs compression
    1.50 +</pre>
    1.51 +Example:
    1.52 +<pre>
    1.53 + # tazusb writefs lzma
    1.54  </pre>
    1.55  
    1.56 +<h3><font color="#6c0023">format</font></h3>
    1.57 +<p>
    1.58 +The command 'format' is used for formatting a device for use as a LiveUSB device. Currently, it only supports formatting as EXT3. It will partition the entire device as one single partition.
    1.59 +</p>
    1.60 +<pre>
    1.61 + # tazusb format /dev/name
    1.62 +</pre>
    1.63 +Example:
    1.64 +<pre>
    1.65 + # tazusb format /dev/sda
    1.66 +</pre>
    1.67  
    1.68 -<h2>MAINTENEUR</h2>
    1.69 +<h3><font color="#6c0023">gen-liveusb</font></h3>
    1.70  <p>
    1.71 -
    1.72 +"gen-liveusb" will install a fresh MBR, set your partition as bootable and install syslinux/extlinux depending on the detected filesystem. It will then copy the kernel and filesystem from the CDROM drive, and place this on the target USB drive. This will leave you with a bootable USB copy of Slitaz. 
    1.73  </p>
    1.74 -
    1.75 +<pre>
    1.76 + # tazusb gen-liveusb /dev/name
    1.77 +</pre>
    1.78 +Example:
    1.79 +<pre>
    1.80 + # tazusb gen-liveusb /dev/sda
    1.81 +</pre>
    1.82  <!-- End content -->
    1.83  </div>
    1.84  </body>