Re: Wrong free clusters count on FAT32

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OGAWA Hirofumi <hirofumi@...>, Juergen Beisert <juergen127@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Sunday, April 22, 2007 - 9:28 am

OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:



AFAIR it's stored twice on FAT32, once in a backup sector and once in the
superblock or extended superblock (don't remember, I think it was the
extended ~). It's not stored on FAT{12,16}.


Windows _does_ care*, it will pretend the disk to be full. Therefore the
stored value *SHOULD* be updated. (I think your patch does this.)

Recalculating the free space is a nice idea, and modern hardware might be
fast enough to recalculate the value on mount by default. (I didn't try this
for years.) Maybe the default should depend on arch?


About this patch: (news:8cwz8-2fE-13@gated-at.bofh.it)

- usefree is a bad name (I'd suggest recalc_free instead), and your
  description is too cryptic to be understood by a non-linux FAT expert.
- You forgot to update Documentation/
-- 
Never forget: 2 + 2 = 5 for extremely large values of 2. 

Friß, Spammer: NyjnoQ@0S0gJr.7eggert.dyndns.org uh@e.7eggert.dyndns.org
 VnmVge7Vj@3tlxued.7eggert.dyndns.org RggsNsl@al.7eggert.dyndns.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Wrong free clusters count on FAT32, Bodo Eggert, (Sun Apr 22, 9:28 am)
Re: Wrong free clusters count on FAT32, DervishD, (Sun Apr 22, 4:11 pm)
Re: Wrong free clusters count on FAT32, OGAWA Hirofumi, (Sun Apr 22, 10:04 am)
Re: Wrong free clusters count on FAT32, Bodo Eggert, (Sun Apr 22, 5:46 pm)
Re: Wrong free clusters count on FAT32, OGAWA Hirofumi, (Sun Apr 22, 10:20 pm)
Re: Wrong free clusters count on FAT32, OGAWA Hirofumi, (Sun Apr 22, 10:29 am)
Re: Wrong free clusters count on FAT32, Andreas Schwab, (Sun Apr 22, 10:53 am)
Re: Wrong free clusters count on FAT32, OGAWA Hirofumi, (Sun Apr 22, 11:13 am)