delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/16/14:51:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B9FE12F.4020008@hones.org.uk>
Date: Tue, 16 Mar 2010 19:51:11 +0000
From: Cliff Hones <cliff AT hones DOT org DOT uk>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?
References: <485797401003160836l4a74aee2q527fa059765502a9 AT mail DOT gmail DOT com> <20100316154432 DOT GB18610 AT ednor DOT casa DOT cgf DOT cx> <416096c61003160854v4f18669ep57635447a8b55061 AT mail DOT gmail DOT com>
In-Reply-To: <416096c61003160854v4f18669ep57635447a8b55061@mail.gmail.com>
X-Spam-Score: -2.6 (--) (knockando.watchfront.net.uk)
X-Spam-Report: knockando.watchfront.net.uk has scanned this email for spam. Results:- BAYES_00=-2.599 (total -2.6, current threshold 4.0)
X-IsSubscribed: yes
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

Andy Koppe wrote:
> Christopher Faylor:
>> rolandc:
>>> I have installed cygwin 1.7 in e:\cygwin1.7
>>> After installation, there is a "strange" directory :
>>>  /E/cygwin1.7/dev/ (posix path)
>>>  E:\cygwin1.7\E\cygwin1.7\dev (win32 path)
>>>
>>> What is the role of this directory?
>> It is "/dev".
> 
> /dev would be E:\cygwin1.7\dev, not E:\cygwin1.7\E\cygwin1.7\dev.
> 
> Looks like a bug to me, and the finger of blame points at
> /etc/postinstall/{00,}bash.sh:
> 
> DEVDIR="$(cygpath -au "C:/$(cygpath -am /dev/)" | sed 's|/c/\(.\):/|/\1/|')"
> mkdir -p "$DEVDIR" || result=1
> 
> I haven't stared at the sed magic long enough to work out exactly what
> it does or why, but it looks suspiciously like it assumes that Cygwin
> is installed on the C drive.

This looks to be the same as the following problem:

http://cygwin.com/ml/cygwin/2009-07/msg00944.html

-- Cliff

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