OSDN Git Service

fat: support 64KB clusters for FAT16
authorJoel Granados Moreno <jgranado@redhat.com>
Wed, 10 Jun 2009 17:05:47 +0000 (19:05 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 10 Jun 2009 18:52:17 +0000 (20:52 +0200)
commitf51228760b9fd3322efd2f70cb2ec2fbcd71427f
treedc61922baf12a8414da960f360991b0fa460b95a
parent14cce9b2e84bffb5b3c64e96e025914e8e85f2d1
fat: support 64KB clusters for FAT16

* libparted/fs/fat/calc.c (fat_max_cluster_size): A 64KB cluster
size (128 sectors) for FAT16 is not common but is possible.  Allow
the use of 128-sector clusters instead of outputting an error.

Fixes this:
    http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/207
Additional info here:
    http://lists.alioth.debian.org/\
      pipermail/parted-devel/2009-June/002882.html
libparted/fs/fat/calc.c