From 09caddaaf5f25f00661c6c6d34185035f2d33dd9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 24 Apr 2013 10:18:08 +0000 Subject: [PATCH] * cygwinenv.sgml (cygwinenv-implemented-options): Change description for winsymlink option to explain new implementation. * new-features.sgml (ov-new1.7.19): Add support for native symlinks and AFS. --- winsup/doc/ChangeLog | 7 +++++++ winsup/doc/cygwinenv.sgml | 20 +++++++++++++++----- winsup/doc/new-features.sgml | 9 +++++++++ 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 96151e295..9f66a7607 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,10 @@ +2013-04-23 Corinna Vinschen + + * cygwinenv.sgml (cygwinenv-implemented-options): Change description + for winsymlink option to explain new implementation. + * new-features.sgml (ov-new1.7.19): Add support for native symlinks and + AFS. + 2013-04-23 Corinna Vinschen * Throughout, eliminate Windows 2000 from the documentation. diff --git a/winsup/doc/cygwinenv.sgml b/winsup/doc/cygwinenv.sgml index 3a05e9ba3..27c3e4eb2 100644 --- a/winsup/doc/cygwinenv.sgml +++ b/winsup/doc/cygwinenv.sgml @@ -78,11 +78,21 @@ time and when handles are inherited. Defaults to set. -(no)winsymlinks - if set, Cygwin creates -symlinks as Windows shortcuts with a special header and the R/O attribute -set. If not set, Cygwin creates symlinks as plain files with a magic number, -a path and the system attribute set. Defaults to not set since plain -file symlinks are faster to write and faster to read. +winsymlinks:{lnk,native} - if set to just +winsymlinks or winsymlinks:lnk, +Cygwin creates symlinks as Windows shortcuts with a special header and +the R/O attribute set. If set to winsymlinks:native, +Cygwin creates symlinks as native Windows symlinks as supported by NTFS +since Windows Vista/2008. + +If not set, Cygwin creates symlinks as plain files with a magic number, +a path and the DOS SYSTEM attribute set by default, unless this is not +supported by the underlying filesystem. For instance, on MVFS symlinks +are always created as Windows shortcuts, because it doesn't support the +DOS SYSTEM attribute, on AFS always as native symlink because it doesn't +support DOS attributes. On NFS, symlinks are always created as native +symlinks of the underlying filesystem. + Please note that symlinks created under Cygwin 1.7 or later are not readable by older Cygwin releases because the new symlinks use UTF-16 diff --git a/winsup/doc/new-features.sgml b/winsup/doc/new-features.sgml index 109600c96..a4a9f8099 100644 --- a/winsup/doc/new-features.sgml +++ b/winsup/doc/new-features.sgml @@ -12,6 +12,15 @@ Drop support for Windows 2000 and Windows XP pre-SP3. Add support for building a 64 bit version of Cygwin on x86_64 natively. + +Add support for creating native NTFS symlinks starting with Windows Vista +by setting the CYGWIN=winsymlinks:native option. + + + +Add support for AFS filesystem. + +