2010/3/16 Cliff Hones <cl...@hones.org.uk>: > 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
Indeed, Also, I think I can delete this folder without problem. I do not understand why the postinstall script bash.sh is so complex DEVDIR="$(cygpath -au "C:/$(cygpath -am /dev/)" | sed 's|/c/\(.\):/|/\1/|')" mkdir -p "$DEVDIR" || result=1 it would be simple (too simple?) to mkdir -p /dev || result=1 Regards, -- 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