public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* why not use root as root?
@ 2000-12-31 20:00 Gerrit P. Haase
  2000-12-31 20:37 ` Anthony & Yinkwan
  2001-01-01 11:21 ` Christopher Faylor
  0 siblings, 2 replies; 20+ messages in thread
From: Gerrit P. Haase @ 2000-12-31 20:00 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi cygwinners,

I found this entry in the faq:

http://cygwin.com/faq/faq_4.html#SEC52	

So there is no explanation, what is the problem with that issue.
I only read, that it is not recommended, but why?

'It is strongly recommended not to make the Cygwin root directory 
the same as your drive's root directory, unless you know what you 
are doing and are prepared to deal with the consequences. '

What are the consequences?

regards,

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: =^..^=

iQA/AwUBOk/zTDBeUmEooFE3EQJtcQCg8dAlF/t+SLcQfiEajBguP6O3g8oAn1K7
LCqAVNwGmIJBmMVS7dpXEd7v
=+p0X
-----END PGP SIGNATURE-----
-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: why not use root as root?
@ 2001-01-01 18:16 Robert Collins
  2001-01-01 18:30 ` Christopher Faylor
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Robert Collins @ 2001-01-01 18:16 UTC (permalink / raw)
  To: gerrit.haase, cygwin

> -----Original Message-----
> From: Gerrit P. Haase [ mailto:gerrit.haase@t-online.de ]
> 
> <2 Jan 2001, 10:57 Uhr wars, als Robert Collins folgendes schrub:>
> < Re: why not use root as root? >
> 
> Hi Rob,
> 
> [...]
> > Are you saying the FAQ entry is wrong or misleading or hard 
> to understand?
> 
> No, not that it is wrong, not misleading, but for me it is hard to 
> understand, first, i'm german and my english is not that good 
> as yours,

I can understand language dificulties- that's why I suggested you might
have some better text for use in the FAQ.

> second, i got two hdd's with 40GB, there are five partitions, 
> i use now one 
> complete drive (partition) only for cygwin. It is not my 
> system-drive, so i 
> expect no trouble.

Again, as long as you never install any other software on that
partition. The point of the entry is software collisions - you have
obviously read that and come to a workable solution. However I don't
think the FAQ is wrong here (a) relatively few people have the luxury of
dedicated a partition to cygwin (b) few people (IMO) will want to
reserve the space rather than sharing space between cygwin and other
applications.

> 
> On windows, AFAIK, most applications could be installed were 
> you want it.

Not true. Many can now, but in the past many programs were hardcoded to
specific locations. Also the early unix like tools on windows (ie mks as
already mentioned here) used c:\ as / - which is why cygwin avoids that.

> 
> VC++ e.g. is in c:\programme\visual studio\blah\bin
> BC++ e.g. is in c:\bc5\bin
> perl is in c:\perl\bin, pyhton is in c:\python\bin
> and so on.
> 
> > I think it is accurate and the suggestion should be made as it is.
> > I do not think it is misleading.
> 
> I thought that maybe there are problems with cygwins 
> functionality and if 
> so it should be explained in which form.

there are: when other tools are present. 

> In another listmail these days i read, that dejagnu is only 
> working if 
> cygwin is installed in root of a drive, but i don't 
> understand why, for me 
> dejagnu is not working either, though i installed in root.

Chris just discussed this - tcl is not cygwin aware.

> > Perhaps it could be clearer as to the reasons for the 
> recommendation - do
> > you have some suggested text to put there? (As I wasn't 
> confused by it I am
> > stumped with respect to understanding the confusion).
> > 
> > Rob
> 
> I suggest, a hint, that it is no problem to install cygwin on 
> the root, if 
> cygwin got its own drive or s.th. like this would be nice.

Why? Having it installed in the root offers no benefits (other than
dejagnu working). And everyone doing support on the list is likely to
ask a user that has installed into the root to reinstall off the root.

> 
> At last i thought, if it would not work with cygwin on root, then the 
> setup.exe would not allow to install in root:-)

It does work. But there _may_ be gotchas. There _are_ gotchas with other
products.

What benefits does encouraging this sort of install bring?

Rob

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: why not use root as root?
@ 2001-01-02  2:40 Peter Ring
  0 siblings, 0 replies; 20+ messages in thread
From: Peter Ring @ 2001-01-02  2:40 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Although cygwin users are, in general, early adapters with a bit of battle
experience, I understand your concern; some cygwin users want things to work
out-of-the-box (or net, as it is), so why not just adapt to their simple
ways, and give them a *nix-like environment in a small black box on their
Windows(R) desktop, avoiding interaction with the cruel environment outside?

Well, for some of us at least, the whole idea of having this *nix-like
environment running on top of Windows is exactly that we need things to
interact - why else the bother? Since we know that we have to (indeed want
to) take care of a multitude of interfaces and interactions, this RMPW
(root-mount-point-warning) is perplexing. It hints that we might have
overlooked something significant, and provokes us to pester the list with
the subject 'why not use root as root?'.

Unless you intend to use cygwin only from within a very restricted
environment, e.g. a very simple PATH, you'll have to take care of
name-clashes between executables anyway. 'sort' and 'find' comes to mind.

But I'm sorry to say that I find it hard to improve on the wording in the
FAQ. It actually just says "unless you know what you are doing and are
prepared to deal with the consequences".

Of course I went ahead and mounted '/' off the root of a Windows volume; so
far no disasters. I maintain a directory tree rather similar to the
Filesystem Hierarchy Standard, installing native ports of TeX, ghostscript,
emacs, etc. into this directory tree, and I find it easier to understand and
maintain if '/usr/local' is 'E:\usr\local' and so on.

Happy new year and thanks for a great project!

Kind regards,
Peter Ring



-----Original Message-----
From: Christopher Faylor [ mailto:cgf@redhat.com ]
Sent: 2. januar 2001 03:31
To: cygwin@cygwin.com
Subject: Re: why not use root as root?


<snip>

The section of the FAQ that is under fire shows the preference of the
people who are distributing cygwin and gives a rationale for doing
things a certain way.  It is not intended to be an exhaustive treatise
which magically adapts itself to everyone who reads it.

<snip>

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: why not use root as root?
@ 2001-01-07 18:52 Reini Urban
  0 siblings, 0 replies; 20+ messages in thread
From: Reini Urban @ 2001-01-07 18:52 UTC (permalink / raw)
  To: cygwin

>From: "Robert Collins" <robert dot collins at itdomain dot com dot au> 
>Date: Tue, 2 Jan 2001 13:12:11 +1100 
>
>It does work. But there _may_ be gotchas. There _are_ gotchas with other
>products.
>What benefits does encouraging this sort of install bring?

I ran cygwin-b20 successfully for some years as root
in e:/usr/bin/;e:/usr/local/bin/; ...

That way I needed only one PATH setting, which was converted automatically 
in the bash to /usr/bin:/usr/local/bin

But most importantly I could run she-bang programs from cmd.exe or 
any msvc spawn plus from any cygwin app unchanged.
This was a must for apache cgi's.
now I must use #! /usr/bin/perl and #! /e/cygwin/usr/bin/perl
where apache is built with msvc.

Cannot remember other benefits now exactly, but there were some others  
with msvc compiled gnu apps. xemacs and emacs certainly.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2001-01-07 18:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-31 20:00 why not use root as root? Gerrit P. Haase
2000-12-31 20:37 ` Anthony & Yinkwan
2001-01-01  3:52   ` Gerrit P. Haase
2001-01-01  3:56     ` Robert Collins
2001-01-01 11:21 ` Christopher Faylor
2001-01-01 15:41   ` Gerrit P. Haase
2001-01-01 15:46     ` Robert Collins
2001-01-01 16:03       ` Christopher Faylor
2001-01-01 16:13       ` Larry Hall (RFK Partners, Inc)
2001-01-01 18:39         ` Earnie Boyd
2001-01-01 17:25       ` Gerrit P. Haase
2001-01-01 18:16 Robert Collins
2001-01-01 18:30 ` Christopher Faylor
2001-01-01 19:04 ` Earnie Boyd
2001-01-01 21:02   ` Tim Prince
2001-01-02  2:42     ` Gerrit P. Haase
2001-01-02  8:31     ` Earnie Boyd
2001-01-01 20:57 ` Tim Prince
2001-01-02  2:40 Peter Ring
2001-01-07 18:52 Reini Urban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).