public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* New inputs for the init_cygheap::etc_changed problem
@ 2002-04-08  4:38 Michel D'HOOGE
  2002-04-08  5:41 ` Lassi A. Tuura
  0 siblings, 1 reply; 3+ messages in thread
From: Michel D'HOOGE @ 2002-04-08  4:38 UTC (permalink / raw)
  To: cygwin

Hello,

Here is my (interested) contribution to the "can't open /etc" message.

I came to the conclusion (from my own experiments and from what I read on
this forum) that the problem has to do with the fact that the /etc
directory is on a remote server.

When I mount /etc locally (like "mount c:/etc /etc"), the message
disappears but of course I have no access to the real /etc (a solution 
could be to copy with dos commands the real /etc to the local copy...)

When I mount explicitely /etc to the cygwin path 
(like "mount t:/cygwin/1.3/etc /etc"), the message remains the same
but I have access to /etc.

More interesting: if I give to mount a "cygdrive" path 
(like "mount /cygdrive/t/cygwin/1.3/etc /etc"), the message disappears.
Unfortunately /etc is no longer available after that ("ls /etc" results in
"No such file or directory").

HTH to fix the bug.

-- 
 Best regards
 Michel D'HOOGE

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: New inputs for the init_cygheap::etc_changed problem
  2002-04-08  4:38 New inputs for the init_cygheap::etc_changed problem Michel D'HOOGE
@ 2002-04-08  5:41 ` Lassi A. Tuura
  2002-04-08  6:07   ` Michel D'HOOGE
  0 siblings, 1 reply; 3+ messages in thread
From: Lassi A. Tuura @ 2002-04-08  5:41 UTC (permalink / raw)
  To: Michel D'HOOGE; +Cc: cygwin

> More interesting: if I give to mount a "cygdrive" path
> (like "mount /cygdrive/t/cygwin/1.3/etc /etc"), the message disappears.
> Unfortunately /etc is no longer available after that ("ls /etc" results in
> "No such file or directory").

The first argument to cygwin mount is supposed to be a windows native
path, not a POSIX path.  Hence it is quite expected for this form not to
work.

HTH,
//lat
-- 
You should never bet against anything in science at odds of
more than about 10^12 to 1.  --Ernest Rutherford

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: New inputs for the init_cygheap::etc_changed problem
  2002-04-08  5:41 ` Lassi A. Tuura
@ 2002-04-08  6:07   ` Michel D'HOOGE
  0 siblings, 0 replies; 3+ messages in thread
From: Michel D'HOOGE @ 2002-04-08  6:07 UTC (permalink / raw)
  To: cygwin; +Cc: Lassi A. Tuura

"Lassi A. Tuura" a écrit :
> 
> > More interesting: if I give to mount a "cygdrive" path
> > (like "mount /cygdrive/t/cygwin/1.3/etc /etc"), the message disappears.
> > Unfortunately /etc is no longer available after that ("ls /etc" results in
> > "No such file or directory").
> 
> The first argument to cygwin mount is supposed to be a windows native
> path, not a POSIX path.  Hence it is quite expected for this form not to
> work.

I know this is not correct but I think it was interesting to mention
it because in this case the etc_changed function is no longer complaining.
So I believe it found something to open, likely the expected /etc directory.

And according to me, it means that during init_cygheap, the mount table 
is half available. If someone knowledgeable want to dig that way, I am
ready to try further tests.

BTW, the interest (for me) in removing this error is that it hangs the 
ediff function of emacs (at least) because there is an error.

-- 
 Michel D'HOOGE

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2002-04-08 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-08  4:38 New inputs for the init_cygheap::etc_changed problem Michel D'HOOGE
2002-04-08  5:41 ` Lassi A. Tuura
2002-04-08  6:07   ` Michel D'HOOGE

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