delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/24/09:22:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3FC213EB.6020205@aonix.co.uk>
Date: Mon, 24 Nov 2003 14:21:31 +0000
From: Cliff Hones <cliff AT aonix DOT co DOT uk>
Organization: Aonix Europe
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't Read /cygdrive/c in snapshots from 1108 on (unknown windows
error 122)
X-Enigmail-Version: 0.81.7.0
X-Enigmail-Supports: pgp-inline, pgp-mime

D. N. Knisely wrote:

>> I unmounted those mounts:
>> $ mount
>> C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
>> (binmo
>> de)
>> C:\cygwin\bin on /usr/bin type system (textmode)
>> C:\cygwin\lib on /usr/lib type system (textmode)
>> C:\cygwin on / type system (textmode)
>> c: on /cygdrive/c type user (textmode,noumount)
>>
>> No change.
>>
>> Am I supposed to have an actual directory entry for cygdrive?  There is a
>> directory there:
>> ...
>> $ ls -l cygdrive
>> total 0
>> d---------   29 ???????? ????????        0 Nov 24 07:09 c/
>> $ ls -ld cygdrive
>> dr-xr-xr-x    4 0        0               0 Dec 31  1969 cygdrive/
>>
>> It doesn't seem to make any different if I rename it to something else; I
>> gather that /cygdrive is actually a virtual drive like /dev.


That's right.  In a standard installation you would not have a real
directory named cygdrive in your Cygwin root, but I wouldn't have
expected there to be a problem if you did have.  [Just tried it
on my system and I have no problem.]

However, from the above, you do seem to have a permission/ownership
problem.  I'd recommend removing the real /cygdrive directory, and
then repeating "ls -l /cygdrive" - you should see your windows C
drive and it should have sensible ownership/protection - the
same as you see with "ls -ld C:/".

You don't, by any chance, have a "real" directory named C under
your real /cygdrive?  That may well confuse Cygwin.

-- Cliff


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019