On Wed, 18 Jul 2001 14:33:17 GMT, Steve Bradley
<bradleysm@mediaone.net> wrote:
>Hi!
> I have a question about filesystems. I'm running a fairly
recent version
>of WINE from CVS on RH7.1 (Kernel 2.4.6). I have Win98 installed for on a
>partition. I user WINE to run Quicken2001 and Word97. When I'm running
>Word, I click on the 'open file' button, a get a message:
>
>err:dosfs:DRIVE_ReadSuperblock The filesystem is not FAT !!
>(device=/dev/hda1)
>err:dosfs:DRIVE_GetLabel Invalid or unreadable superblock on /dev/hda1 (C:).
>
>Now, it still lets me open the file and read it (which is all I need to
>do), but I'm confusted about the error. HDA1 *is* a FAT32 filesystem.
Its
>running Win98, and I can boot into it. Why does WINE insist that it
isn't?
Apply the following patch to files/drive.c
(beware of folded lines, unfold them if needed)
Gerard
--- drive.c.orig Sun Jul 8 06:56:19 2001
+++ drive.c Wed Jul 18 20:22:14 2001
@@ -491,8 +491,11 @@
"FAT" ? (At least FAT12, FAT16 and FAT32 have :)
*/
memcmp( buff+0x36,"FAT",3))
{
- ERR("The filesystem is not FAT !! (device=%s)\n",
- DOSDrives[drive].device);
+ char aa[4];
+ memcpy(aa, &buff[0x36], 3);
+ aa[3] = 0;
+ ERR("The filesystem is not FAT, but '%s' !!
(device=%s)\n",
+ aa, DOSDrives[drive].device);
return -3;
}
break;ยก