# HG changeset patch # User Andrew Miller # Date 1204734643 0 # Node ID 82bb5c2a9375d9eb581e65e89171acfeb51a2757 # Parent 67c9fd24984cf601bf217883091250c2c3fa59da First documentation added diff -r 67c9fd24984c -r 82bb5c2a9375 doc/tazusb.en.html --- a/doc/tazusb.en.html Wed Mar 05 11:28:30 2008 +0100 +++ b/doc/tazusb.en.html Wed Mar 05 16:30:43 2008 +0000 @@ -29,43 +29,71 @@
-

NOM

+

Name

TazUSB - Slitaz LiveUSB utility

-

SYNTAXE

+

SYNTAX

 tazusb [command] [compression|device]
 

DESCRIPTION

-TazUSB... +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. +

+

+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.

-

COMMANDES

+

COMMANDS

usage

-La commande 'usage' will dispaly a short summary of all avalaible command: +The command 'usage' will display a short summary of all avalaible commands.

  # tazusb usage
 
+

writefs

-... +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. +

+

+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.

- # tazusb writefs /dev/name
+ # tazusb writefs compression
+
+Example: +
+ # 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. It will partition the entire device as one single partition. +

+
+ # tazusb format /dev/name
+
+Example: +
+ # tazusb format /dev/sda
+
-

MAINTENEUR

+

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.

- +
+ # tazusb gen-liveusb /dev/name
+
+Example: +
+ # tazusb gen-liveusb /dev/sda
+