Znyx Networks bh5700 Manuale Utente

Pagina di 359
zmnt
NAME
zmnt
 − 
Expands the read/write files onto the RAM disk.
SYNOPSIS
zmnt [-c] <directory>
zmnt [-c] -t <file> 
zmnt [-c] –l
DESCRIPTION
zmnt expands files from flash onto the RAM disk that have been previously saved with zsync. 
The init process runs zmnt to expand the files in flash onto RAM file system. The user may 
use zmnt to expand the files at anytime and may place them in any directory. For example, 
zmnt
 /tmp
 
will expand the files under the directory /tmp.
Booting the kernel with 
-i
 instructs the init process to skip the zmnt stage After booting in 
this way, zmnt can be used for correcting a problem file in the read-write file system.
The -t option can be used to save the configuration of a switch to a tar file.  A tar file can be 
copied to another switch and saved with zsync -t.   As a result, the configuration of a switch 
may be cloned to other switches.
The -c option is used to mount the custom overlay.  See zsync for a description of custom 
verses dynamic overlay.
OPTIONS
-c
Read saved files from the custom overlay
-t <file>
Save the overlay into the specified <file> in tar format.
<directory>
The directory under which the overlay files 
are expanded, or the file to which the tar image is saved.
-l
List files in selected overlay, do not unpack.
EXAMPLES
Ethernet Switch Blade User's Guide
release  3.2.2j
page  233