[plt-scheme] Cross device link?

From: Paulo J. Matos (pocm at soton.ac.uk)
Date: Thu Mar 8 16:10:50 EST 2007

On 3/8/07, Richard Cobbe <cobbe at ccs.neu.edu> wrote:
>
> I tried it on my desktop and discovered that the error is coming from the
> rename system call (q.v.).  This is consistent with the documented behavior
> of rename: src and destination must be in the same filesystem.
>

Well, you're right but I didn't even know there was a rename command.
:-) Always used mv for renaming. I'm astonished!

> This is also consistent with the documented behavior of
> rename-file-or-directory, at least in 369.8.  Since the two paths are on
> different filesystems, it's throwing an exn:fail:filesystem.
>

I was just going to say that this should be mentioned in the help but
well... it already is. :-)
"This procedure can be used to move a file/directory to a different
directory (on the same disk)"
Nice!


-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


Posted on the users mailing list.