website rev 542

tazusb*: add hooks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 11:34:52 2009 +0200 (2009-09-17)
parents c7af4341a305
children 773e49b29b16
files en/doc/manuals/tazusb.en.html pt/doc/manuals/tazusb.pt.html
line diff
     1.1 --- a/en/doc/manuals/tazusb.en.html	Thu Sep 17 11:29:31 2009 +0200
     1.2 +++ b/en/doc/manuals/tazusb.en.html	Thu Sep 17 11:34:52 2009 +0200
     1.3 @@ -48,6 +48,7 @@
     1.4  </p>
     1.5  
     1.6  <h2>COMMANDS</h2>
     1.7 +<a name="usage"></a>
     1.8  <h3><font color="#6c0023">usage</font></h3>
     1.9  <p>
    1.10  The command 'usage' will display a short summary of all available commands.
    1.11 @@ -56,6 +57,7 @@
    1.12   # tazusb usage
    1.13  </pre>
    1.14  
    1.15 +<a name="writefs"></a>
    1.16  <h3><font color="#6c0023">writefs</font></h3>
    1.17  <p>
    1.18  The command 'writefs' will take the current memory resident filesystem and create a "rootfs.gz" file. 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 automatically, so you should periodically delete these to keep disk usage down.
    1.19 @@ -71,6 +73,7 @@
    1.20   # tazusb writefs lzma
    1.21  </pre>
    1.22  
    1.23 +<a name="format"></a>
    1.24  <h3><font color="#6c0023">format</font></h3>
    1.25  <p>
    1.26  The command 'format' is used for formatting a device for use as a LiveUSB device. Currently, it only supports formatting as EXT3.
    1.27 @@ -83,6 +86,7 @@
    1.28   # tazusb format /dev/sda1
    1.29  </pre>
    1.30  
    1.31 +<a name="gen-liveusb"></a>
    1.32  <h3><font color="#6c0023">gen-liveusb</font></h3>
    1.33  <p>
    1.34  "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.35 @@ -95,6 +99,7 @@
    1.36   # tazusb gen-liveusb /dev/sda1
    1.37  </pre>
    1.38  
    1.39 +<a name="gen-swap"></a>
    1.40  <h3><font color="#6c0023">gen-swap</font></h3>
    1.41  <p>
    1.42  The 'gen-swap' command re/creates a virtual swap file and places 
    1.43 @@ -104,6 +109,7 @@
    1.44  <pre> # tazusb gen-swap
    1.45  </pre>
    1.46  
    1.47 +<a name="gen-iso2usb"></a>
    1.48  <h3><font color="#6c0023">gen-iso2usb</font></h3>
    1.49  <p>
    1.50  This command performs the same task as gen-liveusb, only copying the Kernel
    1.51 @@ -115,6 +121,7 @@
    1.52  <pre> # tazusb gen-iso2usb /home/tux/slitaz.iso
    1.53  </pre>
    1.54  
    1.55 +<a name="clean"></a>
    1.56  <h3><font color="#6c0023">clean</font></h3>
    1.57  <p>
    1.58  "clean" removes old rootfs.gz.unixtimestamp filesystems (see writefs)
     2.1 --- a/pt/doc/manuals/tazusb.pt.html	Thu Sep 17 11:29:31 2009 +0200
     2.2 +++ b/pt/doc/manuals/tazusb.pt.html	Thu Sep 17 11:34:52 2009 +0200
     2.3 @@ -60,6 +60,7 @@
     2.4  </p>
     2.5  
     2.6  <h2>COMANDOS</h2>
     2.7 +<a name="usage"></a>
     2.8  <h3><font color="#6c0023">usage</font></h3>
     2.9  <p>
    2.10  Mostra um resumo de todos os comandos disponíveis:
    2.11 @@ -68,6 +69,7 @@
    2.12   # tazusb usage
    2.13  </pre>
    2.14  
    2.15 +<a name="writefs"></a>
    2.16  <h3><font color="#6c0023">writefs</font></h3>
    2.17  <p>
    2.18  Este comando cria um arquivo "rootfs.gz" a partir do sistema de arquivos
    2.19 @@ -95,6 +97,7 @@
    2.20   # tazusb writefs lzma
    2.21  </pre>
    2.22  
    2.23 +<a name="format"></a>
    2.24  <h3><font color="#6c0023">format</font></h3>
    2.25  <p>
    2.26  Este comando é usado para formatar o dispositivo a ser utilizado como LiveUSB.
    2.27 @@ -108,6 +111,7 @@
    2.28   # tazusb format /dev/sda1
    2.29  </pre>
    2.30  
    2.31 +<a name="gen-liveusb"></a>
    2.32  <h3><font color="#6c0023">gen-liveusb</font></h3>
    2.33  <p>
    2.34  Instala uma nova MBR, marca sua partição como inicializável e instala 
    2.35 @@ -122,6 +126,7 @@
    2.36  <pre>
    2.37   # tazusb gen-liveusb /dev/sda1
    2.38  </pre>
    2.39 +<a name="gen-swap"></a>
    2.40  <h3><font color="#6c0023">gen-swap</font></h3>
    2.41  <p>
    2.42  O comando 'gen-swap' cria (ou recria) um arquivo de troca (swap) no
    2.43 @@ -131,6 +136,7 @@
    2.44  <pre> # tazusb gen-swap
    2.45  </pre>
    2.46  
    2.47 +<a name="gen-iso2usb"></a>
    2.48  <h3><font color="#6c0023">gen-iso2usb</font></h3>
    2.49  <p>
    2.50  Este comando faz praticamente o mesmo que o comando gen-liveusb, mas copia
    2.51 @@ -143,6 +149,7 @@
    2.52  <pre> # tazusb gen-iso2usb /home/tux/slitaz.iso
    2.53  </pre>
    2.54  
    2.55 +<a name="clean"></a>
    2.56  <h3><font color="#6c0023">clean</font></h3>
    2.57  <p>
    2.58  Remove os antigos sistemas de arquivos rootfs.gz.unixtimestamp (veja