PDA

View Full Version : NTFS v5 - Windows XP hardlinking / symbolic linking between different drives..


Gavin Reynolds
December 14th 03, 07:46 AM
I want to symbolically link a folder to another folder on a different
volume. For example: Link the My Music folder in my user profile on C: to
the music folder on my storage volume F: . I know it is possible to do this
kind of thing with folders on the same volume, but i can't get it to work
between volumes? Is it not possible?
If not hardlinking, how else can i symbolically 'mirror' the contents of a
folder on one volume, so it appears (transparently) in another folder on a
second volume?

Thanks
Gavin

Roger Abell [MVP]
December 14th 03, 07:46 AM
I do not know your direct answer cross volume.
fsutil hardlink as you have likely discovered
forces one to remain within a volume.

PS
You might want to refer it NTFS in XP as version 3.1 which it is.


"Gavin Reynolds" > wrote in message
...
> I want to symbolically link a folder to another folder on a different
> volume. For example: Link the My Music folder in my user profile on C: to
> the music folder on my storage volume F: . I know it is possible to do
this
> kind of thing with folders on the same volume, but i can't get it to work
> between volumes? Is it not possible?
> If not hardlinking, how else can i symbolically 'mirror' the contents of a
> folder on one volume, so it appears (transparently) in another folder on a
> second volume?
>
> Thanks
> Gavin
>
>
>

Lionel Fourquaux
December 14th 03, 07:46 AM
WinNT and successors have hardlinks, but it doesn't work for directories
and it doesn't work across volume boundaries.
For symlinks, Win2k introduced "directory junctions", which are close enough
to unix-like symlinks for what you want. This applies only to directories and
is barely documented. To create them, you can use either the linkd tool from
the reskit, or the junction tool from http://www.sysinternals.com/ .
-- Lionel Fourquaux

"Gavin Reynolds" > a écrit dans le message de ...
> I want to symbolically link a folder to another folder on a different
> volume. For example: Link the My Music folder in my user profile on C: to
> the music folder on my storage volume F: . I know it is possible to do this
> kind of thing with folders on the same volume, but i can't get it to work
> between volumes? Is it not possible?
> If not hardlinking, how else can i symbolically 'mirror' the contents of a
> folder on one volume, so it appears (transparently) in another folder on a
> second volume?
>
> Thanks
> Gavin
>
>
>

Google