Re: [HACKERS] win32 tablespace handing

2004-10-06 Thread Zeugswetter Andreas SB SD
hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such restriction for junctions, I just tried it to be safe. Andreas ---(end of

Re: [pgsql-hackers-win32] [HACKERS] win32 tablespace handing

2004-10-06 Thread Reini Urban
Zeugswetter Andreas SB SD schrieb: hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such restriction for junctions, I just tried it to be safe. Yes, sorry. I had old NTFS4 information.

Re: [pgsql-hackers-win32] [HACKERS] win32 tablespace handing

2004-10-06 Thread Andrew Dunstan
Reini Urban said: Zeugswetter Andreas SB SD schrieb: hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such restriction for junctions, I just tried it to be safe. Yes, sorry. I had old

Re: [pgsql-hackers-win32] [HACKERS] win32 tablespace handing

2004-10-06 Thread Bruce Momjian
Andrew Dunstan wrote: Reini Urban said: Zeugswetter Andreas SB SD schrieb: hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such restriction for junctions, I just tried it to be

Re: [pgsql-hackers-win32] [HACKERS] win32 tablespace handing

2004-10-06 Thread Reini Urban
Bruce Momjian schrieb: Andrew Dunstan wrote: Reini Urban said: Zeugswetter Andreas SB SD schrieb: hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such restriction for junctions, I just

Re: [pgsql-hackers-win32] [HACKERS] win32 tablespace handing

2004-10-06 Thread Bruce Momjian
Reini Urban wrote: Bruce Momjian schrieb: Andrew Dunstan wrote: Reini Urban said: Zeugswetter Andreas SB SD schrieb: hardlinks and junctions don't work across physical disks, only symlinks. Where did you read this? I just looked and can see no such restriction. There is no such

[HACKERS] win32 tablespace handing

2004-10-05 Thread Reini Urban
Reini Urban schrieb: Cygwin can do symlinks for directories via the magic .lnk file. But Cygwin can also do junctions via hardlinks in ln.exe. I thought link() calls the junction code. I'll investigate why the libc link() failed, and if ln.exe does some sifferent magic, similar to pgsymlink. I

Re: [HACKERS] win32 tablespace handing

2004-10-05 Thread Bruce Momjian
Reini Urban wrote: Reini Urban schrieb: Cygwin can do symlinks for directories via the magic .lnk file. But Cygwin can also do junctions via hardlinks in ln.exe. I thought link() calls the junction code. I'll investigate why the libc link() failed, and if ln.exe does some sifferent

Re: [HACKERS] win32 tablespace handing

2004-10-05 Thread Magnus Hagander
Cygwin can do symlinks for directories via the magic .lnk file. But Cygwin can also do junctions via hardlinks in ln.exe. I thought link() calls the junction code. I'll investigate why the libc link() failed, and if ln.exe does some sifferent magic, similar to pgsymlink. I thought a little

Re: [HACKERS] win32 tablespace handing

2004-10-05 Thread Reini Urban
Bruce Momjian schrieb: Reini Urban schrieb: Cygwin can do symlinks for directories via the magic .lnk file. But Cygwin can also do junctions via hardlinks in ln.exe. I thought link() calls the junction code. I'll investigate why the libc link() failed, and if ln.exe does some sifferent magic,