On Thu, Mar 18, 2004 at 09:16:59PM -0800, Cory Petkovsek wrote:
> Over a solaris nfs, in freebsd I told it to mv a symlink to another directory.
> However the linked directory was moved into the target dir instead of the
> symlink.  What's up with that?!  

Hm,
client$ uname
OpenBSD
client$ mount -t nfs
...
server:/home/shared on /home/shared type nfs ...
client$ ssh server
server$ uname
OpenBSD
server$ cd /home/shared
server$ ln -s stuff stuff-link
server$ exit
client$ mv /home/shared/stuff-link /home/shared/stuff-link2
client$ ls -ld /home/shared/*
...
lrwxr-xr-x 1 someone somegroup  4 Mar 19 10:20 /home/shared/stuff-link2 -> stuff
...

Or were you doing something more complex, like moving a symlink across
a filesystem?  From local to nfs?

> Is that because I was over nfs, or is it because of freebsd mv?

If it was purely across nfs, then it's probably in the way solaris
handled the command from the freebsd client.

>  Linux mv moves
> symlinks, although I'm not sure about nfs.

did you try moving a symlink on a local FreeBSD filesystem?  what about
across local filesystems?

Why do you assume it's something with the freebsd mv, and not even
consider solaris's nfs?  Did you try the exact same thing from a
linux or solaris client?

-- 
<[EMAIL PROTECTED]>
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to