public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Vanishing mounts
@ 1999-09-21 12:14 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 22+ messages in thread
From: Earnie Boyd @ 1999-09-21 12:14 UTC (permalink / raw)
  To: mlx, cygwin

--- MarketLogix <mlx@mlx.com> wrote:
> Hi all,
> 
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
-8<-
> 
> Anyway, has anyone else been experiencing this problem and
> "just living with it" like us or is there some feasible explanation
> for why this is occuring ?
-8<-

I've never experienced this or have seen any posts to this.  I can understand
your position on snapshots and the problem you had with building it was due to
incompatibilities with previous libraries and new headers.  You've to make sure
that you use the new libraries as you build the system and not the installed
ones.

Perhaps, you've a program/virus destroying the registries of your system.  I
suggest auditing the events to determine your problem.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-21 12:14 Vanishing mounts Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 22+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: mlx, cygwin

--- MarketLogix <mlx@mlx.com> wrote:
> Hi all,
> 
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
-8<-
> 
> Anyway, has anyone else been experiencing this problem and
> "just living with it" like us or is there some feasible explanation
> for why this is occuring ?
-8<-

I've never experienced this or have seen any posts to this.  I can understand
your position on snapshots and the problem you had with building it was due to
incompatibilities with previous libraries and new headers.  You've to make sure
that you use the new libraries as you build the system and not the installed
ones.

Perhaps, you've a program/virus destroying the registries of your system.  I
suggest auditing the events to determine your problem.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-23  9:46 ` Tom Rodman
@ 1999-09-30 23:42   ` Tom Rodman
  0 siblings, 0 replies; 22+ messages in thread
From: Tom Rodman @ 1999-09-30 23:42 UTC (permalink / raw)
  To: mlx, cygwin

We're still using bash 18 and have had a Vanishing mounts
problem; in fact we have a script/workaround whose sole
purpose is to "hold" mounts.

    #!/bin/sh
    # ***************************************************************************
    # File ....... mounts_hold_workaround
    # Author ..... rodmant
    # User ....... admin boot script
    # Synopsis ... Maintain bash mount points.
    # ***************************************************************************
    # When a non-admin user runs bash on a pc, the mounts are dropped when
    # the user exits bash.  This script works around the problem - it runs
    # at bootup and hangs around until shutdown.
    # 
    <snip>

We have not attempted to reproduce the problem under bash 20.1, NT SP4.

				     
		regards,

		Tom Rodman
   
		<tom.rodman@jci.com>



On Tue 9/21/99 9:23 PDT mlx@san.rr.com wrote:
>Hi all,
>
>I've been noticing for some time now that mounts seem
>to be spontaneously unmounting themselves.  There doesn't
>seem to be any rhyme or reason to when this event occurs.
>Maybe after rebooting, maybe not, etc.  I've noticed this
>ever since updating to b20.1 last January.  It happens on
>NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
>friends who use this release have all independently noticed
>this behavior.  I guess under cygwin, this is akin to a
>registry entry spontaneously disappearing.
>
>Once again, this is the last "production" release.  I never
>mess with snapshots unless I'm experiencing serious problems
>or there is a new feature that I desire.  I had some seriously
>frustrating experiences in trying to build later snapshots with
>"_ctype" errors cropping up all over the place so I've canned
>updating (till I get a free weekend == NEVER) for "now".
>That's another thing with me & OpenSource snapshots, if I can't
>at least build it, I sure as hell ain't gonna rely on it in a
>production type environment.
>
>That's a pre-emptive answer to the old knee-jerk ->
>
>"don't question why - just upgrade to the latest snapshot"
>
>camp.
>
>Anyway, has anyone else been experiencing this problem and
>"just living with it" like us or is there some feasible explanation
>for why this is occuring ?
>
>
>Thanks in advance,
>
>Steve B.
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-23  8:32   ` Steve Coleman
  1999-09-23  9:52     ` Paul Berrevoets
@ 1999-09-30 23:42     ` Steve Coleman
  1 sibling, 0 replies; 22+ messages in thread
From: Steve Coleman @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Hi,

I have been having the "vanishing mounts" problem for some time and had
just learned to live with it since I only rebooted the machine (erasing
the mounts) to load the latest snapshot dll every few weeks. I had just
used a script to do the remounts until now.

After seeing that I was not the only one with this problem I decided to
investigate the problem so that others may have a solution as well. I
found that somehow my registry entry:
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2]
was completely empty! I am not sure when or how this happened since I
don't run auditing on my development workstation.

What I did to fix this was to mount all directories the way I like it,
use regedit.exe to export the branch:
[HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2]
to a *.reg file, edited the file to change all occurances of
HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE then used Windows Explorer
(double click on the *.reg file) to reload the entries. After rebooting
the machine and starting a new shell I found that my entries were indeed
still there.

I hope that this will solve others peoples problems as well.

P.S. - Does anybody know of a automated way to copy the mount points
from current user to local machine in a single command? If not I may
look into it. :)

-- 
Steve Coleman     <Steve.Coleman@jhuapl.edu>   http://www.jhuapl.edu/
<<--------->> Johns Hopkins Applied Physics Laboratory <<---------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-23  5:47 Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 22+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Kevin L. McWhirter, cygwin

--- "Kevin L. McWhirter" <klmcw@earthlink.net> wrote:
> 
> I have been using B20.1 since it came out and have never experienced
> what you are describing.  What I have noticed (do not know if it is
> related but here goes) is this:
> I typically use 3 mounts (text or binary get same effect):
> c:/ as /
> c:/cygnus/.../bin as /bin
> d:/ as /home
> 
> No matter what order I define them in the / ends up as the last registry
> entry and the /home ends up being the first.  The registry entries I am
> referring to are:
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/00
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/01
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/02
> 
> 00 is d:/ as /home
> 02 is c:/ as /
> 
> I went as far as to:
> (1) exit all instances of bash
> (2) reboot
> (3) use regedt32 to swap them
> (4) reboot (paranoia)
> (5) use regedt32 to check they were still defined that way
> (6) leave regedt32 open an 00 selected to monitor changes
> (7) run bash
> (8) 00 immediately changes to d:/ as home from c:/ as /
> 
> Again,  I have never lost a mount but this behavior seems a little
> bizarre.

Not really bizarre, just sorted decending length of string order.  Therefore /
will always be last.  If in your case you mount a directory /c it would take
the 02 registry spot and / would be to 03.

NOTE: In b21 and the current snapshots there is different coding for path
management so this is subject to change.


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-22 20:26 ` Kevin L. McWhirter
  1999-09-23  8:32   ` Steve Coleman
@ 1999-09-30 23:42   ` Kevin L. McWhirter
  1 sibling, 0 replies; 22+ messages in thread
From: Kevin L. McWhirter @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

I have been using B20.1 since it came out and have never experienced
what you are describing.  What I have noticed (do not know if it is
related but here goes) is this:
I typically use 3 mounts (text or binary get same effect):
c:/ as /
c:/cygnus/.../bin as /bin
d:/ as /home

No matter what order I define them in the / ends up as the last registry
entry and the /home ends up being the first.  The registry entries I am
referring to are:
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/00
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/01
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/02

00 is d:/ as /home
02 is c:/ as /

I went as far as to:
(1) exit all instances of bash
(2) reboot
(3) use regedt32 to swap them
(4) reboot (paranoia)
(5) use regedt32 to check they were still defined that way
(6) leave regedt32 open an 00 selected to monitor changes
(7) run bash
(8) 00 immediately changes to d:/ as home from c:/ as /

Again,  I have never lost a mount but this behavior seems a little
bizarre.
Kevin


MarketLogix wrote:

> Hi all,
>
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
> Maybe after rebooting, maybe not, etc.  I've noticed this
> ever since updating to b20.1 last January.  It happens on
> NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> friends who use this release have all independently noticed
> this behavior.  I guess under cygwin, this is akin to a
> registry entry spontaneously disappearing.
>
> Once again, this is the last "production" release.  I never
> mess with snapshots unless I'm experiencing serious problems
> or there is a new feature that I desire.  I had some seriously
> frustrating experiences in trying to build later snapshots with
> "_ctype" errors cropping up all over the place so I've canned
> updating (till I get a free weekend == NEVER) for "now".
> That's another thing with me & OpenSource snapshots, if I can't
> at least build it, I sure as hell ain't gonna rely on it in a
> production type environment.
>
> That's a pre-emptive answer to the old knee-jerk ->
>
> "don't question why - just upgrade to the latest snapshot"
>
> camp.
>
> Anyway, has anyone else been experiencing this problem and
> "just living with it" like us or is there some feasible explanation
> for why this is occuring ?
>
> Thanks in advance,
>
> Steve B.
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
  1999-09-21 17:51 Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 22+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: pof, cygwin

--- pof@uvic.ca wrote:
> > Hi all,
> >
> > I've been noticing for some time now that mounts seem
> > to be spontaneously unmounting themselves.  There doesn't
> > seem to be any rhyme or reason to when this event occurs.
> > Maybe after rebooting, maybe not, etc.  I've noticed this
> > ever since updating to b20.1 last January.  It happens on
> > NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> > friends who use this release have all independently noticed
> > this behavior.  I guess under cygwin, this is akin to a
> > registry entry spontaneously disappearing.
> 
> I have a similar problem: my binary mounts will spontaneously 
> become text mounts.  I'm pretty sure that this problem 
> plagued me on earlier releases too.  It has become
> annoying enough that I finally kluged my rclock (from the
> rxvt package) to check my mounts every 10 minutes (instead
> of checking my mail) and signal an alarm if they are 
> text rather than binary.
> 
> I would welcome a "real" solution the the problem...

Hmm. I wonder if you have anything in the HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts registry entries?  This was meant to be
a default which would be setup by Admin and provide a new user with default
mounts.  I remember this happened to me and clearing the HKEY_LOCAL_MACHINE
registry stopped the event from occuring.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-23  9:52     ` Paul Berrevoets
@ 1999-09-30 23:42       ` Paul Berrevoets
  0 siblings, 0 replies; 22+ messages in thread
From: Paul Berrevoets @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

I had "vanishing mounts" months ago. In my case, the problem was this:

I had a cygwin application installed as a service using the account
LocalSystem that was started automatically by the service manager when the
system started. The cygwin1.dll initialization would get the mount table
from the LocalSystem user profile (which would be empty) and that would be
it. If I logged in, and started a bash shell and added mount points, they
would be added to _my_ user profile, and therefore would not be seen when
the system restarted.

I believe Sergey's CoolView has an inetd service which could display similar
behaviour depending on how it is installed.

The following lines in src/winsup/winsup.h say it all:
class shared_info {...
  /* FIXME: Doesn't work if more than one user on system. */
  mount_info mount;
...};

In the meantime, this should be FAQ'ed
--
Paul



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
  1999-09-22  5:57 Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 22+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Bernard Dautrevaux, pof, cygwin

--- Bernard Dautrevaux <DAUTREVAUX@microprocess.com> wrote:
-8<-
> 
> Do that mean that you advise us to clear the whole
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> tree, or just verify that the keys there (00 01 02 ... 1B 1C 1D - the 30 of
> them) have undefined values?
-8<-

Just undefined values.  If you delete them it will not hurt as they'll just be
recreated with undefined values.

=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
  1999-09-21 16:35 pof
@ 1999-09-30 23:42 ` pof
  0 siblings, 0 replies; 22+ messages in thread
From: pof @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

> Hi all,
>
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
> Maybe after rebooting, maybe not, etc.  I've noticed this
> ever since updating to b20.1 last January.  It happens on
> NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> friends who use this release have all independently noticed
> this behavior.  I guess under cygwin, this is akin to a
> registry entry spontaneously disappearing.

I have a similar problem: my binary mounts will spontaneously 
become text mounts.  I'm pretty sure that this problem 
plagued me on earlier releases too.  It has become
annoying enough that I finally kluged my rclock (from the
rxvt package) to check my mounts every 10 minutes (instead
of checking my mail) and signal an alarm if they are 
text rather than binary.

I would welcome a "real" solution the the problem...

---------------------------------------------------
   Paul Poffenberger          phone (250) 721 7741
   Dept of Physics            fax   (250) 721 7752   
   University of Victoria     email pof@uvic.ca
---------------------------------------------------


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Vanishing mounts
  1999-09-21  9:30 MarketLogix
  1999-09-22 20:26 ` Kevin L. McWhirter
  1999-09-23  9:46 ` Tom Rodman
@ 1999-09-30 23:42 ` MarketLogix
  2 siblings, 0 replies; 22+ messages in thread
From: MarketLogix @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Hi all,

I've been noticing for some time now that mounts seem
to be spontaneously unmounting themselves.  There doesn't
seem to be any rhyme or reason to when this event occurs.
Maybe after rebooting, maybe not, etc.  I've noticed this
ever since updating to b20.1 last January.  It happens on
NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
friends who use this release have all independently noticed
this behavior.  I guess under cygwin, this is akin to a
registry entry spontaneously disappearing.

Once again, this is the last "production" release.  I never
mess with snapshots unless I'm experiencing serious problems
or there is a new feature that I desire.  I had some seriously
frustrating experiences in trying to build later snapshots with
"_ctype" errors cropping up all over the place so I've canned
updating (till I get a free weekend == NEVER) for "now".
That's another thing with me & OpenSource snapshots, if I can't
at least build it, I sure as hell ain't gonna rely on it in a
production type environment.

That's a pre-emptive answer to the old knee-jerk ->

"don't question why - just upgrade to the latest snapshot"

camp.

Anyway, has anyone else been experiencing this problem and
"just living with it" like us or is there some feasible explanation
for why this is occuring ?


Thanks in advance,

Steve B.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
  1999-09-22  2:08 Bernard Dautrevaux
@ 1999-09-30 23:42 ` Bernard Dautrevaux
  0 siblings, 0 replies; 22+ messages in thread
From: Bernard Dautrevaux @ 1999-09-30 23:42 UTC (permalink / raw)
  To: 'earnie_boyd@yahoo.com', pof, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2413 bytes --]

Title: RE: Vanishing mounts





> -----Original Message-----
> From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
> Sent: Wednesday, September 22, 1999 2:48 AM
> To: pof@uvic.ca; cygwin@sourceware.cygnus.com
> Subject: RE: Vanishing mounts
> 
> 
> --- pof@uvic.ca wrote:
> > > Hi all,
> > >
> > > I've been noticing for some time now that mounts seem
> > > to be spontaneously unmounting themselves.  There doesn't
> > > seem to be any rhyme or reason to when this event occurs.
> > > Maybe after rebooting, maybe not, etc.  I've noticed this
> > > ever since updating to b20.1 last January.  It happens on
> > > NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> > > friends who use this release have all independently noticed
> > > this behavior.  I guess under cygwin, this is akin to a
> > > registry entry spontaneously disappearing.
> > 
> > I have a similar problem: my binary mounts will spontaneously 
> > become text mounts.  I'm pretty sure that this problem 
> > plagued me on earlier releases too.  It has become
> > annoying enough that I finally kluged my rclock (from the
> > rxvt package) to check my mounts every 10 minutes (instead
> > of checking my mail) and signal an alarm if they are 
> > text rather than binary.
> > 
> > I would welcome a "real" solution the the problem...
> 
> Hmm. I wonder if you have anything in the 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\CYGWIN.DLL setup\b15.0\mounts registry entries?  
> This was meant to be
> a default which would be setup by Admin and provide a new 
> user with default
> mounts.  I remember this happened to me and clearing the 
> HKEY_LOCAL_MACHINE
> registry stopped the event from occuring.


Do that mean that you advise us to clear the whole HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts tree, or just verify that the keys there (00 01 02 ... 1B 1C 1D - the 30 of them) have undefined values?

Regards,


                Bernard


--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: dautrevaux@microprocess.com
                b.dautrevaux@usa.net
-------------------------------------------- 




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

* Re: Vanishing mounts
  1999-09-23  8:32   ` Steve Coleman
