
zsync
NAME
zsync
−
Saves changes to the flash.
SYNOPSIS
zsync [-c][-f][<dir_or_file>]
zsync [-c][-f][-t <file>]
zsync [-c][-f][-z]
zsync [-c][-l]
DESCRIPTION
zsync
is used to save a snapshot of the current file system to flash ROM. By default,
zsync
creates a compressed tar image of the files that have changed and saves the image in the flash
ROM. The saved image is expanded on reboot. The saved compressed tar image is called an
“overlay”.
If a directory parameter is given to
zsync
, the contents of the directory are saved instead of
searching for updated files. The specific purpose of the
<directory>
parameter is for saving
files that have been mounted with
zmnt
. Using the
-t
option allows a tar image created by
zmnt
-t
to be saved.
To correct a corrupted file that is saved to flash ROM with
zsync
, first reboot with the
-i
option (
see Switch Maintenance
). Use
zmnt
to put the corrupted file in the /mnt directory, open
and correct the file, then
zsync
to the
/mnt
directory to save your changes and reboot.
There are two overlay areas:
dynamic
and
custom
. The dynamic overlay is the default. The
custom overlay is used to create base configurations that are different then the base configuration.
The custom overlay is written by using the
-c
option.
The
-z
option zeros the overlay area, returning the switch to the factor configuration.
Specific files or directories can be excluded from saving to flash by
zsync
by including an entry
in
/etc/exclude
. Likewise, existing entries in
/etc/exclude
such as
/tmp
can be removed
in order to save those files to flash with
zsync
.
Ethernet Switch Blade User's Guide
release 3.2.2j
page 341
Summary of Contents for bh5700
Page 2: ...Ethernet Switch Blade User s Guide release 3 2 2j page ii...
Page 15: ...Ethernet Switch Blade User s Guide release 3 2 2j page 15...
Page 16: ...Ethernet Switch Blade User s Guide release 3 2 2j page 16...
Page 25: ...Ethernet Switch Blade User s Guide release 3 2 2j page 25 Figure 2 1 LED Reference...
Page 26: ...Ethernet Switch Blade User s Guide release 3 2 2j page 26...
Page 227: ...SEE ALSO ifconfig 8 Ethernet Switch Blade User s Guide release 3 2 2j page 227...
Page 237: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 237...
Page 239: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 239...
Page 265: ...SEE ALSO zconfig zl2d Ethernet Switch Blade User s Guide release 3 2 2j page 265...
Page 318: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 318...
Page 320: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 320...
Page 335: ...Ethernet Switch Blade User s Guide release 3 2 2j page 335...
Page 359: ...Index ztmd 301 zvlan 179 258 ZX4920 MIB 333 7100 User s Guide release 3 2 2j page 359...