Re: Changing FS type reported by Wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Mollett wrote:

I'm using ReiserFS. I've also tried on a 40GB ext3 filesystem on a spare drive. The error comes from VirtualDub, which believes that it's running on a FAT32 filesystem (obviously that's what Wine reports to any program that asks what FS type a drive is). I've tried working around it by using vdub's 'segmented AVI' feature (which creates multiple AVIs <= 2GB) but I can't use these successfully under Linux.
In the file wine/files/drive.c, in the function GetVolumeInformationW() (down around line 1965), is this:


if (fsname && fsname_len)
{
/* Diablo checks that return code ... */
if (DOSDrives[drive].type == DRIVE_CDROM)
{
static const WCHAR cdfsW[] = {'C','D','F','S',0};
strncpyW( fsname, cdfsW, fsname_len );
}
else
{
static const WCHAR fatW[] = {'F','A','T',0};
strncpyW( fsname, fatW, fsname_len );
}
fsname[fsname_len - 1] = 0; /* ensure 0 termination */
}

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.

I assume you have already determined that ReiserFS supports files larger than 2GB?



_______________________________________________
wine-users mailing list
wine-users@winehq.com
http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux