30 May 2009, 01:29 | #1 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Problems with filesystem and strange chars
UAE 1.6.0, my cfg attached.
If I save a filename like "Read>Me" on the UAE partition (physically a Windows Vista partition, using emulated UAE controller + uaescsi.device + SPTI) after a reboot or a WUAE quit + restart, the file name "Read>Me" gets a random (= garbage) name. Is ">" an illegal char to use? |
30 May 2009, 01:42 | #2 | |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,525
|
If you are using a folder on a NTFS partition (or the whole partition) as a harddrive then yes, it is an illegal char.
Quote:
|
|
30 May 2009, 01:48 | #3 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
|
30 May 2009, 09:27 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It is broken, now there is enough bugs found to start working on 1.6.1 (note that it isn't "random" name either )
|
30 May 2009, 09:34 | #5 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
Unix filenames support any character except '/' and I/O redirection is still supported, so that seems more a design choice. Consider many limitations are not really fs dependent but are hardcoded in userspace utilities. For example, you can create files with strange characters in a ntfs partition with any linux live cd: this won't corrupt the fs but windows utilities may not know how to handle them, often resulting in undeletable objects.
|
30 May 2009, 16:28 | #6 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Quote:
|
|
30 May 2009, 19:25 | #7 | ||
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
Quote:
What I really meant to say was, "The Windows command interpreter uses the '>', '|' and '<' characters for redirection of standard output, which is why they are illegal filename characters for NTFS and FAT filesystems." |
||
30 May 2009, 20:01 | #8 |
Registered User
Join Date: Aug 2006
Location: Italy
Posts: 109
|
I had understood what you meant, but that's just a design choice. Having '>', '|' and '<' in filenames doesn't inhibit having a working I/O redirection, in fact unix shell(s) do support it without that limitation in the fs.
|
30 May 2009, 20:24 | #9 | |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
IIRC, the now discontinued Archie Acorn Archimedes emulator for DOS used a workaround for filename characters which are legitimate under ADFS, but illegal in FAT. It involved substituting alternative characters for the illegal ones before storing the files in a Windows directory, and restoring them again when the file is fetched back into the emulation. A workaround like this for WinUAE would obviously take a great deal of careful thought, but if you really would like to see this feature implemented in a future release of WinUAE, I would suggest you start a thread under req.WinUAE. prowler |
|
30 May 2009, 20:26 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Everyone, stop being stupid, please.
It is a simple bug. It was working in 1.5.3 just fine. |
30 May 2009, 20:28 | #11 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Sorry, Toni!
I've never tried to use illegal Windows filenames myself! |
02 June 2009, 23:19 | #12 |
Registered User
Join Date: Aug 2007
Location: UK
Posts: 446
|
Having a few versions of WinUAE around using on hard drive and flash stick (folders).
None of the versions allow for > or < in files names from cd. That were written on original amiga (IS09660-Rockridge). Neither if re-written to IS09660, IS09660+Joliet, UDF and many other flavours to cd-dvd or an image file. Is this all part of the 'same simple bug' ? |
02 June 2009, 23:27 | #13 | |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
Do you mean that if you were to copy the files from an original Amiga ISO9660-Rockridge CD to a hardfile within WinUAE, then the filenames wouldn't be preserved if they include those special characters? |
|
03 June 2009, 07:59 | #14 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
You do not read Amiga CDROMs as a Windows filesystem (because it is Windows that is "incompatible", not WinUAE) You have to use uaescsi.device if you want to be compatible. |
|
04 June 2009, 04:37 | #15 |
Registered User
Join Date: Aug 2007
Location: UK
Posts: 446
|
>prowler. I used to use < > in folder names and were burnt to cd with makecd, long ago. Didn't know the file system would get stuck at with the poor cousin Joliet.
Rockridge was shafted by microsoft i thinks. |
04 June 2009, 04:38 | #16 |
Registered User
Join Date: Aug 2007
Location: UK
Posts: 446
|
Toni any (non os system) hard drive can be unmounted!. You could do the same with a user selcted cd-dvd drive for winuae. Unmount X cd-dvd make it have exclusive access within winuae only, until winuae is quit.
I'll happily to put another cd-dvd drive into the pc case. Then if need a cd-dvd drive while winuae is running, for host os i will have one. Or maybe i'll use both in winuae for cd copying or file storage access etc ? |
04 June 2009, 08:41 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
I am not so sure if it is possible to disable filesystem mounting but leave the device driver running. (and I am not going to do anything unsupported, it _will_ break in next windows version or service pack..)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Always blurry chars - wrong aspect ratio? | 1988 | support.WinUAE | 26 | 07 July 2011 16:36 |
Strange problems with PCMCIA & A1200 | woody.cool | support.Hardware | 8 | 23 May 2009 20:41 |
A3000 strange boot problems | Rod_cl | support.Hardware | 4 | 10 July 2006 06:22 |
WinUAE0.9.91 and filesystem strange behaviour | glwx | support.WinUAE | 4 | 21 August 2004 15:29 |
Problems with the Emulated Filesystem | Kintaro | support.WinUAE | 0 | 11 September 2002 16:17 |
|
|