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 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> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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