On Nov 9 19:09, Corinna Vinschen wrote: > On Nov 9 09:39, aputerguy wrote: > > > > Corinna writes.. > > > Try Cygwin 1.7. It recognizes directory junctions as symlinks. > > > > $ uname -r > > 1.7.0(0.214/5/3) > > > > But don't see any symlinks... > > Uh, I see. Don't use the junction tool, use cmd's mklink instead. > junction.exe creates directory symlinks which can't be easily recognized > as directory junctions, at least not using the default technique. > > I'll look into supporting these weird junctions as well.
Not quite as weird. The test got actually simpler now. I also set the return code of rename(2) to EBUSY when you try to rename a volume junction. Otherwise Windows returns an error code equivalent to EXDEV and mv(1) starts to move the directory over by copying its entire content (cross-device mv). HTH, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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