On Thu, 30 Oct 2003, Lee D. Rothstein wrote: > Either Cygwin or I be confused. (I'm betting on "I". ;-))
Bingo. > I have deleted '/tmp' ('d:/Cygwin/tmp' -- using Explorer) > and issued: 'umount /tmp' and 'mount 'e:\tmp /tmp' repeatedly. ^^^^^^^^^^ Umm, why? Once should have been enough. > All the other mounts to '/' appear in an 'ls' of '/', > but '/tmp' ('e:/tmp'), does not. What other mounts to "/"? "/" itself is a mount, but under it everything should be either a real or virtual (/proc, /dev) directory. > While the apps seem to find 'e:/tmp', should I be worried? No. Mounts can be associated with non-existing directories, and will work just fine. If you want tab completion, you can simply "mkdir /cygdrive/d/Cygwin/tmp" -- it will then show up in "ls /" and allow tab completion, e.g., "/tm[Tab]". BTW, unless you repeat this trick with /proc and /dev, they won't show up in "ls /" either. > Prior to my doing any of the above (w/ Cygwin root at > 'c:/_Programs/Cygwin'), I've had recurring instances of something > (apps?, 'setup.exe?, what?) creating 'tmp' and more frequently 'var' on > both my 'c:' and 'e:' drives. This problem seems to have subsided since > I moved the Cygwin root directory from 'c:/_Programs/Cygwin' to > D:/Cygwin'. I'd bet you were installing as one user and running as another. > Also, after I moved Cygwin, despite changing all the references in the > profile and Windows environment variables, *and* reinstalling the whole > of Cygwin, "Cygwin" "insisted" on looking at the C/_Programs... : root > rather than the D:/Cygwin... directory > > Anybody know what's causing this? Stale user mounts? Your "/", "/usr/bin" and "/usr/lib" mounts appear to be user mounts. You should probably remount them as "system" (i.e., 'mount -f -s -b d:/Cygwin /', 'mount -f -s -b d:/Cygwin/bin /usr/bin', 'mount -f -s -b d:/Cygwin/lib /usr/lib', and 'umount -U'). Also, your system cygdrive prefix is marked "textmode"; you should change it to "binmode" to avoid spurious errors (by 'mount -s -b -c /'). It's not very safe to have it set to '/' anyway... > Note that at the end of the attached 'cycheck -shv', there is > the following error message: > > cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1 > > which seems to be coincidental when it checks the 'a:/' floppy drive. This is expected. > Thanks, > Lee Oh, and another small thing: cls = `() { cmd /c cls }' Why not install the "clear" package and 'function cls() { clear }'? ;-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/