delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/18/12:10:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=PtmmuDOkwgQr1nC8
04w+cbiABMNqjk5KhKRKNg4477LgAH2IrVwaA9uGuPRZYOoaP9aw0uS6NuzwMmWK
J3MP89K/WLa6W2UvnX0oyuWBQuiT5ZV0TQRQsXL4Y6Maw59WNZxoC979q1M6hb7b
/oR9q+qT1keBBWLHtURUEJLN+K4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ij+nCXPUknLHoxgAuEG3Ts
DbWYs=; b=VGZ0Uu8jJC1aSGp4V7g812ulFE5tZOVouzQKpanOBzs44C6hG9j4F9
IDXcEIxx0GqCRtYkhZtjNgIsb70XDaJx+AXFxdgPYdxqSt15sjogRZAKvXZW1Dv2
eHy+2po1cHwYUQGhp1QNRlm7iLj4kPtEpIyPJ5tb3k4hUX0Z0WbwY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*M:online, drives, Daly, fergus
X-HELO: mailout01.t-online.de
Subject: Re: Wild card to address drives
To: cygwin AT cygwin DOT com
References: <9D9AC45310887B40A7245734E850FBE179089E44 AT FS-MX02 DOT frontier DOT local>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Openpgp: preference=signencrypt
Message-ID: <98821e64-e055-0ff9-46ea-1dbcc061cd4c@t-online.de>
Date: Thu, 18 Jul 2019 18:09:23 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <9D9AC45310887B40A7245734E850FBE179089E44@FS-MX02.frontier.local>
X-IsSubscribed: yes

Am 18.07.2019 um 10:03 schrieb Fergus Daly:
> I have 
> none / cygdrive binary 0 0
> as the only line in the file /etc/fstab to allow for example
> $ ls /h/config.sys
> instead of the long-hand
> $ ls /cygdrive/h/config.sys

And that's precisely your problem.  You've now overlaid two mount points
onto /: the cygdrive tree, and the normal Cygwin root mount.

Without this, your command would have worked just fine.

> In Linux I can type something like
> ls /?/ -Ax 
> as a wild card to address ALL drives, 

Not really, as there is no such thing as "drives" on Linux.  The above
will list all directories under / that have single letters as their name
--- whether those be mounted filesystems, or ordinary directories.

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

- Raw text -


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