📄 287.html
字号:
<br>
上述过程建立一份所有需要的远端档案以及要储存它们之本地路径 <br>
名称的列表。 <br>
<br>
一旦目录列表完成,所有需要的档案都会从远端节点撷取到它们的 <br>
本地路径名称。作法是把档案撷取到目标目录里的暂存档。如果有 <br>
需要,暂存档会被压缩(compressed, gzip'ed) 或是切割(或者是 <br>
压缩後再切割)。当传输成功後再把暂存档改名。 <br>
<br>
档案储放(FILESTORES) <br>
Mirror 使用远端目录列表以找出可以取得哪些档案。 Mirror 本 <br>
来的目标是连线到 unix 的 ftp 伺服程式使用标准的 ls 指令。 <br>
要使用於非标准 ls 的 unix 主机或非 unix 的主机上它必须要设 <br>
remote_fs 变数以符合将会传回(return)的目录列表类型。此变数 <br>
(remote_fs) 与其它变数特别是 flags_recursive, recurse_hard <br>
以及 get_size_change 之间有些交互作用。下列的节次将会秀些 <br>
在不同档案服务处执行 ftp 的 dir 指令所产生的结果以及相关 <br>
变数的建议。在配合某些设定与众不同的档案服务处的时候你可能 <br>
必须变更此处所建议的变数设定。 <br>
<br>
remote_fs=unix <br>
total 65 <br>
-rw-r--r-- 1 ukuug ukuug 2245 Jun 28 20:06 README <br>
-rw-r--r-- 1 ukuug ukuug 61949 Jun 29 19:13 mirror-2.1.tar.gz <br>
<br>
这是预设值而且你应该不必重设任何其它变数。 <br>
<br>
remote_fs=dls <br>
00index.txt 189916 <br>
0readme 5793 <br>
1_x/ = OS/2 1.x-specific files <br>
<br>
这是某些 unix 档案服务处所使用的 ls 变化型。它在列表中提供 <br>
其所知项目的描述。把 flags_recursive 设为 -dtR 即可。 <br>
<br>
remote_fs=netware <br>
- [R----F--] jrd 1646 May 07 21:43 inde <br>
x <br>
d [R----F--] jrd 512 Sep 09 10:52 netw <br>
ire <br>
d [R----F--] jrd 512 Sep 02 01:31 pktd <br>
rvr <br>
d [RWCE-F--] jrd 512 Sep 04 10:55 inco <br>
ming <br>
<br>
这是 Novell 档案服务处所使用的。把 recurse_hard 设为 true <br>
并且把 flags_recursive 设为空(nothing)的。参阅 remote_dir <br>
<br>
dosftp <br>
00-index.txt 6,471 13:54 7/20/93 alabama.txt 1,246 23:29 5 <br>
/08/92 <br>
alaska.txt 873 23:29 5/08/92 alberta.txt 2,162 23:29 5 <br>
/08/92 <br>
<br>
dosftp 是在 dos 上执行的一套 ftp 伺服程式。recurse_hard <br>
设为 true 并且把 flags_recursive 设为空(nothing)的。 <br>
<br>
remote_fs=macos <br>
-------r-- 0 127 127 Aug 27 13:53 !Gopher Links <br>
drwxrwxr-x folder 32 Sep 9 16:30 FAQ <br>
drwxrwx-wx folder 0 Sep 9 09:59 incoming <br>
<br>
macos 是麦金塔(Macintosh) ftp 伺服程式的一个变化型。虽然此 <br>
输出类似於 unix 但是 unix 这个 remote_fs 型态无法应付它是 <br>
因为每个档案有三个大小。把 recurse_hard 设为 true, flags_ <br>
recursive 设为空(nothing)的,get_size_change 设为 false 并 <br>
将 compress_patt 设为空(最後这个设定是因为此不平常的档案 <br>
名称会扰乱执行压缩的 shell 界面)。参阅 remote_dir 设定。 <br>
<br>
remote_fs=vms <br>
USERS:[ANONYMOUS.PUBLIC] <br>
<br>
1-README.FIRST;13 9 14-JUN-1993 13:09 [ANONYMOUS] (RWE,RWE,R <br>
E,RE) <br>
PALTER.DIR;1 1 18-JAN-1993 11:56 [ANONYMOUS] (RWE,RWE,R <br>
E,RE) <br>
PRESS-RELEASES.DIR;1 <br>
1 11-AUG-1992 20:05 [ANONYMOUS] (RWE,RWE,, <br>
) <br>
<br>
<br>
alternatively: <br>
<br>
[VMSSERV.FILES]ALARM.DIR;1 1/3 5-MAR-1993 18:09 <br>
[VMSSERV.FILES]ALARM.TXT;1 1/3 4-FEB-1993 12:20 <br>
<br>
把 flags_recursive 设为 '[...]' 并将 get_size_change 设为 <br>
false。recurse_hard 在 vms 上不能使用。除此之外还可以参阅 <br>
vms_keep_version 以及 vms_xfer_text 变数。 <br>
<br>
remote_fs=infomac <br>
这个特殊型态仅在处理 sumexaim.stanford.edu info-mac 目录之 <br>
help/all-files 有意义。recurse_hard 应该设为 true。 <br>
<br>
remote_fs=lsparse <br>
允许开启高阶除错方式重新剖析由 mirror 产生的列表。这只对於 <br>
mirror wizards 有用。 <br>
<br>
范例 <br>
这里是从 src.doc.ic.ac.uk 上来的 mirror.defaults 档案: <br>
<br>
# This is the default mirror settings used by my site: <br>
# src.doc.ic.ac.uk (146.169.2.1) <br>
# This is home of the UKUUG Software Distribution Service <br>
<br>
package=defaults <br>
# The LOCAL hostname - if not the same as `hostname` <br>
# (I advertise the name src.doc.ic.ac.uk but the machine is <br>
# really puffin.doc.ic.ac.uk) <br>
hostname=src.doc.ic.ac.uk <br>
# Keep all local_dirs relative to here <br>
local_dir=/public/ <br>
remote_password=ukuug-soft@doc.ic.ac.uk <br>
mail_to= <br>
# Don't mirror file modes. Set all dirs/files to these <br>
dir_mode=0755 <br>
file_mode=0444 <br>
# By default, files are owned by root.zero <br>
user=0 <br>
group=0 <br>
# # Keep a log file in each updated directory <br>
# update_log=.mirror <br>
update_log= <br>
# Don't overwrite my mirror log with the remote one. <br>
# Don't retrieve any of their mirror temporary files. <br>
# Don't touch anything whose name begins with a space! <br>
# nor any FSP or gopher files... <br>
exclude_patt=(^|/)(.mirror$|.in..*.$|MIRROR.LOG|#.*#|.FSP|.c <br>
ache|.zipped|lost+found/| ) <br>
# Try to compress everything <br>
compress_patt=. <br>
compress_prog=compress <br>
# Don't compress information files, files that don't benefit <br>
from <br>
# being compressed, files that tell ftpd, gopher, wais... to <br>
do things, <br>
# the sources for compression programs... <br>
# (Note this is the only regexp that is case insensitive.) <br>
compress_excl+|^.notar$|-z|.taz$|.tar.Z|.arc$|.zip$|.lzh$|.z <br>
oo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|read.*me|index|.message|in <br>
fo|faq|gzip|compress <br>
# Don't delete own mirror log or any .notar files (incl in s <br>
ubdirs) <br>
delete_excl=(^|/).(mirror|notar)$ <br>
# Ignore any local readme files <br>
local_ignore=README.doc.ic <br>
# Automatically delete local copies of files that the <br>
# remote site has zapped <br>
do_deletes=true <br>
<br>
Here are some sample package descriptions: <br>
<br>
package=gnu <br>
comment=Powerful and free Un*x utilities <br>
site=prep.ai.mit.edu <br>
remote_dir=/pub/gnu <br>
# Local_dir+ causes gnu to be appended to the default local_ <br>
dir <br>
# so making /public/gnu <br>
local_dir+gnu <br>
exclude_patt+|^ListArchives/|^lost+found/|^scheme-7.0/|^.his <br>
tory <br>
# I tend to only keep the latest couple of versions of thing <br>
s <br>
# this stops mirror from retrieving the older versions I've <br>
removed <br>
max_days=30 <br>
do_deletes=false <br>
<br>
package=X11R5 <br>
comment=X Windows (windowing graphics system for Un*x) <br>
site=export.lcs.mit.edu <br>
</FONT><br>
</TD>
</TR>
<TR>
<TD colSpan=2><FONT
class=middlefont></FONT><BR>
<FONT
class=normalfont>全文结束</FONT> </TD>
</TR>
<TR>
<TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2
height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
<TD vAlign=top width="20%"
background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2>
<DIV align=center>
<table class=tableoutline cellspacing=1 cellpadding=4
width="100%" align=center border=0>
<tr class=firstalt>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
<font class=normalfont><b>所有分类</b></font></td>
</tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td> </tr> </table></td></tr> </table>
</DIV></TD></TR>
<TR vAlign=top>
<TD width="80%">
<DIV align=center><BR>
</DIV>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE></TD></TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee
border=0><TBODY>
<TR>
<TD width="50%">
<P><FONT class=middlefont>版权所有 © 2004 <A
href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
违者必究. </FONT></P>
</TD>
<TD width="50%">
<DIV align=right><FONT class=middlefont>Powered by: <A
href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
</TD></TR></TBODY></TABLE>
<CENTER></CENTER></TD></TR>
</TABLE></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -