ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/30/09:21:37

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <00ca01c0b923$e2b3ec10$1500040a@na.cisco.com>
From: "Dan Kaminsky" <dankamin AT cisco DOT com>
To: <cygwin-apps AT cygwin DOT com>
References: <038b01c0b844$7af94fa0$156545ab AT na DOT cisco DOT com> <3AC3F85D DOT 1936EC9F AT ece DOT gatech DOT edu> <005b01c0b8cd$2b066620$1400040a AT na DOT cisco DOT com> <20010329234429 DOT A10849 AT redhat DOT com> <3AC48F2E DOT B6EF595F AT yahoo DOT com>
Subject: Re: Making RXVT The Standard Terminal
Date: Fri, 30 Mar 2001 06:15:31 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

> > /cygdrive is not "effectively undocumented"...

In terms of:

1) Crypto/Security
2) Legality
3) UI Design
4) Actual user (lack of) awareness

It's not a listed resource when you ask for all available resources to be
shown, therefore it's effectively undocumented.

> > Although, I guess it could be undocumented if you never actually read
> > the documentation.

ls /

doesn't show /cygdrive.  Neither does mount.  Therefore, it's undocumented,
by virtue of expectation.  The semantic purpose of listing a directory and a
mount table is to request from the operating system a documentation of what
resources are available.

If extra resources are available, even if they're written about in secondary
documentation, they're not in the primary self-documenting interface and
therefore all those resources are undocumented.

The end effect, of course, is that usage of those resources is curtailed
significantly, which is the empirical way to verify that something is
effectively undocumented.

In a similar vein, it doesn't matter if Cisco documents a command line
option in a FAQ; when there are commands in the IOS CLI that are respected
but don't show up to a "show all available commands"  '?' request, they're
undocumented.  Period.

> The way that I eliminate the need to use /cygdrive is to
>   mount -b --change-cygdrive-prefix /
> and then I can
>   ls /c
>   ls /d
>   ls /e
>   ls /f
> without mounting each drive.

I believe this fails to add the drives to the visible directory structure,
which is problematic.

> Chris, I would like to make the argument that / would be the better
> default for the cygdrive prefix.

Clearly *something* needs to be done to make it more obvious how to access
system drives.  I personally prefer /c, /d, etc. simply because it's a quick
mental translation from c:\ to /c.  At minimum, a /cygdrive folder should
exist by default, perhaps just renamed to /drives.

Ideally, the setup program itself would give the user the choice.  This is a
*core need* for Cygwin to address; it's explicitly non-obvious how to access
resources outside the Cygwin psuedosandbox.

Yours Truly,

    Dan Kaminsky, CISSP

- Raw text -

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