This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?
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.
Andy
--
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