X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B8BE5A1.6000005@towo.net>
Date: Mon, 01 Mar 2010 17:04:49 +0100
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Directory named "." created at /: seems to have happened during  update
References: <4B8BDC2C.20406@bonhard.uklinux.net>
In-Reply-To: <4B8BDC2C.20406@bonhard.uklinux.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 01.03.2010 16:24, Fergus wrote:
> ...
> >> Are you sure the directory name is really "."?
>
> Yes. I tried various mechanisms for testing this such as
>
> dir ". "
> rename ". " "mydir"
>
> etc all to  no avail. And also I see the / after the listing:
>
> ls -al /m
> total 16
> drwxr-xr-x  14 fergus ver_1.5    0 Jan  1  1970 ./
> drwxr-xr-x  14 fergus ver_1.5    0 Jan  1  1970 ./
> drwxr-xr-x  15 fergus ver_1.5    0 Jan  1  1970 ../
> <etc etc>
These are not safe checks. I've got weird directory names created myself 
which contained control characters that rendered invisible...

Do either of:
     ls | od -ab
or
     ls | od -t ax1
or
     ls > ls
and inspect the output with a binary-transparent editor (e.g. mined :) )

Thomas

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

