X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 1 Mar 2010 12:32:55 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Cc: Jan Nieuwenhuizen Subject: Re: Directory named "." created at /: seems to have happened during update Message-ID: <20100301113255.GU5683@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, Jan Nieuwenhuizen References: <4B8BA03F DOT 9090402 AT bonhard DOT uklinux DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B8BA03F.9090402@bonhard.uklinux.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mar 1 11:08, Fergus wrote: > Weird or what. > > My Cygwin [1.7] is located at the root of a mobile hard drive and a > simple DOS dir command now shows a directory named . as in > > M:\>dir /ad > Volume in drive M has no label. > Volume Serial Number is 4B6B-CC15 > > Directory of M:\ > > 01/03/2010 08:39 Recycled > 05/02/2010 09:06 bin > 05/02/2010 09:06 dev > 05/02/2010 09:07 etc > 01/03/2010 07:10 home > 05/02/2010 09:15 lib > 05/02/2010 09:15 opt > 05/02/2010 09:15 sbin > 05/02/2010 09:15 srv > 05/02/2010 09:15 tmp > 05/02/2010 09:55 usr > 05/02/2010 09:55 var > 01/03/2010 09:44 . > 0 File(s) 0 bytes > 13 Dir(s) 2,571,448,320 bytes free > > The time stamp is identical to the most recent update (python-pyrex > + lilypond + sysvinit): > > dir \etc\setup \od > > {many files} > 27/02/2010 07:08 168 mintty.lst.gz > 01/03/2010 09:42 10 timestamp > 01/03/2010 09:44 913 python-pyrex.lst.gz > 01/03/2010 09:44 2,138 lilypond.lst.gz > 01/03/2010 09:44 69,046 installed.db > 01/03/2010 09:44 303 sysvinit.lst.gz > 01/03/2010 09:45 148 setup.rc > > > and I can only think that something strange happened during the update. > > Meanwhile, even with a Linux rescue disk, I have no idea how to > delete the extra directory. Consequences are that DOS commands like > > dir /s > attrib /s > > result in endlessly nested looped output Oh boy. I didn't even know that NT allows that. That's two bugs in one. The lilypond package has paths with leading "./" in it, and setup.exe does not recognize that and remove the dot path. For now I have removed the latest lilypond package from the distro. Jan, can you please fix your package not to have leading ./ in the path? As for setup.exe, I have to have a look how to avoid that. What you can try to get rid of the directory is this: del \\?\M:\. rmdir \\?\M:\. If that doesn't work, maybe there's a chance to rename the directory using the \\?\fullpath syntax. Or, if that doesn't work, maybe you can at least move the files out of that dir. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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