<span style="white-space:pre"> </span>a /mnt/test 此目录必须已经建立
<span style="white-space:pre"> </span>b /data/test 此目录<span style="font-family: helvetica, tahoma, arial, sans-serif;">必须</span><span style="font-family: helvetica, tahoma, arial, sans-serif;">没有建立,也就是说/data没有test这个目录。</span>
<span style="white-space:pre"> </span>ln -sf /mnt/test /data/test
这样进入/data/test,实际上是进入/mnt/test
<p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; clear: both; height: auto; overflow: hidden; color: rgb(85, 85, 85); font-size: 14px; font-family: helvetica, tahoma, arial, sans-serif; line-height: 25px;">效果如下:<span style="font-size:14px;"> </span></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; clear: both; height: auto; overflow: hidden; color: rgb(85, 85, 85); font-family: menlo;"><span style="font-size:14px;">lrwxr-xr-x 1 root wheel 9 Dec 2 17:57 /data/test -> /mnt/test</span></p>
如何删除软链接: