public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: gnu-win32 without registry entries?
@ 1998-10-15 21:47 Anthony Tuininga
  0 siblings, 0 replies; 10+ messages in thread
From: Anthony Tuininga @ 1998-10-15 21:47 UTC (permalink / raw)
  To: Enoch Wu, john_r_velman, gnu-win32

The location can be set via environment variable with an appropriate
default. I would much prefer this method as well as the registry is a big
conglomeration of everything under the sun -- including entries from
programs you uninstalled years ago.... :-)

-----Original Message-----
From: Enoch Wu [ mailto:wue@eskimo.com ]
Sent: Wednesday, October 14, 1998 6:58 PM
To: john_r_velman@mail.hac.com; gnu-win32@cygnus.com
Subject: Re: gnu-win32 without registry entries?


Hi all,

I second it!  We should be able to use a mount table like linux's fstab on
the C drive's root directory. How do you mount it on c:/root/b19/etc/fstab
for example, assuming the root is at c:/root/b19 ?  Perhaps the location of
fstab can be hard-coded like c:/root/etc/fstab.

Enoch

At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
>As far as I can tell, the only thing the registry entries are used for is 
>to set up the simulated mounts, with the binary text options.
>
>How much trouble would it be to do this with a mount table as per Linux, 
>instead of putting it in the registry?  
>
>One reason I ask is that I work for a big company and our IS people want 
>everyone to have standard registry entries.  It seems to me that everything

>else I really need works without messing with the registry.
>
>Other than that, I'm really quite pleased with cyg-win/gnu-win.
>
>John Velman
>jrvelman@mail.hac.com
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-22  6:56 ` Austin David France
@ 1998-10-23 21:27   ` Jeff Sturm
  0 siblings, 0 replies; 10+ messages in thread
From: Jeff Sturm @ 1998-10-23 21:27 UTC (permalink / raw)
  To: Austin David France; +Cc: gnu-win32

OK, one thing to keep in mind here... env variables like CYGROOT
potentially can change between process invocations; that is CYGROOT
would be a process-local configuration.

However the mount table is currently a global setting, kept in shared
memory (a persistent copy is made to the win32 registry).

So what exactly should happen if CYGROOT were to change after mount
table initialization?  There could be several answers, but "crash" is
not a good one... (similar to the infamous bug of setting CYGWIN32=tty).

A /etc/fstab seems like a good idea... normally un*x reads /etc/fstab
somewhere during boot from an rc script... since GNU-Win32 has no init
process or rc scripts, should cygwinb19.dll instead try to run
/etc/fstab once during initialization?

Having /etc/mnttab is possible too... I would rather that cygwin32 had a
real "/proc filesystem" with a /proc/mnttab, linked to /etc/mnttab. 
That'll be easy if we ever have /proc...


Austin David France wrote:
> 
> I fourth this one.
> 
> Use of the CYGROOT environment variable is both flexible and simple to use.
> 
> What if $CYGROOT/etc/mnttab does not exist?
> 
> cygwin*.dll should mount / based on $CYGROOT, perhaps it does this already?
> 
> Perhaps the default for CYGROOT should be the installation directory?
> 
> TTFN,
> ()z
> 
> > -----Original Message-----
> > From: owner-gnu-win32@cygnus.com [ mailto:owner-gnu-win32@cygnus.com]On
> > Behalf Of Earnie Boyd
> > Sent: 16 October 1998 01:50
> > To: Enoch Wu; john_r_velman@mail.hac.com; gnu-win32@cygnus.com
> > Subject: Re: gnu-win32 without registry entries?
> >
> >
> >
> > Since I've stated this before, I'll third it.  As to how to find
> > /etc/fstab use an environment variable called CYGROOT.  If CYGROOT
> > doesn't exist then it must be c:/etc/fstab.
> >
> > ---Enoch Wu <wue@eskimo.com> wrote:
> > >
> > > Hi all,
> > >
> > > I second it!  We should be able to use a mount table like linux's
> > fstab on
> > > the C drive's root directory. How do you mount it on
> > c:/root/b19/etc/fstab
> > > for example, assuming the root is at c:/root/b19 ?  Perhaps the
> > location of
> > > fstab can be hard-coded like c:/root/etc/fstab.
> > >
> > > Enoch
> > >
> > > At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
> > > >As far as I can tell, the only thing the registry entries are used
> > for is
> > > >to set up the simulated mounts, with the binary text options.
> > > >
> > > >How much trouble would it be to do this with a mount table as per
> > Linux,
> > > >instead of putting it in the registry?
> > > >
> > > >One reason I ask is that I work for a big company and our IS people
> > want
> > > >everyone to have standard registry entries.  It seems to me that
> > everything
> > > >else I really need works without messing with the registry.
> > > >
> > > >Other than that, I'm really quite pleased with cyg-win/gnu-win.
> > > >
> > > >John Velman
> > > >jrvelman@mail.hac.com
> > > >-
> > > >For help on using this list (especially unsubscribing), send a
> > message to
> > > >"gnu-win32-request@cygnus.com" with one line of text: "help".
> > > >
> > > >
> > > -
> > > For help on using this list (especially unsubscribing), send a
> > message to
> > > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > >
> >
> > ==
> > -                \\||//
> > -----------o0O0--Earnie--0O0o------------
> > --        earnie_boyd@yahoo.com        --
> > -- http://freeyellow.com/members5/gw32 --
> > --------------ooo0O--O0ooo---------------
> >
> > PS: Newbie's, you should visit my page.
> > _________________________________________________________
> > DO YOU YAHOO!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > -
> > For help on using this list (especially unsubscribing), send a message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> >
> >
> 
> ------------------------------------------------------------------------
> 
> The views and opinions expressed in this e-mail message are the sender's
> and do not necessarily represent the views of Mentor Systems plc.
> 
> ------------------------------------------------------------------------
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".

