X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 6 Sep 2009 11:38:54 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: ln -s symlink question Message-ID: <20090906153854.GB21356@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sun, Sep 06, 2009 at 05:39:04AM -0700, Dan Kegel wrote: >Hi folks, >I'm adding support for hidden and system attributes to Wine >to support cygwin's symlinks. The following questions >are not wine-related; I'm doing my testing on vista. > >If I look at /bin/vi with both dir in cmd and ls -l in cygwin, I see >that it's a non-.lnk symlink, i.e. dir shows it as an 18 byte >system file, and ls -l shows it as a symlink. > >But I can't seem to create that style of symlink with ln -s. >If I do > ln -s a b >and then in cmd do > dir b* >I see a 333 byte non-system file named b.lnk. > >What's going on? How can I create the other style of symlink >with ln -s? Either use Cygwin 1.7 or use the appropriate CYGWIN environment variable settings: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html i.e., CYGWIN=nowinsymlinks cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple