28 June 2017, 22:39 | #1 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Problem with "missing" files in shared folder
I'm using WinUAE under Wine. I have a shared folder configured. In the shared folder, I can do this in emulation:
Echo "test" >"index.html?C=D;O=A" The resulting file shows up in Amiga-side directory listings. On doing that command, there was this log output: FILESYS: 'index.html?C=D;O=A' illegal filename FILESYS: 'index.html?C=D;O=A' illegal filename unique name: Z:\Shared\Work\test\__uae___index_html_C=M;O=A OK so far. However, when there is actually a host-side file in the shared folder called "index.html?C=D;O=A" it's invisible to the Amiga side. WinUAE prints this in the log whenever e.g. you List the containing directory: FILESYS: 'index.html?C=D;O=A' illegal filename And the file can't be accessed from the Amiga side. Just wondering, is that a problem with Wine (e.g. allowing WinUAE to see a non-Windows-legal filename) or something that could be improved in WinUAE? |
01 July 2017, 21:35 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
|
This seems to be Wine only problem because at least via Samba it is impossible to read any files with Windows illegal characters. (It gets replaced with generated short name)
Anyway, I made some changes. Now all filenames that contain illegal characters have extra check: a) Attempt to open the file first and check for ERROR_INVALID_NAME return code. If returned -> it is invalid. b) If it opened, call GetFileType(), if it is not FILE_TYPE_DISK -> invalid. (This filters out dos-compatibility CON, AUX etc automatically only if they actually "exists") Not sure if this fixes wine "problem" or if it breaks something else.. EDIT: Working or not: include new H=x TYPE=x.. log line. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
Why "OpenGL" folder in FS-Uae Launcher v2.5.5dev sources? | amair | support.FS-UAE | 3 | 20 May 2014 09:06 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
How to find out what files are missing? [split from "Reactions to GBA v1.4 release"] | formater | project.GameBase Amiga | 1 | 03 June 2007 17:45 |
Missing "Reach out for gold" & link to ads in Zzap | Tim Janssen | HOL suggestions and feedback | 2 | 15 February 2005 16:58 |
|
|