发布时间:2015-09-15 16:09:33
#!/bin/sh<br /><br /><br />RAM_ROOT=/tmp/root<br /><br /><br />[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }<br />libs() { ldd $* 2>/dev/null | sed -r 's/(.* => )?(.*) .*/\2/'; }<br /><br /><br />install_file() { # <file> [ <file> ... ]<br />for file in "$@"; do<br .........【阅读全文】
发布时间:2015-09-08 13:45:40
<p style="font-family:'Microsoft YaHei';font-size:14px;color:#3F3F3F;line-height:30px;white-space:normal;background-color:#FFFFFF;"><strong style="padding:0px;">1. dd命令简述:</strong></p><p style="font-family:'Microsoft YaHei';font-size:14px;color:#3F3F3F;line-height:30px;white-space:normal;bac.........【阅读全文】
发布时间:2015-09-01 17:21:51
运行switch_root.sh脚本即可切换,脚本代码如下:switch_root.sh#!/bin/shRAM_ROOT=/tmp/rootldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }libs() { ldd $* | awk '{print $3}'; }#拷.........【阅读全文】