@ 1999-09-23  9:52     ` Paul Berrevoets
  1999-09-30 23:42       ` Paul Berrevoets
  1999-09-30 23:42     ` Steve Coleman
  1 sibling, 1 reply; 22+ messages in thread
From: Paul Berrevoets @ 1999-09-23  9:52 UTC (permalink / raw)
  To: cygwin

I had "vanishing mounts" months ago. In my case, the problem was this:

I had a cygwin application installed as a service using the account
LocalSystem that was started automatically by the service manager when the
system started. The cygwin1.dll initialization would get the mount table
from the LocalSystem user profile (which would be empty) and that would be
it. If I logged in, and started a bash shell and added mount points, they
would be added to _my_ user profile, and therefore would not be seen when
the system restarted.

I believe Sergey's CoolView has an inetd service which could display similar
behaviour depending on how it is installed.

The following lines in src/winsup/winsup.h say it all:
class shared_info {...
  /* FIXME: Doesn't work if more than one user on system. */
  mount_info mount;
...};

In the meantime, this should be FAQ'ed
--
Paul



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-21  9:30 MarketLogix
  1999-09-22 20:26 ` Kevin L. McWhirter
@ 1999-09-23  9:46 ` Tom Rodman
  1999-09-30 23:42   ` Tom Rodman
  1999-09-30 23:42 ` MarketLogix
  2 siblings, 1 reply; 22+ messages in thread
From: Tom Rodman @ 1999-09-23  9:46 UTC (permalink / raw)
  To: mlx, cygwin

We're still using bash 18 and have had a Vanishing mounts
problem; in fact we have a script/workaround whose sole
purpose is to "hold" mounts.

    #!/bin/sh
    # ***************************************************************************
    # File ....... mounts_hold_workaround
    # Author ..... rodmant
    # User ....... admin boot script
    # Synopsis ... Maintain bash mount points.
    # ***************************************************************************
    # When a non-admin user runs bash on a pc, the mounts are dropped when
    # the user exits bash.  This script works around the problem - it runs
    # at bootup and hangs around until shutdown.
    # 
    <snip>

We have not attempted to reproduce the problem under bash 20.1, NT SP4.

				     
		regards,

		Tom Rodman
   
		<tom.rodman@jci.com>



On Tue 9/21/99 9:23 PDT mlx@san.rr.com wrote:
>Hi all,
>
>I've been noticing for some time now that mounts seem
>to be spontaneously unmounting themselves.  There doesn't
>seem to be any rhyme or reason to when this event occurs.
>Maybe after rebooting, maybe not, etc.  I've noticed this
>ever since updating to b20.1 last January.  It happens on
>NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
>friends who use this release have all independently noticed
>this behavior.  I guess under cygwin, this is akin to a
>registry entry spontaneously disappearing.
>
>Once again, this is the last "production" release.  I never
>mess with snapshots unless I'm experiencing serious problems
>or there is a new feature that I desire.  I had some seriously
>frustrating experiences in trying to build later snapshots with
>"_ctype" errors cropping up all over the place so I've canned
>updating (till I get a free weekend == NEVER) for "now".
>That's another thing with me & OpenSource snapshots, if I can't
>at least build it, I sure as hell ain't gonna rely on it in a
>production type environment.
>
>That's a pre-emptive answer to the old knee-jerk ->
>
>"don't question why - just upgrade to the latest snapshot"
>
>camp.
>
>Anyway, has anyone else been experiencing this problem and
>"just living with it" like us or is there some feasible explanation
>for why this is occuring ?
>
>
>Thanks in advance,
>
>Steve B.
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-22 20:26 ` Kevin L. McWhirter
@ 1999-09-23  8:32   ` Steve Coleman
  1999-09-23  9:52     ` Paul Berrevoets
  1999-09-30 23:42     ` Steve Coleman
  1999-09-30 23:42   ` Kevin L. McWhirter
  1 sibling, 2 replies; 22+ messages in thread
From: Steve Coleman @ 1999-09-23  8:32 UTC (permalink / raw)
  To: cygwin

Hi,

I have been having the "vanishing mounts" problem for some time and had
just learned to live with it since I only rebooted the machine (erasing
the mounts) to load the latest snapshot dll every few weeks. I had just
used a script to do the remounts until now.

After seeing that I was not the only one with this problem I decided to
investigate the problem so that others may have a solution as well. I
found that somehow my registry entry:
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2]
was completely empty! I am not sure when or how this happened since I
don't run auditing on my development workstation.

