[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: NTFS Junction points (symlinks) within the working copy

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2006-04-14 10:39:52 CEST

Foy, Sean wrote:

>> which contains junction points (symlinks) linked to other locations
>
> junctions are more like hardlinks than symlinks.

In what respect? It looks pretty symlink-like to me. When I start renaming
folders the junction always follows the original name, not the original
folder:

C:\temp>mkdir sub

C:\temp>mkdir sub\dir1

C:\temp>echo "hello" >sub\dir1\hello.txt

C:\temp>junction j sub\dir1

Junction v1.03 - Win2K junction creator and reparse point viewer
Copyright (C) 2000-2002 Mark Russinovich
Systems Internals - http://www.sysinternals.com

Created: C:\temp\j
Targetted at: C:\temp\sub\dir1

C:\temp>dir j
 Volume in drive C has no label.
 Volume Serial Number is F488-5FA5

 Directory of C:\temp\j

14/04/2006 09:20 <DIR> .
14/04/2006 09:20 <DIR> ..
14/04/2006 09:20 10 hello.txt
               1 File(s) 10 bytes
               2 Dir(s) 28,642,308,096 bytes free

C:\temp>move sub\dir1 sub\dir2
        1 file(s) moved.

C:\temp>dir j
 Volume in drive C has no label.
 Volume Serial Number is F488-5FA5

 Directory of C:\temp\j

File Not Found

C:\temp>mkdir sub\dir1

C:\temp>echo "hello" >sub\dir1\hello2.txt

C:\temp>dir j
 Volume in drive C has no label.
 Volume Serial Number is F488-5FA5

 Directory of C:\temp\j

14/04/2006 09:21 <DIR> .
14/04/2006 09:21 <DIR> ..
14/04/2006 09:21 10 hello2.txt
               1 File(s) 10 bytes
               2 Dir(s) 28,642,308,096 bytes free

C:\temp>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 14 10:41:44 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.