
09.04.2007, 18:39
|
|
Познающий
Регистрация: 11.01.2007
Сообщений: 82
С нами:
10174437
Репутация:
108
|
|
How to save files on the floppy
It's easy with SLAX. Just boot SLAX with "slax floppy" boot command. It will automatically mount it in /mnt/floppy directory (everything you write to this directory will be written to the floppy)
If you wish to mount it manually, do the following:
mkdir -p /mnt/floppy # for the case the directory doesn't exist yet
mount /dev/floppy/0 /mnt/floppy
Before ejecting the floppy, be sure to either unmount it by the command umount /mnt/floppy or simply reboot the computer. You _must_ do one of this to unmount the floppy properly and save all cached data to it.
If you wish to replace your floppy by another one then just unmount the first one (umount /mnt/floppy), then eject the disc and insert another one, then do mount /dev/floppy/0 /mnt/floppy
All the commands I wrote have to be executed at the command line, or in terminal emulator (konsole, xterm, etc), or by using K-menu/Run command.
How to save/restore settings
To save your settings, run "configsave" command with one argument - the storage location. So type for example configsave /mnt/sda1/slaxconf.mo to save your configs in USB flash drive into slaxconf.mo file. It will save all changed files from /root, /etc, /home and /var directories. Note that that network settings (assigned IP address, etc) won't be saved because they are not kept in any file. If you wish to save network settings then add apropriate commands to /etc/rc.d/rc.local. This file will be saved/restored, and it's executed automatically (so your network settings will be set up).
To restore your previously saved backup, use "configrestore" command. You can also save settings to the root directory of your existing disk partition (for example to /mnt/hda1/slaxconf.mo). All settings found in the root folder of any of your disk partitions ( under the name slaxconf.mo) will be restored automatically when SLAX boots.
Здесь еще.
|
|
|