On Fri, 19 Oct 2007, Eric Blake wrote: > According to Igor Peshansky on 10/19/2007 7:29 AM: > >> Why not create a stand-alone package in the base category which > >> consists of just the postinstall script? > > > > I could, but the issue is more basic than where the script lives. Right > > now Cygwin populates the /dev directory as a virtual directory within the > > DLL. The script I'm talking about will make /dev a real directory, and > > the only thing Cygwin will deal with is devices. > > > > What the transition would entail is not clear to me. > > But the bash postinstall script already creates /dev as a real directory, > as of my release announcement; it just isn't very populated. I think > making the script its own package in base, then making bash depend on that > package, would be worthwhile.
Sorry, I was imprecise. Whether /dev is a real directory or not is irrelevant. However, the *files* in /dev are virtual, and therefore the command "mknod -m 666 c 1 3 /dev/null" will fail, because, as far as the Cygwin DLL is concerned, /dev/null already exists. Plus, we might get into some ordering issues on when to run this script... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/