[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix for rename function on Mingw
From: |
Eric Blake |
Subject: |
Re: fix for rename function on Mingw |
Date: |
Sat, 21 Mar 2009 18:14:30 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ben Pfaff on 3/21/2009 6:03 PM:
>> On Windows there is no link as on linux. The link file on windows is
>> just a regular file with
>> the address of the original on it. So I don't know how to test it on windows.
>
> Windows does support real hard links, although this feature is
> not well known. There is information on how to create them under
> Windows at:
> http://en.wikipedia.org/wiki/Hard_link
> as Bruno pointed out earlier.
Or the gnulib link module. But it does not work universally - FAT and
other puny file systems don't support hard links, so you have to run your
test on NTFS or similar.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknFguYACgkQ84KuGfSFAYD8SgCeO6iwkowuKvVPzn59tXm//v5Q
NtwAoIRRxl9rbX/1eQ5e77sA1kLP2lIF
=Gi8y
-----END PGP SIGNATURE-----