delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/27/14:31:43

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
From: "Hannu E K Nevalainen" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: RE: errors using DB_File perl module under 20040422 snapshot
Date: Tue, 27 Apr 2004 20:29:42 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEOEHGDKAA.garbage_collector@telia.com>
MIME-Version: 1.0
In-Reply-To: <1661641065.20040426224002@familiehaase.de>

> From: Gerrit P. Haase
> Sent: Monday, April 26, 2004 10:40 PM

> Hallo Yitzchak,
>
> Am Sonntag, 25. April 2004 um 21:16 schriebst du:
>
> > It seems to be creating files that cygwin cannot thereafter open.
>

FAT32 disk:
 ( /cygdrive/d/ -> used for $TEMP and /tmp, windows page files... )

 To me, all this looks as sideeffects of one famous win-dos'ism; files that
has names w trailing dots -> strange things happen.

Or might it still be something strange in cygwin that fails:

$ mkdir /tmp/test
$ echo -n >/tmp/test/__db.bugaboo.
$ ls -lR /tmp/test/
/tmp/test/:
total 0
-rw-r--r--    1 Hannu           0 Apr 27 19:42 __db.bugaboo.
Hannu AT P450 / bash (P)PID=(556)1604, s=0
$ rm -rf /tmp/test/

^-- HANG! CTRL-C brings back the prompt

$ uname -a
CYGWIN_NT-5.0 P450 1.5.10s(0.114/4/2) 20040420 11:21:06 i686 unknown unknown
Cygwin

Attempting to delete/rename from Explorer at this point is futile; did the
above leave a "lock" on it?


[reboot] then attempting to delete the file from Explorer;
---------------------------
Error Deleting File or Folder
---------------------------
Cannot delete file: Cannot read from the source file or disk.
---------------------------
OK
---------------------------

Attempt to rename:

---------------------------
Error Renaming File or Folder
---------------------------
Cannot rename file: Cannot read from the source file or disk.
---------------------------
OK
---------------------------

Now: Seems to me that this is a pure Windows problem.

[reboot] -> DOS prompt
D:\> D:
D:\> cd temp
D:\temp\> deltree /y
...

...did the trick.
Might it work from any cmd/command prompt using *short* filenames?
<stop>

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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