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:from:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=IqZekcstwhxAGA1h jzIvmEWaqBphPw0pIGPnZnA92x3cop6Ma0xVqYP1GxEgz6wIr6tDnYojyGP8Sv1j TZu1WPuIOkih2yz/1DqdTnXtz5+22SdIO6s6SEjks9oV7DOY6EItZie7XTryoFTA DigYYSeIsIqvnzm0ixb/ivrV2yI= 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:from:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=aN/g0ct5MK4Af4HfNES0b4 xZaQg=; b=ICHEdjfyzNneSz7X7QBnPX2r4bOeaVSQL1JqAIQADVY3TuUIPLXK2B 0cdB+cm+nyvydnuZM/FHw/0/2Q706jqOBeAH778Th0SVy/dV+Fo5e/XVR7j+0+qx +Mqm+IU4a6AbAx7FwqsdjprFKpf1P5qJ2RydQsvFCS+HHkDAU6P0I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Canada, canada, 3.0.7, H*RU:sk:smtp-ou X-HELO: smtp-out-no.shaw.ca From: Brian Inglis Subject: Re: Wild card to address drives Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca To: "cygwin AT cygwin DOT com" References: <9D9AC45310887B40A7245734E850FBE179089E44 AT FS-MX02 DOT frontier DOT local> Openpgp: preference=signencrypt Message-ID: <06ce51ef-2c5b-1f5e-6f86-62837010428b@SystematicSw.ab.ca> Date: Thu, 18 Jul 2019 20:49:43 -0600 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2019-07-18 02:03, Fergus Daly wrote: > 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 > In Linux I can type something like > ls /?/ -Ax > as a wild card to address ALL drives, but this does not work in Cygwin. > Is there a wild card syntax that would? Should work - I tried that mapping for a while, but found it interfered with asking Windows utilities for help e.g. cmd /? had to be cmd /\?: $ ls -d /?/\$RECYCLE.BIN '/c/$RECYCLE.BIN' '/d/$RECYCLE.BIN' '/g/$RECYCLE.BIN' $ ls -d /proc/cygdrive/?/\$RECYCLE.BIN '/proc/cygdrive/c/$RECYCLE.BIN' '/proc/cygdrive/d/$RECYCLE.BIN' '/proc/cygdrive/g/$RECYCLE.BIN' $ cmd /c ver Microsoft Windows [Version 10.0.17763.615] $ uname -srvmo CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin What does mtab show: $ head /etc/mtab C:/cygwin64/bin /usr/bin ntfs binary,auto 1 1 C:/cygwin64/lib /usr/lib ntfs binary,auto 1 1 C:/cygwin64 / ntfs binary,auto 1 1 C: /c ntfs binary,posix=0,user,noumount,auto 1 1 D: /d ntfs binary,posix=0,user,noumount,auto 1 1 G: /g ntfs binary,posix=0,user,noumount,auto 1 1 -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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