From nobody  Tue Dec 17 02:09:53 1996
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.4/8.8.4) id CAA12907;
          Tue, 17 Dec 1996 02:09:53 -0800 (PST)
Message-Id: <199612171009.CAA12907@freefall.freebsd.org>
Date: Tue, 17 Dec 1996 02:09:53 -0800 (PST)
From: alexv@sui.gda.itesm.mx
To: freebsd-gnats-submit@freebsd.org
Subject: MSDOSFS corrupts MSDOS partitions > 500Mb
X-Send-Pr-Version: www-1.0

>Number:         2232
>Category:       kern
>Synopsis:       MSDOSFS corrupts MSDOS partitions > 500Mb
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 17 02:10:00 PST 1996
>Closed-Date:    Mon Apr 20 14:50:34 PDT 1998
>Last-Modified:  Mon Apr 20 14:55:42 PDT 1998
>Originator:     Alejandro Vazquez C.
>Release:        2.1.5-RELEASE
>Organization:
>Environment:
>Description:
The FreeBSD's MSDOS file system driver corrupts any DOS partition
that is greater than 500Mb. Using a Quantum BigFoot (1.2Gb, IDE) HD,
FreeBSD practicly corrupted every file it had written plus the fat
sector that used to store the entries for the file. The partition was
about 900Mb. The OS also couldn't read anything but the root directory
(just the directory, not the files). With the same HD, but using a
200Mb partition didn't show any problems. It seems to cause trouble
when installing (from a >500Mb DOS partition).
>How-To-Repeat:
Mount a > 500Mb partition and try reading or writing to it.
>Fix:

>Release-Note:
>Audit-Trail:

From: Mike Pritchard <mpp>
To: freebsd-gnats-submit
Cc:  Subject: Re: kern/2232 MSDOSFS corrupts 500MB partitions
Date: Tue, 25 Mar 1997 19:21:58 -0800 (PST)

 Feedback from the originator:
 
 Alejandro =?iso-8859-1?Q?V=E1zquez?= C. wrote:
 > From alexv@sui.gda.itesm.mx Sun Feb 23 17:20:25 1997
 > Date: Sun, 23 Feb 1997 19:18:37 -0600
 > From: "Alejandro =?iso-8859-1?Q?V=E1zquez?= C." <alexv@sui.gda.itesm.mx>
 > Organization: SUI - ITESM Campus Guadalajara
 > To: Mike Pritchard <mpp@freefall.freebsd.org>
 > Subject: Re: FreeBSD Problem report # 2232
 > 
 >   I have seen this problem with 2.1.5-RELEASE & 2.1.6-RELEASE. 
 >  I haven't tested on a later version. I have confirmed that this
 >  problem apears only if the DOS partition was formatted with a
 >  32k-cluster (accessing a partition with a 16k-cluster or less
 >  it's ok - aka. DOS Partition < 500MB) ...
 > 
 > PS. (It would be nice if the msdosfs would support the newly
 >   32-bit FAT supported by Windows95/OSR2)....
 > 
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Mon Apr 20 14:50:34 PDT 1998 
State-Changed-Why:  
This PR relates to 2.1.5-RELEASE.  The problem was fixed in late 1996 
by increasing MAXBSIZE to 65536 (together with related changes). 
>Unformatted:
