SYMPTOMS
If a Solaris system fails to boot with messages similar to the
following are encountered, the system will need to be booted from
alternate Oracle Solaris media ( e.g. the failsafe archive, cd /
dvd media, or an install image over the network) in order to update
the boot_archive:
ok boot
Boot device: disk:a File and args:
Warning: Fcode sequence resulted in a net stack depth change
of 1
The file just loaded does not appear to be executable.
ok
or
ok boot
Boot device: disk:a File and args:
ERROR: /packages/ufs-file-system: Last Trap: Division by
Zero
The file just loaded does not appear to be executable.
ok
or
WARNING: The following files in / differ from the boot
archive:
用途说明
sz命令是利用ZModem协议来从Linux服务器传送文件到本地,一次可以传送一个或多个文件。相对应的从本地上传文件到Linux服务器,可以使用rz命令。参见《我使用过的Linux命令之rz - 批量上传文件,简单易用 》。
常用参数
-a 以文本方式传输(ascii)。
-b 以二进制方式传输(binary)。
-e 对控制字符转义(escape),这可以保证文件传输正确。
-c command
-i command 在接收端(本地)执行命令,但我没有尝试成功。
如果能够确定所传输的文件是文本格式的,使用 sz -a files
如果是二进制文件,使用 sz -be files
下载完了之后文件在哪个地方呢?
SecureCRT中,选择菜单项“选项(O)”下的“会话选项(S)”,左边切到“Xmodem/Zmodem”,即可看到上传和下载目录设置,也可更改。默认上传目录为
C:\Program Files\SecureCRT\upload,下载目录为 C:\Program
Files\SecureCRT\download。
但在Vista下,到C:\Program Files\SecureCRT\download去看