What I did to fix this was to mount all directories the way I like it,
use regedit.exe to export the branch:
[HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2]
to a *.reg file, edited the file to change all occurances of
HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE then used Windows Explorer
(double click on the *.reg file) to reload the entries. After rebooting
the machine and starting a new shell I found that my entries were indeed
still there.

I hope that this will solve others peoples problems as well.

P.S. - Does anybody know of a automated way to copy the mount points
from current user to local machine in a single command? If not I may
look into it. :)

-- 
Steve Coleman     <Steve.Coleman@jhuapl.edu>   http://www.jhuapl.edu/
<<--------->> Johns Hopkins Applied Physics Laboratory <<---------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
@ 1999-09-23  5:47 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 22+ messages in thread
From: Earnie Boyd @ 1999-09-23  5:47 UTC (permalink / raw)
  To: Kevin L. McWhirter, cygwin

--- "Kevin L. McWhirter" <klmcw@earthlink.net> wrote:
> 
> I have been using B20.1 since it came out and have never experienced
> what you are describing.  What I have noticed (do not know if it is
> related but here goes) is this:
> I typically use 3 mounts (text or binary get same effect):
> c:/ as /
> c:/cygnus/.../bin as /bin
> d:/ as /home
> 
> No matter what order I define them in the / ends up as the last registry
> entry and the /home ends up being the first.  The registry entries I am
> referring to are:
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/00
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/01
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/02
> 
> 00 is d:/ as /home
> 02 is c:/ as /
> 
> I went as far as to:
> (1) exit all instances of bash
> (2) reboot
> (3) use regedt32 to swap them
> (4) reboot (paranoia)
> (5) use regedt32 to check they were still defined that way
> (6) leave regedt32 open an 00 selected to monitor changes
> (7) run bash
> (8) 00 immediately changes to d:/ as home from c:/ as /
> 
> Again,  I have never lost a mount but this behavior seems a little
> bizarre.

Not really bizarre, just sorted decending length of string order.  Therefore /
will always be last.  If in your case you mount a directory /c it would take
the 02 registry spot and / would be to 03.

NOTE: In b21 and the current snapshots there is different coding for path
management so this is subject to change.


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Vanishing mounts
  1999-09-21  9:30 MarketLogix
@ 1999-09-22 20:26 ` Kevin L. McWhirter
  1999-09-23  8:32   ` Steve Coleman
  1999-09-30 23:42   ` Kevin L. McWhirter
  1999-09-23  9:46 ` Tom Rodman
  1999-09-30 23:42 ` MarketLogix
  2 siblings, 2 replies; 22+ messages in thread
From: Kevin L. McWhirter @ 1999-09-22 20:26 UTC (permalink / raw)
  To: cygwin

I have been using B20.1 since it came out and have never experienced
what you are describing.  What I have noticed (do not know if it is
related but here goes) is this:
I typically use 3 mounts (text or binary get same effect):
c:/ as /
c:/cygnus/.../bin as /bin
d:/ as /home

No matter what order I define them in the / ends up as the last registry
entry and the /home ends up being the first.  The registry entries I am
referring to are:
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/00
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/01
HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
setup/b15.0/mounts/02

00 is d:/ as /home
02 is c:/ as /

I went as far as to:
(1) exit all instances of bash
(2) reboot
(3) use regedt32 to swap them
(4) reboot (paranoia)
(5) use regedt32 to check they were still defined that way
(6) leave regedt32 open an 00 selected to monitor changes
(7) run bash
(8) 00 immediately changes to d:/ as home from c:/ as /

Again,  I have never lost a mount but this behavior seems a little
bizarre.
Kevin


MarketLogix wrote:

> Hi all,
>
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
> Maybe after rebooting, maybe not, etc.  I've noticed this
> ever since updating to b20.1 last January.  It happens on
> NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> friends who use this release have all independently noticed
> this behavior.  I guess under cygwin, this is akin to a
> registry entry spontaneously disappearing.
>
> Once again, this is the last "production" release.  I never
> mess with snapshots unless I'm experiencing serious problems
> or there is a new feature that I desire.  I had some seriously
> frustrating experiences in trying to build later snapshots with
> "_ctype" errors cropping up all over the place so I've canned
> updating (till I get a free weekend == NEVER) for "now".
> That's another thing with me & OpenSource snapshots, if I can't
> at least build it, I sure as hell ain't gonna rely on it in a
> production type environment.
>
> That's a pre-emptive answer to the old knee-jerk ->
>
> "don't question why - just upgrade to the latest snapshot"
>
> camp.
>
> Anyway, has anyone else been experiencing this problem and
> "just living with it" like us or is there some feasible explanation
> for why this is occuring ?
>
> Thanks in advance,
>
> Steve B.
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
@ 1999-09-22  5:57 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 22+ messages in thread
From: Earnie Boyd @ 1999-09-22  5:57 UTC (permalink / raw)
  To: Bernard Dautrevaux, pof, cygwin

--- Bernard Dautrevaux <DAUTREVAUX@microprocess.com> wrote:
-8<-
> 
> Do that mean that you advise us to clear the whole
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> tree, or just verify that the keys there (00 01 02 ... 1B 1C 1D - the 30 of
> them) have undefined values?
-8<-

Just undefined values.  If you delete them it will not hurt as they'll just be
recreated with undefined values.

=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
@ 1999-09-22  2:08 Bernard Dautrevaux
  1999-09-30 23:42 ` Bernard Dautrevaux
  0 siblings, 1 reply; 22+ messages in thread
