This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: [RFD]: Using a new feature of Win2K for symlinks
- To: cygdev <cygwin-developers at sourceware dot cygnus dot com>
- Subject: Re: [RFD]: Using a new feature of Win2K for symlinks
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Date: 09 Jun 2000 14:33:48 +0900
- References: <394007B4.FADA8798@vinschen.de>
>>> On Thu, 08 Jun 2000 22:53:08 +0200
>>> Corinna Vinschen <corinna@vinschen.de> said:
> - The IO_REPARSE_TAG_SYMBOLIC_LINK is nice but completely useless
> at the moment or on a base W2K system (I don't know exactly).
I guess Microsoft will ship a file-system filter which recognize
this tag along with Interix or SFU in the near feature.
> Disadvantage:
>
> Reparse point symlinks are always absolute windows
> paths. Relative paths are impossible. So that patch
> always changes the incoming path to an absolute
> windows path. Maybe, this will break some apps ?!?
A windows path can't revert to the original posix path via
conv_to_win32_path. So the mechanisms depending only on win32
paths can break some apps. For example, the current implementation
of getcwd() breaks `du' and `find' executed in the directory `/usr'.
I'm afraid your approach will cause this kind of problem.
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology