From 8fd422fe4e07a5c78960de593c8dc502db3cc4d8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 21 Sep 2009 11:01:19 +0000 Subject: [PATCH] * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on filesystems not supporting hardlinks. * overview2.sgml (ov-hi-files): Change descripton accordingly. --- winsup/doc/ChangeLog | 6 ++++++ winsup/doc/new-features.sgml | 4 ++++ winsup/doc/overview2.sgml | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index be3eed930..badf990fb 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2009-09-21 Corinna Vinschen + + * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on + filesystems not supporting hardlinks. + * overview2.sgml (ov-hi-files): Change descripton accordingly. + 2009-08-26 Corinna Vinschen * new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U" diff --git a/winsup/doc/new-features.sgml b/winsup/doc/new-features.sgml index 140d462b0..bcc2b7f0b 100644 --- a/winsup/doc/new-features.sgml +++ b/winsup/doc/new-features.sgml @@ -100,6 +100,10 @@ - Recognize Samba version beginning with Samba 3.0.28a using the new extended version information negotiated with the Samba developers. +- Stop faking hardlinks by copying the file on filesystems which don't + support hardlinks natively (FAT, FAT32, etc.). Just return an error + instead, just like Linux. + - List servers of all accessible domains and workgroups in // instead of just the servers in the own domain/workgroup. diff --git a/winsup/doc/overview2.sgml b/winsup/doc/overview2.sgml index c80479cfb..0761629f7 100644 --- a/winsup/doc/overview2.sgml +++ b/winsup/doc/overview2.sgml @@ -225,8 +225,8 @@ new UTF-16 style of symlinks is not compatible with older Cygwin release, which can't read the target filename correctly. Hard links are fully supported on NTFS and NFS file systems. On FAT -and some other file systems, the call falls back to simply copying the file, -a strategy that works in many cases. +and other file systems which don't support hardlinks, the call returns with +an error, just like on other POSIX systems. On file systems which don't support unique persistent file IDs (FAT, older Samba shares) the inode number for a file is calculated by hashing its