# HG changeset patch # User Pascal Bellard # Date 1253180092 -7200 # Node ID 182c0a29a43256d7adbad8bf9eb868229be2650c # Parent c7af4341a3055c029844ce7cb691a0916742568a tazusb*: add hooks diff -r c7af4341a305 -r 182c0a29a432 en/doc/manuals/tazusb.en.html --- a/en/doc/manuals/tazusb.en.html Thu Sep 17 11:29:31 2009 +0200 +++ b/en/doc/manuals/tazusb.en.html Thu Sep 17 11:34:52 2009 +0200 @@ -48,6 +48,7 @@

COMMANDS

+

usage

The command 'usage' will display a short summary of all available commands. @@ -56,6 +57,7 @@ # tazusb usage +

writefs

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. @@ -71,6 +73,7 @@ # tazusb writefs lzma +

format

The command 'format' is used for formatting a device for use as a LiveUSB device. Currently, it only supports formatting as EXT3. @@ -83,6 +86,7 @@ # tazusb format /dev/sda1 +

gen-liveusb

"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. @@ -95,6 +99,7 @@ # tazusb gen-liveusb /dev/sda1 +

gen-swap

The 'gen-swap' command re/creates a virtual swap file and places @@ -104,6 +109,7 @@

 # tazusb gen-swap
 
+

gen-iso2usb

This command performs the same task as gen-liveusb, only copying the Kernel @@ -115,6 +121,7 @@

 # tazusb gen-iso2usb /home/tux/slitaz.iso
 
+

clean

"clean" removes old rootfs.gz.unixtimestamp filesystems (see writefs) diff -r c7af4341a305 -r 182c0a29a432 pt/doc/manuals/tazusb.pt.html --- a/pt/doc/manuals/tazusb.pt.html Thu Sep 17 11:29:31 2009 +0200 +++ b/pt/doc/manuals/tazusb.pt.html Thu Sep 17 11:34:52 2009 +0200 @@ -60,6 +60,7 @@

COMANDOS

+

usage

Mostra um resumo de todos os comandos disponíveis: @@ -68,6 +69,7 @@ # tazusb usage +

writefs

Este comando cria um arquivo "rootfs.gz" a partir do sistema de arquivos @@ -95,6 +97,7 @@ # tazusb writefs lzma +

format

Este comando é usado para formatar o dispositivo a ser utilizado como LiveUSB. @@ -108,6 +111,7 @@ # tazusb format /dev/sda1 +

gen-liveusb

Instala uma nova MBR, marca sua partição como inicializável e instala @@ -122,6 +126,7 @@

  # tazusb gen-liveusb /dev/sda1
 
+

gen-swap

O comando 'gen-swap' cria (ou recria) um arquivo de troca (swap) no @@ -131,6 +136,7 @@

 # tazusb gen-swap
 
+

gen-iso2usb

Este comando faz praticamente o mesmo que o comando gen-liveusb, mas copia @@ -143,6 +149,7 @@

 # tazusb gen-iso2usb /home/tux/slitaz.iso
 
+

clean

Remove os antigos sistemas de arquivos rootfs.gz.unixtimestamp (veja