delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/18/13:21:00

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Noy/fkagtqgFHWXC
4aZYGNwuac1hYjUQeMbnvjc9wLk/0nA2UI0iRp3Cw7nbui5ijZfZWkcAMgopso66
TJorK0wjSElTAFWUabmufE4ma7jOGuaacwe4pKUCMokwpb1RyzCgEbLfnQkVb7sO
/8qeFKd3gnMvdGhrqRCkNSS1WOA=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=HJK0xea+86S2IPmBxMcf4w
NXQSg=; b=JuAVCIh5Z/UpIZV4Tt15swBDiPCeiR+wa9K0/6ZODJCHN8sLSYQ5bb
B8IQCouv7wznnClT3E977HN8q8yc4mlFnWEKJrSNeK2tq+pOzxJht5WrDVFij8nj
zqQOl9e3z7a2j6WrcPHwF21/VZ/L+6aqpIkmMTrGWrpHTMmnx9uis=
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: =?ISO-8859-1?Q?No, score=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy==d0=b8=d1, thursday, H*x:Bat!, Thursday?=
X-HELO: forward105j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1563470401; bh=YcCxAp2ib+J91qjGCfLxhj/tDfb099aWAGYcGMq9x5w=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=j2PfG1bBaFWrrTVDz0si+a0cBAA4KaCUOYXIUp6IFniVgg9EPAGZlQe9oZsxGEWei wz2R5hEF26OrYE01llhZdFs6SkKLG6PtQ3pK4A6aNbk3Ii8jHRE/X/J7Hc0vY4pjAY lOzgqHoYX52c7emdKSC11wRj8OHnwFao+nar/iRY=
Authentication-Results: mxback7g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 18 Jul 2019 20:18:35 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <133450076.20190718201835@yandex.ru>
To: =?utf-8?Q?Hans-Bernhard_Br=C3=B6ker?= <HBBroeker AT t-online DOT de>,
cygwin AT cygwin DOT com
Subject: Re: Wild card to address drives
In-Reply-To: <98821e64-e055-0ff9-46ea-1dbcc061cd4c@t-online.de>
References: <9D9AC45310887B40A7245734E850FBE179089E44 AT FS-MX02 DOT frontier DOT local> <98821e64-e055-0ff9-46ea-1dbcc061cd4c AT t-online DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x6IHKfZr017834

Greetings, Hans-Bernhard Bröker!

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

I understand that, but I don't understand the /proc/cygdrive behavior in such
case.
My expectation was that /proc/cygdrive/ would only hold Windows drives.

But...

$ ls -l /proc/cygdrive
lrwxrwxrwx 1 anrdaemon None 0 июл 18 20:17 /proc/cygdrive -> /

Why?

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


-- 
With best regards,
Andrey Repin
Thursday, July 18, 2019 20:15:38

Sorry for my terrible english...
--
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