From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5744 invoked by alias); 1 Nov 2003 21:57:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5737 invoked from network); 1 Nov 2003 21:57:34 -0000 Received: from unknown (HELO rogue.codemeta.com) (199.125.75.14) by sources.redhat.com with SMTP; 1 Nov 2003 21:57:34 -0000 Received: from erdos.veritech.com (nh-londndry-c41-bg1a-17-139.lndnnh.adelphia.net [67.21.240.139]) by rogue.codemeta.com (8.11.6/8.11.6) with ESMTP id hA1LvWC29198 for ; Sat, 1 Nov 2003 16:57:33 -0500 Message-Id: <6.0.0.20.0.20031101162456.16e67210@rogue.codemeta.com> X-Sender: lee@rogue.codemeta.com (Unverified) Date: Sat, 01 Nov 2003 21:57:00 -0000 To: cygwin@cygwin.com From: "Lee D. Rothstein" Subject: Re: Mount Confusion -- the tallest pique in the world! In-Reply-To: References: <6.0.0.20.0.20031030083220.071a6320@rogue.codemeta.com> <6.0.0.20.0.20031031144513.266e0280@rogue.codemeta.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-11/txt/msg00026.txt.bz2 At 2003-11-01 03:27 PM, Igor Pechtchanski wrote: >> At 2003-10-31 01:08 PM, Igor Pechtchanski wrote: >> Why do /zc, /zd, /ze, /zf, /zg, ... ('mount c:/ /zc', ... >> 'mount g:/ /zg, ...) appear in ls output when no prior >> 'mkdir's have been carried out. What's different between >> /tmp and /? > >WAG: this may be due to the code that lists /cygdrive automatic mounts >(since your cygdrive prefix is set to "/", you get your drives listed). 1st, the only cygdrive prefix that works on my system is /cygdrive/. 2nd, no matter what I set the prefix to /cyggdrive/ is the only prefix that works. 3rd, even using your suggestion of 'mount -c -b -s /IIFOIALIP', for example: cd /IIFOIALIP/c/ # does not get me to c:/, whereas cd /cygdrive/c/ # gets me there before during and after!! Quite apart from the above: Why (how is it that) I can get /zc ... /zy to show up in the output of 'ls /', and I can do a cd to any of "/z?", without creating respective directories in / of /zc .. /zy? I submit to the group that whatever inconsistency in implementation or documentation is behind these problems, is the source of numerous configuration problems that people are having. I have run into this problem so many times that I refuse to let it rest until I understand it. >> >> 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. >> >> You'd lose that bet. Only one ID -- Administrator. Cygwin always >> *only* installed for/by Administrator. > >Nope. Services run as LocalSystem (aka SYSTEM). :-p I'm not getting the joke, and more importantly the point! Could someone else jump in here who is not as proud of their own sense of humor. >> One thing I do not understand, however, is the appearance of the >> owner/user SYSTEM on some files/directories when I do 'ls -l'. > >There you go. :-D There I go where? I am not installing anything as "SYSTEM". Cygwin setup (?) must be doing it? Why? How? How do I keep the mismatches from occurring again? >> >> 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'). For the third time, why do I have to explicitly specify '-s' and '-b' when the man page says they are each the default? What other sub-root directories besides /usr/bin /usr/lib require mounting for a valid Cygwin configuration? >> As far as I know, my only cygdrive prefix is 'cygdrive'. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 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/