-- 
Jeff Sturm
jsturm@sigma6.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* RE: gnu-win32 without registry entries?
  1998-10-16  1:09 Earnie Boyd
@ 1998-10-22  6:56 ` Austin David France
  1998-10-23 21:27   ` Jeff Sturm
  0 siblings, 1 reply; 10+ messages in thread
From: Austin David France @ 1998-10-22  6:56 UTC (permalink / raw)
  To: Gnu-Win32 Mailing List (E-mail)

I fourth this one.

Use of the CYGROOT environment variable is both flexible and simple to use.

What if $CYGROOT/etc/mnttab does not exist? 

cygwin*.dll should mount / based on $CYGROOT, perhaps it does this already?

Perhaps the default for CYGROOT should be the installation directory?

TTFN,
()z

> -----Original Message-----
> From: owner-gnu-win32@cygnus.com [ mailto:owner-gnu-win32@cygnus.com]On
> Behalf Of Earnie Boyd
> Sent: 16 October 1998 01:50
> To: Enoch Wu; john_r_velman@mail.hac.com; gnu-win32@cygnus.com
> Subject: Re: gnu-win32 without registry entries?
> 
> 
> 
> Since I've stated this before, I'll third it.  As to how to find
> /etc/fstab use an environment variable called CYGROOT.  If CYGROOT
> doesn't exist then it must be c:/etc/fstab.
> 
> ---Enoch Wu <wue@eskimo.com> wrote:
> >
> > Hi all,
> > 
> > I second it!  We should be able to use a mount table like linux's
> fstab on
> > the C drive's root directory. How do you mount it on
> c:/root/b19/etc/fstab
> > for example, assuming the root is at c:/root/b19 ?  Perhaps the
> location of
> > fstab can be hard-coded like c:/root/etc/fstab.
> > 
> > Enoch
> > 
> > At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
> > >As far as I can tell, the only thing the registry entries are used
> for is 
> > >to set up the simulated mounts, with the binary text options.
> > >
> > >How much trouble would it be to do this with a mount table as per
> Linux, 
> > >instead of putting it in the registry?  
> > >
> > >One reason I ask is that I work for a big company and our IS people
> want 
> > >everyone to have standard registry entries.  It seems to me that
> everything 
> > >else I really need works without messing with the registry.
> > >
> > >Other than that, I'm really quite pleased with cyg-win/gnu-win.
> > >
> > >John Velman
> > >jrvelman@mail.hac.com
> > >-
> > >For help on using this list (especially unsubscribing), send a
> message to
> > >"gnu-win32-request@cygnus.com" with one line of text: "help".
> > >
> > >
> > -
> > For help on using this list (especially unsubscribing), send a
> message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > 
> 
> ==
> -                \\||//
> -----------o0O0--Earnie--0O0o------------
> --        earnie_boyd@yahoo.com        --
> -- http://freeyellow.com/members5/gw32 --
> --------------ooo0O--O0ooo---------------
> 
> PS: Newbie's, you should visit my page.
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 
> 

------------------------------------------------------------------------

The views and opinions expressed in this e-mail message are the sender's
and do not necessarily represent the views of Mentor Systems plc.

------------------------------------------------------------------------


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-15  0:44 ` Enoch Wu
  1998-10-16 17:16   ` Michael Hirmke
