📄 227.html
字号:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>www.newok.com::FreeBSD使用大全</title>
<link rel=stylesheet href="newok.css" tppabs="http://www.newok.com/include/newok.css">
</head>
<body>
<div align=center>
<p> </p>
<table width=720>
<tr><td>
<strong>当前所在位置:</strong><a href="javascript:if(confirm('http://www.at.china.com/bsd/index.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.at.china.com/bsd/index.html'" tppabs="http://www.at.china.com/bsd/index.html" class=t1>FreeBSD使用大全>></a>
</td></tr>
</table>
<table width=700>
<tr><th><font color=white>FreeBSD连载(70):用SharityLight装SMB文件系统</font></th></tr>
<tr><td> </td></tr>
<tr><td align=left><i>作者:</i>王波</td></tr>
<tr><td> </td></tr>
<tr><td><font color=white>使用SharityLight安装SMB文件系统<br> 使用smbclient进行使用Windows计算机上的文件资源的方式还是一种命令行的控制方式,必须将文件下载到本地才能进行处理。更方便的方法是将远程文件服务器上的资源装载到本地的目录树上,这样就能如同处理本地文件一样对远程文件进行处理了。Unix上的NFS就是这样的处理方式,Windows系统的映射网络驱动器也是使用的这种处理方式。<br><br> 在Unix中,提供这种远程网络文件系统的标准做法是重新完成一个文件系统驱动程序,这样由驱动程序来完成装载远程SMB文件系统的目的,运行在Linux上的smbfs就是这么做的。然而也存在另一种思路,即是将一个网络文件系统协议翻译为现有的网络文件系统协议,如NFS,然后由系统中的NFS驱动程序进行装载。这种想法完全也能实现装载SMB网络文件系统的目的,由于不必更改内核程序而使用十分成熟的原有驱动程序,而会带来更具稳定性的特征。<br><br> Sharity就是将SMB协议翻译为NFS协议,然后在Unix上装载上共享资源的软件,因为这个软件没有运行在内核中,因此其速度会受到一点影响,但正因为如此,即使已经安装到本地文件系统的远程Windows系统的崩溃也不会对Unix造成影响,由于Windows系统并不稳定,因此这种特性是非常有益的。<br><br> 需要使用Packages Collection来安装这个软件,当前的免费Sharity为Sharity Light,而最新版本的Sharity为商业软件,Sharity Light使用了GNU软件的部分代码,因此也遵从GNU许可,是对外提供源代码的软件。<br><br> Sharity的网址位于http://www.obdev.at/Products/Sharity.html<br><br> 安装Sharity Light将安装两个应用程序shlight和unshlight到/usr/local/sbin 目录中,一个用于安装文件系统,另一个用于卸载已安装的文件系统。Sharity的使用方法非常简单,不需要任何设置。<br><br># /usr/local/sbin/shlight //fbsdsrv/wb /dist -U wb<br>Password:<br>Using port 1908 for NFS.<br>bash-2.02# mount<br>/dev/da0s2a on / (local, writes: sync 1192 async 12795)<br>/dev/da0s2f on /usr (local, writes: sync 18054 async 80408)<br>/dev/da0s2e on /var (local, writes: sync 15954 async 33980)<br>procfs on /proc (local)<br>shlight-39011 on /dist<br>bash-2.02# /usr/local/sbin/unshlight /dist<br> <br> <br><br> 注意,sharity使用斜线代替UNC中的反斜线,标识UNC,这与Samba的做法不同。<br><br>未完,待续。。。</font></td></tr>
<tr><td> </td></tr>
<tr><td align=right><i>来源:</i><a href="javascript:if(confirm('http://freebsd.online.ha.cn/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://freebsd.online.ha.cn/'" tppabs="http://freebsd.online.ha.cn/">http://freebsd.online.ha.cn/</a></td></tr>
</table>
<p> </p>
<p> </p>
<p> </p>
声明:本站的文章和软件是本人从网上收集整理的(除本人的作品之外),所有版权属于作者,<br>
如有侵犯您的权益,请指出,本站将立即改正,谢谢.
<hr width=500>
<br>
<font color=#ffffff>Copyright 2000 <a href="javascript:if(confirm('http://www.newok.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.newok.com/'" tppabs="http://www.newok.com/" class=t1>www.newok.com</a></font>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -