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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <011b01c0b95a$9ad63a60$1500040a@na.cisco.com> From: "Dan Kaminsky" To: "egor duda" Cc: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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