Is it OK to mount cygdrive on / ?

2017-02-03 Thread Rustam
I've added an extra / mountpoint in /etc/fstab in order to be able to
access C: without /cygdrive like this:

none /cygdrive cygdrive binary,posix=0,user 0 0
none / cygdrive binary,posix=0,user 0 0

It seems to work, I can access the C: drive with just /c.

But normally an "ls /cygdrive" should list the drives, whereas "ls /"
lists the contents of the Cygwin root. So it seems there are now two
root mountpoints overlaying each other.

So I was wondering if my approach is if this is technically undefined
behavior and might conceivably break something or is it OK (less the
drive listing limitation mentioned above).

Thanks,
Rustam

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



Memory Problem

2005-01-27 Thread Rustam Khayrutdinov

-
Dear Cygwin Developers,

I have a problem with running code which require High RAM Memory,
if I run this code in Windows Xp enviroment it runs,
if I use regular Redhat Linux also, but if I use Cygwin it produce message:

MapViewOfFileEx(0x728, in_h 0x728) failed, Win32 error 6

Code is in fortran language and compiled with g77 compiler.
If I use less static memory inside code it runs o'kay in Cygwin.
Can I avoid this problem without upgading to higher memory my
computer. I have 512 Mb RAM.

Thank you.
Rustam



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Memory Problem and X-windows

2005-01-31 Thread Rustam Khayrutdinov

-
Dear Cygwin Developers,

With your help I have solved a problem of memory:
MapViewOfFileEx(0x728, in_h 0x728) failed, Win32 error 6

I have used Wl,--stack,1 during link of my
code written in Fortran and compiled with g77,

but now there if another problem
I can not get data into code from Concole
usind read (*,*) comand from Fortran code,
if I use X-windows, started by startx&

If size of code is less and it does not require increase of stack,
then everything works o'kay.

but if I run code from "regular" cygwin window, then everything works with
increased stack also.
Is any explanation?

Best wishes Rustam





Thank you.
Rustam
--- End of Forwarded Message ---


--
Open WebMail Project (http://openwebmail.org)


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/