@ 1998-10-16 21:54   ` Larry Hall
  1 sibling, 0 replies; 10+ messages in thread
From: Larry Hall @ 1998-10-16 21:54 UTC (permalink / raw)
  To: Enoch Wu, john_r_velman, gnu-win32

Hard coded locations would be a mistake.  Locations that assume certain 
drive paths (even c:) would also be a mistake in my view.  I don't care
much for this whole registry concept myself but I prefer it in this case
to circumvent the inane drive designations of DOS-based systems.  So while
I'd prefer a "standard" fstab file like many of you, unless there is a 
nice way to put it in its "proper" place with the rest of the distribution,
I would argue against any such change unless there was an option to choose
the rigid, file based approach or the flexible registry approach.  If these
2 options were available and were the only two, I would also argue that the
registry option should remain the default.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com


At 05:57 PM 10/14/98 -0700, Enoch Wu wrote:
>Hi all,
>
>I second it!  We should be able to use a mount table like linux's fstab on
>the C drive's root directory. How do you mount it on c:/root/b19/etc/fstab
>for example, assuming the root is at c:/root/b19 ?  Perhaps the location of
>fstab can be hard-coded like c:/root/etc/fstab.
>
>Enoch
>
>At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
>>As far as I can tell, the only thing the registry entries are used for is 
>>to set up the simulated mounts, with the binary text options.
>>
>>How much trouble would it be to do this with a mount table as per Linux, 
>>instead of putting it in the registry?  
>>
>>One reason I ask is that I work for a big company and our IS people want 
>>everyone to have standard registry entries.  It seems to me that everything 
>>else I really need works without messing with the registry.
>>
>>Other than that, I'm really quite pleased with cyg-win/gnu-win.
>>
>>John Velman
>>jrvelman@mail.hac.com
>>-
>>For help on using this list (especially unsubscribing), send a message to
>>"gnu-win32-request@cygnus.com" with one line of text: "help".
>>
>>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-15  0:44 ` Enoch Wu
@ 1998-10-16 17:16   ` Michael Hirmke
  1998-10-16 21:54   ` Larry Hall
  1 sibling, 0 replies; 10+ messages in thread
From: Michael Hirmke @ 1998-10-16 17:16 UTC (permalink / raw)
  To: gnu-win32

Hi Enoch,

>Hi all,
>
>I second it!  We should be able to use a mount table like linux's fstab on
>the C drive's root directory. How do you mount it on c:/root/b19/etc/fstab
>for example, assuming the root is at c:/root/b19 ?  Perhaps the location of
>fstab can be hard-coded like c:/root/etc/fstab.

Hardcoded ? Nope, please don't 8-//
May I suggest an env var ? CYGWIN_FSTAB= ?

>
>Enoch

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
@ 1998-10-16  1:09 Earnie Boyd
  1998-10-22  6:56 ` Austin David France
  0 siblings, 1 reply; 10+ messages in thread
From: Earnie Boyd @ 1998-10-16  1:09 UTC (permalink / raw)
  To: Enoch Wu, john_r_velman, gnu-win32

Since I've stated this before, I'll third it.  As to how to find
/etc/fstab use an environment variable called CYGROOT.  If CYGROOT
doesn't exist then it must be c:/etc/fstab.

---Enoch Wu <wue@eskimo.com> wrote:
>
> Hi all,
> 
> I second it!  We should be able to use a mount table like linux's
fstab on
> the C drive's root directory. How do you mount it on
c:/root/b19/etc/fstab
> for example, assuming the root is at c:/root/b19 ?  Perhaps the
location of
> fstab can be hard-coded like c:/root/etc/fstab.
> 
> Enoch
> 
> At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
> >As far as I can tell, the only thing the registry entries are used
for is 
> >to set up the simulated mounts, with the binary text options.
> >
> >How much trouble would it be to do this with a mount table as per
Linux, 
> >instead of putting it in the registry?  
> >
> >One reason I ask is that I work for a big company and our IS people
want 
> >everyone to have standard registry entries.  It seems to me that
everything 
> >else I really need works without messing with the registry.
> >
> >Other than that, I'm really quite pleased with cyg-win/gnu-win.
> >
> >John Velman
> >jrvelman@mail.hac.com
> >-
> >For help on using this list (especially unsubscribing), send a
message to
> >"gnu-win32-request@cygnus.com" with one line of text: "help".
> >
> >
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 

==
-                \\||//
-----------o0O0--Earnie--0O0o------------
--        earnie_boyd@yahoo.com        --
-- http://freeyellow.com/members5/gw32 --
--------------ooo0O--O0ooo---------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-13 19:03 john_r_velman
  1998-10-14 22:34 ` Anthony Ortenzi
  1998-10-14 22:34 ` Anthony Ortenzi
@ 1998-10-15  0:44 ` Enoch Wu
  1998-10-16 17:16   ` Michael Hirmke
  1998-10-16 21:54   ` Larry Hall
  2 siblings, 2 replies; 10+ messages in thread
From: Enoch Wu @ 1998-10-15  0:44 UTC (permalink / raw)
  To: john_r_velman, gnu-win32

Hi all,

