This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: errors using DB_File perl module under 20040422 snapshot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]