This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls: /: No such file or directory What can I do?


Igor Pechtchanski wrote:
...
Alain,

If you run the following from Cygwin shell (or cmd.exe/command.com as long
as D:\Cygwin is in your PATH):

$ mount -f -s -b "D:/Cygwin/bin" "/usr/bin"
$ mount -f -s -b "D:/Cygwin/lib" "/usr/lib"
$ mount -f -s -b "D:/Cygwin" "/"

and if you have XFree86* installed you might want to run this, too:

$ mount -f -s -b "D:/Cygwin/usr/X11R6/lib/X11/fonts"
"/usr/X11R6/lib/X11/fonts"

And you should be alright... :-)

Elfyn


Ahem, make that "E:/Cygwin/bin", "E:/Cygwin/lib", and "E:/Cygwin"...

Alain, your problem is that the mount source should be a Win32 path, not a
POSIX path, so the /cygdrive/e/cygwin was confusing the mount mechanism
(it was looking for \cygdrive\e\cygwin on the current drive, and of course
didn't find it).  "man mount" for more details.
	Igor

All is working now. Thanks for all.


Alain



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]