I second it!  We should be able to use a mount table like linux's fstab on
the C drive's root directory. How do you mount it on c:/root/b19/etc/fstab
for example, assuming the root is at c:/root/b19 ?  Perhaps the location of
fstab can be hard-coded like c:/root/etc/fstab.

Enoch

At 05:34 PM 10/13/98 -0700, john_r_velman@mail.hac.com wrote:
>As far as I can tell, the only thing the registry entries are used for is 
>to set up the simulated mounts, with the binary text options.
>
>How much trouble would it be to do this with a mount table as per Linux, 
>instead of putting it in the registry?  
>
>One reason I ask is that I work for a big company and our IS people want 
>everyone to have standard registry entries.  It seems to me that everything 
>else I really need works without messing with the registry.
>
>Other than that, I'm really quite pleased with cyg-win/gnu-win.
>
>John Velman
>jrvelman@mail.hac.com
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-13 19:03 john_r_velman
  1998-10-14 22:34 ` Anthony Ortenzi
@ 1998-10-14 22:34 ` Anthony Ortenzi
  1998-10-15  0:44 ` Enoch Wu
  2 siblings, 0 replies; 10+ messages in thread
From: Anthony Ortenzi @ 1998-10-14 22:34 UTC (permalink / raw)
  To: gnu-win32

Well, since I'm setting up gnu-win32 on a Zip disk to use on various systems, I was in here looking for the same type of info... I understand it's kind of kludgy, but I just created a .bashrc file for myself, for example, with 

umount /
mount d: /

Not necessarily as glorious as you'd like, but functional...

-Anthony
--
As far as I can tell, the only thing the registry entries are used for is 
> to set up the simulated mounts, with the binary text options.
> 
> How much trouble would it be to do this with a mount table as per Linux, 
> instead of putting it in the registry?  
> 
> One reason I ask is that I work for a big company and our IS people want 
> everyone to have standard registry entries.  It seems to me that everything 
> else I really need works without messing with the registry.
> 
> Other than that, I'm really quite pleased with cyg-win/gnu-win.
> 
> John Velman
> jrvelman@mail.hac.com


-----
See the original message at http://www.egroups.com/list/gnu-win32/?start=8125
--
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: gnu-win32 without registry entries?
  1998-10-13 19:03 john_r_velman
@ 1998-10-14 22:34 ` Anthony Ortenzi
  1998-10-14 22:34 ` Anthony Ortenzi
  1998-10-15  0:44 ` Enoch Wu
  2 siblings, 0 replies; 10+ messages in thread
From: Anthony Ortenzi @ 1998-10-14 22:34 UTC (permalink / raw)
  To: gnu-win32

Well, since I'm setting up gnu-win32 on a Zip disk to use on various systems, I was in here looking for the same type of info... I understand it's kind of kludgy, but I just created a .bashrc file for myself, for example, with 

umount /
mount d: /

Not necessarily as glorious as you'd like, but functional...

-Anthony
--
As far as I can tell, the only thing the registry entries are used for is 
> to set up the simulated mounts, with the binary text options.
> 
> How much trouble would it be to do this with a mount table as per Linux, 
> instead of putting it in the registry?  
> 
> One reason I ask is that I work for a big company and our IS people want 
> everyone to have standard registry entries.  It seems to me that everything 
> else I really need works without messing with the registry.
> 
> Other than that, I'm really quite pleased with cyg-win/gnu-win.
> 
> John Velman
> jrvelman@mail.hac.com


-----
See the original message at http://www.egroups.com/list/gnu-win32/?start=8125
--
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* gnu-win32 without registry entries?
@ 1998-10-13 19:03 john_r_velman
  1998-10-14 22:34 ` Anthony Ortenzi
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: john_r_velman @ 1998-10-13 19:03 UTC (permalink / raw)
  To: gnu-win32

As far as I can tell, the only thing the registry entries are used for is 
to set up the simulated mounts, with the binary text options.

How much trouble would it be to do this with a mount table as per Linux, 
instead of putting it in the registry?  

One reason I ask is that I work for a big company and our IS people want 
everyone to have standard registry entries.  It seems to me that everything 
else I really need works without messing with the registry.

Other than that, I'm really quite pleased with cyg-win/gnu-win.

John Velman
jrvelman@mail.hac.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1998-10-23 21:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-15 21:47 gnu-win32 without registry entries? Anthony Tuininga
  -- strict thread matches above, loose matches on Subject: below --
1998-10-16  1:09 Earnie Boyd
1998-10-22  6:56 ` Austin David France
1998-10-23 21:27   ` Jeff Sturm
1998-10-13 19:03 john_r_velman
1998-10-14 22:34 ` Anthony Ortenzi
1998-10-14 22:34 ` Anthony Ortenzi
1998-10-15  0:44 ` Enoch Wu
1998-10-16 17:16   ` Michael Hirmke
1998-10-16 21:54   ` Larry Hall

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).