http://bugs.winehq.org/show_bug.cgi?id=26625
Summary: Wine or Wine documentation bug on short file names Product: Wine Version: 1.3.16 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: spammis@spam.la
http://www.winehq.org/docs/winedev-guide/x2988#AEN3203 Scroll down a bit to the bullet list. It says:
The filesystem on which the inspected directory lies in a real Windows FS (like FAT, or FAT32, or NTFS) and the OS has support to access the short filename (for example, Linux does this on FAT, FAT32 or VFAT). In this case, Wine makes full use of this information and really mimics the Windows behavior: the short filename used for any file is the same than on Windows.
Wine does not detect real short names on NTFS partitions but Linux is able to access the real short names on NTFS partitions. Thus, there is either a bug in Wine or in the documentation quoted above.
An example (from my /mnt/windows directory, mounted as Z:\mnt\windows in Wine):
Z:\mnt\windows>dir /x 2010/10/13 3:09 <DIR> PROG~FBU Program Files 2011/03/14 3:15 <DIR> PROG~5P2 Program Files (x86)
But: user@localhost:/mnt/windows$ getfattr -h -n system.ntfs_dos_name Program\ Files # file: Program Files system.ntfs_dos_name="PROGRA~1"
user@localhost:/mnt/windows$ getfattr -h -n system.ntfs_dos_name Program\ Files\ (x86) # file: Program Files (x86) system.ntfs_dos_name="PROGRA~2"
user@localhost:/mnt/windows$
So Wine calls the said directories PROG~FBU and PROG~5P2 respectively, whereas Linux detects the names created by Windows 7 as PROGRA~1 and PROGRA~2.
---
In order to use the "getfattr" program under Ubuntu, you may have to run "sudo apt-get install attr" first. Documentation available here: http://b.andre.pagesperso-orange.fr/extend-attr.html
http://bugs.winehq.org/show_bug.cgi?id=26625
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine or Wine documentation |Reading of a short file |bug on short file names |name is not supported on | |NTFS Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=26625
--- Comment #1 from butraxz@gmail.com 2013-10-18 13:34:36 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=26625
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to butraxz from comment #1)
This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=26625
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.