Changing FS type reported by Wine

Stephen Mollett molletts at yahoo.com
Mon Dec 23 17:01:07 CST 2002


On Monday 23 Dec 2002 17:42, Duane Clark wrote:
> In the file wine/files/drive.c, in the function GetVolumeInformationW()
> (down around line 1965), is this:
> ...
>              static const WCHAR fatW[] = {'F','A','T',0};
> ...
> That appears to hardcode the filesystem "name" to FAT. You might try
> changing that to NTFS. That assumes that this is the call your app is
> using to determine filesystem type.

Just tried it. (Changed it to {'N','T','F','S',0}.) That works perfectly... 
6.5GB AVI created with no problems.

One drawback... I've also reminded myself why I wasn't using the latest Wine 
even though I'd built a package - frame preview no longer works... Win some, 
lose some :-) I'll have to hack the old version and recompile it - I was 
using 1007; I'll try the intervening versions tomorrow to see which one 
breaks it.

Thanks

Stephen



More information about the wine-users mailing list