- 论坛徽章:
- 0
|
回复 #4 mxbao 的帖子
我找了一下SunOs上有vfstab,dfs下有dfstab;LINUX上有exports内容分别如下:
vfstab内容:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /ecad ufs 2 yes -
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /user ufs 2 yes -
/dev/dsk/c0t1d0s7 /dev/rdsk/c0t1d0s7 /data ufs 2 yes -
/dev/dsk/c0t1d0s6 /dev/rdsk/c0t1d0s6 /cad ufs 2 yes -
swap - /tmp tmpfs - yes -
#/ecad/swapfile - - swap - no -
dfstab内容:
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs /user
exports内容:
/home/demi PC_hsl(rw,sync)
这个里面没写啥?我现在想把服务器U67上的/data共享,安装在单机PC_hsl的/home/project上,这样单机就可以看或用/data上的资源了。
应该怎么改呀?请指点!
[ 本帖最后由 demi91 于 2007-5-24 14:49 编辑 ] |
|