This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ls: /: No such file or directory What can I do?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Alain Mérigot <am at ief dot u-psud dot fr>
- Cc: cygwin at cygwin dot com
- Date: Sat, 26 Apr 2003 20:51:57 -0400 (EDT)
- Subject: Re: ls: /: No such file or directory What can I do?
- Reply-to: cygwin at cygwin dot com
On Sun, 27 Apr 2003, Alain Mérigot wrote:
> When I do ls /, I get the message
> ls: /: No such file or directory
> (I have the same behavior with /etc).
> Other pathes are OK (including /cygdrive/x/...
>
> I use cygwin for years and never got such a problem. Before it happened, I
> do not remember to have done a specifically dangerous action.
> Anyway, as my path is set in autoexec.bat (with windows pathes), most
> utilities are still working. Only the ones that requires an access to
> specific files in /usr, /etc ... are broken (latex for instance). So this
> problem may be here for a couple of days.
>
> I have checked the configuration with regedit and it seems correct :
> in /HKEY_LOCAL_MACHINE/software/Cygnus/cygwin/mounts v2/'/', I have flas set
> to 0x0a and native to \cygdrive\e\\cygwin.
>
> So, any idea on waht can be done?
>
> Many thanks in advance,
> Alain Mérigot
Alain,
Checking the mount settings in the registry is non-portable, the mounts
will not be stored there forever. Please use "cygcheck -svr" to get
system configuration. Attaching the output to your message, as per
<http://cygwin.com/problems.html>, might also be a good idea.
Aside from that, looks like you're missing the "/" mount (the output of
"cygcheck -svr" will confirm or deny my guess). Did you change users?
Did you upgrade any Cygwin packages recently?
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
--
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/