|
发表于 2003-9-10 18:30:23
|
显示全部楼层
刚才的凭空猜测有错误,还得纠正一下。
seazon 凭一个例子完全否定,我则完全肯定,都没有经过仔细调查,都不是科学的态度呀。刚在 man、info 里查到确实有些分区不支持 link,但没有说是那些;在网上看到的这条应该比较可信:
> > ln -sf /usr/src/cvstree/test.c /home/chris/test.c
>
> If /usr/src/cvstree is some directory on the windoze system that you've
> mounted on that path in the Linux system, and /home/chris is a REAL
> Linux directory on the linux system AND you have write access to that
> directory and read access to the /usr/src/cvstree/test.c file, you
> should have no problem creating the symlink.
>
> If, on the other hand, /home/chris is a directory in a DOS/Windoze
> filesystem, you can't create symlinks THERE, since the DOSdoze
> filesystems don't support it.
http://www.geocrawler.com/archives/3/84/2001/4/50/5530982/
可惜不知道为什么有些分区不能 link,这可能得看 ln 和 fat、ntfs 驱动的源码了;不过刚才作了一个 tar 包看了看,link path 存放的位置和文件内容存放的位置不一样,不知道是文件系统中本来如此,还是 tar 自己的格式所致。 |
|