Re: How to make VFAT work right in 2.4.0-prereleaseu

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jan 06 2001 - 14:53:49 EST


> - edit file fs/fat/inode.c, look in the function named
> "fat_notify_change" (at about line 901), where it says:"
> /* FAT cannot truncate to a longer file */
> if (attr->ia_valid & ATTR_SIZE) {
> if (attr->ia_size > inode->i_size)
> return -EPERM;
> }
> ", just delete all of it (or comment it out). This change wich has been
> made in the -prerelease versión, makes Netscape Messenger not to work

If you do that you will corrupt your FAT fs. Very bad idea

> - apply attached patch made by Eelco Dolstra
> <edolstra@students.cs.uu.nl>, I am testing and using this patch since
> 13.nov.2000 (a lot of time) and with various versions of the Linux
> 2.4.0-testXX series kernels and it works flawlessly! Without it you get

2.4.0-ac has the truncate to grow stuff. It should just work out of the box.
Let me know if not

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:25 EST