Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EABA538.9090502@ief.u-psud.fr> Date: Sun, 27 Apr 2003 11:39:04 +0200 From: =?ISO-8859-1?Q?Alain_M=E9rigot?= User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ls: /: No such file or directory What can I do? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Igor Pechtchanski wrote: > 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 > , 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 Here is the output of cygcheck -svr : Cygwin Win95/NT Configuration Diagnostics Current System Time: Sun Apr 27 11:19:50 2003 Windows 98 SE Ver 4.10 Build 2222 Path: . \cygdrive\e\cygwin\bin c:\WINDOWS c:\WINDOWS\COMMAND . c:\WINDOWS e:\CYGWIN\BIN\ c:\WINDOWS\COMMAND c:\PHP4 g:\MAX5\BACKBURNER2\ c:\PROGRAM FILES\FICHIERS COMMUNS\AUTODESK SHARED\ e:\PROGRAM FILES\GS\GS7.05\BIN c:\php\ e:\xemacs\bin\i686-pc-cygwin e:\bin . `id' program not found and here is the output of id uid=400(ehio) gid=401(mkpasswd) groups=401(mkpasswd) and finally, the output of mount \cygdrive\e\cygwin\etc on /etc type system (binmode) \cygdrive\e\cygwin on / type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) f: on /cygdrive/f type user (binmode,noumount) g: on /cygdrive/g type user (binmode,noumount) h: on /cygdrive/h type user (binmode,noumount) i: on /cygdrive/i type user (binmode,noumount) j: on /cygdrive/j type user (binmode,noumount) I think effectively that I am missing the '/' mount. But what is strange is that ls / does not work, while mount thinks that / is mounted on /cygdrive/e/cygwin and that I can without problem ls /cygdrive/e/cygwin Concerning recent update, I have done a (regular) update some days ago and I did not notice any problem after that (but as I said most utilities are working and I do not reboot everyday). I do not remenber which packages were updated, I just let setup choose... The problem first appeared in latex as the format (located in /usr/...) could not be found. I then tried to do an update (reinstallation of tetex-bin) after I discovered the problem. But the update hanged for a long time -- I can now understand why!. It was probably trying to go to /something -- and I killed it. After that, I rebooted, created a new user, etc until I discovered the mount problem. But all was done after the problem first happened. Hope this helps. Alain Mérigot -- 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/