From: Bernard Dautrevaux @ 1999-09-22  2:08 UTC (permalink / raw)
  To: 'earnie_boyd@yahoo.com', pof, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2413 bytes --]

Title: RE: Vanishing mounts





> -----Original Message-----
> From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
> Sent: Wednesday, September 22, 1999 2:48 AM
> To: pof@uvic.ca; cygwin@sourceware.cygnus.com
> Subject: RE: Vanishing mounts
> 
> 
> --- pof@uvic.ca wrote:
> > > Hi all,
> > >
> > > I've been noticing for some time now that mounts seem
> > > to be spontaneously unmounting themselves.  There doesn't
> > > seem to be any rhyme or reason to when this event occurs.
> > > Maybe after rebooting, maybe not, etc.  I've noticed this
> > > ever since updating to b20.1 last January.  It happens on
> > > NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> > > friends who use this release have all independently noticed
> > > this behavior.  I guess under cygwin, this is akin to a
> > > registry entry spontaneously disappearing.
> > 
> > I have a similar problem: my binary mounts will spontaneously 
> > become text mounts.  I'm pretty sure that this problem 
> > plagued me on earlier releases too.  It has become
> > annoying enough that I finally kluged my rclock (from the
> > rxvt package) to check my mounts every 10 minutes (instead
> > of checking my mail) and signal an alarm if they are 
> > text rather than binary.
> > 
> > I would welcome a "real" solution the the problem...
> 
> Hmm. I wonder if you have anything in the 
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\CYGWIN.DLL setup\b15.0\mounts registry entries?  
> This was meant to be
> a default which would be setup by Admin and provide a new 
> user with default
> mounts.  I remember this happened to me and clearing the 
> HKEY_LOCAL_MACHINE
> registry stopped the event from occuring.


Do that mean that you advise us to clear the whole HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts tree, or just verify that the keys there (00 01 02 ... 1B 1C 1D - the 30 of them) have undefined values?

Regards,


                Bernard


--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: dautrevaux@microprocess.com
                b.dautrevaux@usa.net
-------------------------------------------- 




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

* RE: Vanishing mounts
@ 1999-09-21 17:51 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 22+ messages in thread
From: Earnie Boyd @ 1999-09-21 17:51 UTC (permalink / raw)
  To: pof, cygwin

--- pof@uvic.ca wrote:
> > Hi all,
> >
> > I've been noticing for some time now that mounts seem
> > to be spontaneously unmounting themselves.  There doesn't
> > seem to be any rhyme or reason to when this event occurs.
> > Maybe after rebooting, maybe not, etc.  I've noticed this
> > ever since updating to b20.1 last January.  It happens on
> > NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> > friends who use this release have all independently noticed
> > this behavior.  I guess under cygwin, this is akin to a
> > registry entry spontaneously disappearing.
> 
> I have a similar problem: my binary mounts will spontaneously 
> become text mounts.  I'm pretty sure that this problem 
> plagued me on earlier releases too.  It has become
> annoying enough that I finally kluged my rclock (from the
> rxvt package) to check my mounts every 10 minutes (instead
> of checking my mail) and signal an alarm if they are 
> text rather than binary.
> 
> I would welcome a "real" solution the the problem...

