From: Ivan Baldo <lubaldo@adinet.com.uy>
To: flf@operamail.com, ben@imben.com, edolstra@students.cs.uu.nl,
linux-kernel@vger.kernel.org,
Linux Uruguay <linux-uy@linux.org.uy>, SET <salvador@inti.gov.ar>
Subject: How to make VFAT work right in 2.4.0-prerelease
Date: Sat, 06 Jan 2001 15:47:19 -0300 [thread overview]
Message-ID: <3A576837.34E90872@adinet.com.uy> (raw)
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
Hello.
HOWTO:
- 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
with email stored on a VFAT partition, ok, I guess that maybe is
Netscape's fault though, but just removing that code makes Messenger at
least work somewhat.
- 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
allocation errors when using the "truncate()" C function to grow files
(and Messenger seems to use it).
- recompile the kernel and be happy!
I don't know why this patch isn't applied yet on the official kernel
and why the kernel people made that change to the inode.c file, maybe
they could explain us (please!).
Thanks a lot to everyone and special thanks to Eelco!
Goodbye.
P.s.: yes, I am writing this email with Netscape Messenger with emails
stored on a VFAT partition and using the 2.4.0-prerelease kernel with
those changes: no problems so far.
--
Ivan Baldo:
lubaldo@adinet.com.uy - http://go.to/ibaldo - ICQ 10215364
Phone: (598) (2) 613 3223.
Caldas 1781, 11400 Malvin, Montevideo, Uruguay, South America.
(If you have problems with the previous addresses, try this ones:
ibaldo@usa.net, http://members.xoom.com/baldo.1).
[-- Attachment #2: parche-vfat-2.4.dif.gz --]
[-- Type: application/x-gzip, Size: 2012 bytes --]
next reply other threads:[~2001-01-06 19:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-06 18:47 Ivan Baldo [this message]
2001-01-06 19:53 ` How to make VFAT work right in 2.4.0-prereleaseu Alan Cox
2001-01-07 2:07 ` Eelco Dolstra
2001-01-07 14:22 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A576837.34E90872@adinet.com.uy \
--to=lubaldo@adinet.com.uy \
--cc=ben@imben.com \
--cc=edolstra@students.cs.uu.nl \
--cc=flf@operamail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-uy@linux.org.uy \
--cc=salvador@inti.gov.ar \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®