Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 10 Jul 2003 19:20:02 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "P. Brockill" cc: cygwin AT cygwin DOT com Subject: RE: Why do symlinks need to be system files In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 10 Jul 2003, P. Brockill wrote: > >Sure. Use new-style symlinks (i.e., shortcuts). They only need to be > >read-only, IIRC. Make sure your CYGWIN variable doesn't contain > >"nowinsymlinks", though. > > Igor > > Sounds right enough, but: don't the new-style symlinks always contain > the full path to the file (e.g. e:\some_dir\some_file.ext)? (Although I > see from the text of the .lnk file that they also keep a cygwin path in > the comment section as well) > So say I want to make a link on a CD to another file on that CD called > e:\some_dir\some_file.ext . Won't this fail when I try to see the link > on a computer where the CD drive is d: ? > Thanks for the help, > Cheers. I just ran a test with a symlink that got created when a network drive was mounted on a certain directory. When the network drive got disconnected and the mount removed, the original path could be accessed through the symlink, even though the Win32 path field was invalid (i.e., still pointed to the imaginary Q: drive). So I guess it's safe to say that the Win32 path field is ignored. Of course, the source is always the ultimate authority. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/