ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/30/19:24:06

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: <011b01c0b95a$9ad63a60$1500040a@na.cisco.com>
From: "Dan Kaminsky" <dankamin AT cisco DOT com>
To: "egor duda" <cygwin-apps AT cygwin DOT com>
Cc: <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> <00ca01c0b923$e2b3ec10$1500040a AT na DOT cisco DOT com> <195116000319 DOT 20010330215205 AT logos-m DOT ru>
Subject: Re: those nonintuitive cygdrives... (Was: Making RXVT The Standard Terminal)
Date: Fri, 30 Mar 2001 12:47:11 -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

> this need can be easily satisfied with this simple .bat file.

#DEFINE FUGLY_HACK create_cygdrives.bat

*smile*

Ye *gads*, I'm practically the openssh dev list preacher for the wonders of
userspace, but even *I* have to say this is the *wrong* way to do it.  This
is kind of the moral equivalent of brute forcing all text combinations from
a to zzzzzzzz to find out which commands on a device will actually function.
Heh, it's the literal equivalent of mounting all partitions from /dev/hdc1
to /dev/hdd9 just to see if any of 'em have content.

This is really something that belongs in the setup.exe.  Initial setup is
where you traditionally define your partition schemes, which is really what
we're arguing about.  The hidden /cygdrive directory is effectively
equivalent to /cygdrive/hdc1 -- you don't know which partitions are valid,
but it'll work if you guess right.  I'd like to see the guesswork removed,
but I do want to keep directory trees and drives out of the cygwin
psuedosandbox unless explicitly added(so, for example, rm -rf / could be
safe).

So I'd argue against my earlier desire for an always-available /c, /mnt/c,
or visibile(even invisible) /cygdrive directory and say that partition
mounting should be added to the setup.exe.

Yours Truly,

    Dan Kaminsky, CISSP
    http://www.doxpara.com


- Raw text -


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