delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/09/13:02:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 9 Jul 2005 13:02:18 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Unwanted .exe appended to symlinks
Message-ID: <20050709170218.GD11356@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <1120880636 DOT 6400 DOT 7 DOT camel AT localhost DOT localdomain> <42CFD190 DOT 2060109 AT byu DOT net> <1120928428 DOT 5677 DOT 18 DOT camel AT localhost DOT localdomain>
Mime-Version: 1.0
In-Reply-To: <1120928428.5677.18.camel@localhost.localdomain>
User-Agent: Mutt/1.5.8i

On Sat, Jul 09, 2005 at 06:00:28PM +0100, fergus wrote:
>Thanks for your very rapid and informative responses, and also the
>suggestions and references http://cygwin.com/faq/faq_toc.html#TOC53)
>(How can I access other drives?) to using mounts rather than symlinks.
>
>Alol the same I've got a small preference for
>	ln -s /cygdrive/h h
>over
>	mkdir /h; mount -fsb h:/ /h
>which is probably easily addressed, but it is as follows.
>
>Both instructions are intended to be issue-once-only. With the former
>arrangement (symlinks) the command
>	find /
>(usually with qualifications of course) finds only folders on the root
>filesystem. If I want to include devices then additionally I
>	mkdir /cygdrive
>and lo! the command find / includes all the linked devices. Whereas,
>with the latter arrangement (mounts) the command
>	find /
>always includes the mounted devices; not usually, or certainly not
>often, what I want.

Sounds like you need to investigate "find -xdev".

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019