X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-TPG-Junk-Checked: Yes X-TPG-Junk-Status: Message not scanned because user authenticated using SMTP AUTH X-TPG-Abuse: host=123-243-74-63.tpgi.com.au; ip=123.243.74.63; date=Sat, 19 Sep 2009 00:08:03 +1000; auth=a/dd58RmThMRQbJLhdmDwr/fcSovfa0vOzWc399V3Kc= Message-ID: <4AB39432.7040103@shaddybaddah.name> Date: Sat, 19 Sep 2009 00:07:46 +1000 From: Shaddy Baddah User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygdrive prefix References: <182640b4a6730dafadd266e0cfc9d9bf AT mail DOT smartmobili DOT com> <416096c60909161406tbfd73ey7a5b9510e7f97762 AT mail DOT gmail DOT com> <4AB15B51 DOT 1020006 AT gmail DOT com> <416096c60909162218j2890ea1flec06819fbbc8f282 AT mail DOT gmail DOT com> In-Reply-To: <416096c60909162218j2890ea1flec06819fbbc8f282@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi Andy, Andy Koppe wrote: > 2009/9/16 Dave Korn: > >>> whatever) prefixes when accessing stuff from the other side of the >>> fence. >>> >> Never mind the fence, what colour are we going to paint the bikeshed? >> >> This is purely a matter of taste. >> > > Exactly. I didn't mean to suggest that Cygwin should go into C:\ by > default. And yes, I'm quite capable of not installing MingW into the > same place. > > My real gripe is with setup telling me off about putting Cygwin in the > root dir ON EVERY SINGLE UPDATE. > > I apologise profusely for not letting this one just close as some have expressed they wish the thread would (close). But I think I may have one valuable contribution for you Andy. Even with a customisation of setup.exe to not warn you everytime on installing to c:/, I think a better solution for you is to remap root (inspite of the ug giving a caveat for attempting this). From the 1.7 user guide (http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table): A correct root directory is quite essential to the operation of Cygwin. A default root directory is evaluated at startup so a fstab entry for the root directory is not necessary. If it's wrong, nothing will work as expected. Therefore, the root directory evaluated by Cygwin itself is treated as an immutable mount point and can't be overridden in /etc/fstab... unless you think you really know what you're doing. In this case, use the override flag in the options field in the /etc/fstab file. Since this is a dangerous thing to do, do so at your own risk. Well, if you made an fstab like this (this is what I have tried on my installation): c:/ / ntfs binary,override 0 0 c:/software/cygwin/bin /bin ntfs binary 0 0 c:/software/cygwin/etc /etc ntfs binary 0 0 c:/software/cygwin/lib /lib ntfs binary 0 0 c:/software/cygwin/tmp /tmp ntfs binary 0 0 c:/software/cygwin/usr /usr ntfs binary 0 0 c:/software/cygwin/bin /usr/bin ntfs binary 0 0 c:/software/cygwin/lib /usr/lib ntfs binary 0 0 c:/software/cygwin/dev /dev ntfs binary 0 0 you can achieve what you want (or I think you meant), whilst still demarcating the cygwin installation from the rest of Windows. I know it's a little convaluted, but IMO, it is still better than dropping cygwin straight into c:/. The fact that setup.exe would stop bothering you is a nice extra. HTH and over and out (on this one), Shaddy -- 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