Re: Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Dieter Deyke wrote: > This is my solution: > > import os > > def CreateHardLink(src, dst): > import ctypes > if not ctypes.windll.kernel32.CreateHardLinkA(dst, src, 0): raise OSError > > os.link = CreateHardLink Cool, thanks. :) wildemar -- http://mail.python.org/mailman/listinfo/pyt

Re: Hardlinks on NTFS

2006-09-17 Thread Dieter Deyke
Wildemar Wildenburger <[EMAIL PROTECTED]> writes: > Hi :) > > I'm thinking of letting my program create hardlinks (or symlinks). I > know python allows doing this for ext, reiser and the like, but > apparently not for ntfs systems. > Is there any package out there that lets me create links in a pl

Re: Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Méta-MCI wrote: > Here, a copy of a message send on anither newsgroup (by me). > > Summary on hardlink & junction-point. > [snip] > http://support.microsoft.com/Default.aspx?kbid=205524 Yeah, I know :). Thanks a lot, anyway. There's also fsutils, which I thought about using. Creating the links r

Re: Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Calvin Spealman wrote: > On 9/17/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: >> Hi :) >> >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package ou

Re: Hardlinks on NTFS

2006-09-17 Thread Martin v. Löwis
Calvin Spealman schrieb: >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package out there that lets me create links in a platform >> independent way? >> >

Re: Hardlinks on NTFS

2006-09-17 Thread Michel Claveau
Hi! NTFS hardlink exists before others filesystem. Please, send question to other FS... -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Hardlinks on NTFS

2006-09-17 Thread Tim Peters
[Wildemar Wildenburger] >> I'm thinking of letting my program create hardlinks (or symlinks). I >> know python allows doing this for ext, reiser and the like, but >> apparently not for ntfs systems. >> Is there any package out there that lets me create links in a platform >> independent way? [Calv

Re: Hardlinks on NTFS

2006-09-17 Thread M�ta-MCI
Hi! Here, a copy of a message send on anither newsgroup (by me). Summary on hardlink & junction-point. *** Sorry, this text is in french ; but command & links are good. *** Synthèse sur les hardlinks et les points de jonction. - Les hardlinks sont des alias sur des fichiers. - Les p

Re: Hardlinks on NTFS

2006-09-17 Thread Calvin Spealman
On 9/17/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > Hi :) > > I'm thinking of letting my program create hardlinks (or symlinks). I > know python allows doing this for ext, reiser and the like, but > apparently not for ntfs systems. > Is there any package out there that lets me create lin

Hardlinks on NTFS

2006-09-17 Thread Wildemar Wildenburger
Hi :) I'm thinking of letting my program create hardlinks (or symlinks). I know python allows doing this for ext, reiser and the like, but apparently not for ntfs systems. Is there any package out there that lets me create links in a platform independent way? bye wildemar -- http://mail.pytho