From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94224 invoked by alias); 18 Jul 2019 16:09:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 94217 invoked by uid 89); 18 Jul 2019 16:09:30 -0000 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 Received: from mailout01.t-online.de (HELO mailout01.t-online.de) (194.25.134.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 Jul 2019 16:09:29 +0000 Received: from fwd11.aul.t-online.de (fwd11.aul.t-online.de [172.20.27.152]) by mailout01.t-online.de (Postfix) with SMTP id B899F4209371 for ; Thu, 18 Jul 2019 18:09:26 +0200 (CEST) Received: from [192.168.178.24] (bpyOzrZHYhPqsMobybke5ULwHWvyEi3ICgAk3X1v1diwDgR70+ZdYU3xY6Qyr5Lgkb@[87.154.32.168]) by fwd11.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1ho8yC-4A8nYW0; Thu, 18 Jul 2019 18:09:24 +0200 Subject: Re: Wild card to address drives To: cygwin@cygwin.com References: <9D9AC45310887B40A7245734E850FBE179089E44@FS-MX02.frontier.local> From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Openpgp: preference=signencrypt Message-ID: <98821e64-e055-0ff9-46ea-1dbcc061cd4c@t-online.de> Date: Thu, 18 Jul 2019 16:09:00 -0000 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: 8bit X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00134.txt.bz2 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