Subject: PR/30864 CVS commit: src/sys/fs/msdosfs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: netbsd-bugs
Date: 08/29/2005 23:23:01
The following reply was made to PR kern/30864; it has been noted by GNATS.
From: Juan Romero Pardines <xtraeme@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30864 CVS commit: src/sys/fs/msdosfs
Date: Mon, 29 Aug 2005 23:22:05 +0000 (UTC)
Module Name: src
Committed By: xtraeme
Date: Mon Aug 29 23:22:05 UTC 2005
Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_vnops.c
Log Message:
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this. Just return
EFBIG to caller, rather than panic()ing later.
From OpenBSD.
This closes my PR kern/30864: "panic when copying files of >4GB on msdosfs"
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.16 -r1.17 src/sys/fs/msdosfs/msdosfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.