Hmm. I wonder if you have anything in the HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts registry entries?  This was meant to be
a default which would be setup by Admin and provide a new user with default
mounts.  I remember this happened to me and clearing the HKEY_LOCAL_MACHINE
registry stopped the event from occuring.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* RE: Vanishing mounts
@ 1999-09-21 16:35 pof
  1999-09-30 23:42 ` pof
  0 siblings, 1 reply; 22+ messages in thread
From: pof @ 1999-09-21 16:35 UTC (permalink / raw)
  To: cygwin

> Hi all,
>
> I've been noticing for some time now that mounts seem
> to be spontaneously unmounting themselves.  There doesn't
> seem to be any rhyme or reason to when this event occurs.
> Maybe after rebooting, maybe not, etc.  I've noticed this
> ever since updating to b20.1 last January.  It happens on
> NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
> friends who use this release have all independently noticed
> this behavior.  I guess under cygwin, this is akin to a
> registry entry spontaneously disappearing.

I have a similar problem: my binary mounts will spontaneously 
become text mounts.  I'm pretty sure that this problem 
plagued me on earlier releases too.  It has become
annoying enough that I finally kluged my rclock (from the
rxvt package) to check my mounts every 10 minutes (instead
of checking my mail) and signal an alarm if they are 
text rather than binary.

I would welcome a "real" solution the the problem...

---------------------------------------------------
   Paul Poffenberger          phone (250) 721 7741
   Dept of Physics            fax   (250) 721 7752   
   University of Victoria     email pof@uvic.ca
---------------------------------------------------


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Vanishing mounts
@ 1999-09-21  9:30 MarketLogix
  1999-09-22 20:26 ` Kevin L. McWhirter
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: MarketLogix @ 1999-09-21  9:30 UTC (permalink / raw)
  To: cygwin

Hi all,

I've been noticing for some time now that mounts seem
to be spontaneously unmounting themselves.  There doesn't
seem to be any rhyme or reason to when this event occurs.
Maybe after rebooting, maybe not, etc.  I've noticed this
ever since updating to b20.1 last January.  It happens on
NT v4.0 sp3&sp4 and win95 boxes as well.  Both I and several
friends who use this release have all independently noticed
this behavior.  I guess under cygwin, this is akin to a
registry entry spontaneously disappearing.

Once again, this is the last "production" release.  I never
mess with snapshots unless I'm experiencing serious problems
or there is a new feature that I desire.  I had some seriously
frustrating experiences in trying to build later snapshots with
"_ctype" errors cropping up all over the place so I've canned
updating (till I get a free weekend == NEVER) for "now".
That's another thing with me & OpenSource snapshots, if I can't
at least build it, I sure as hell ain't gonna rely on it in a
production type environment.

That's a pre-emptive answer to the old knee-jerk ->

"don't question why - just upgrade to the latest snapshot"

camp.

Anyway, has anyone else been experiencing this problem and
"just living with it" like us or is there some feasible explanation
for why this is occuring ?


Thanks in advance,

Steve B.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-21 12:14 Vanishing mounts Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-09-23  5:47 Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
1999-09-22  5:57 Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
1999-09-22  2:08 Bernard Dautrevaux
1999-09-30 23:42 ` Bernard Dautrevaux
1999-09-21 17:51 Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
1999-09-21 16:35 pof
1999-09-30 23:42 ` pof
1999-09-21  9:30 MarketLogix
1999-09-22 20:26 ` Kevin L. McWhirter
1999-09-23  8:32   ` Steve Coleman
1999-09-23  9:52     ` Paul Berrevoets
1999-09-30 23:42       ` Paul Berrevoets
1999-09-30 23:42     ` Steve Coleman
1999-09-30 23:42   ` Kevin L. McWhirter
1999-09-23  9:46 ` Tom Rodman
1999-09-30 23:42   ` Tom Rodman
1999-09-30 23:42 ` MarketLogix

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