diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-09 18:48:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-09 18:48:32 +0000 |
commit | 925e58d2b3b5fc4adeefcf9f7c3062ba5efde627 (patch) | |
tree | 29aed7d1e75323231b3b4623d84ce3c59a148cb8 /perl-install/resize_fat/any.pm | |
parent | c8b361905dedbe2961b4e3c1670d5028eec12807 (diff) | |
download | drakx-925e58d2b3b5fc4adeefcf9f7c3062ba5efde627.tar drakx-925e58d2b3b5fc4adeefcf9f7c3062ba5efde627.tar.gz drakx-925e58d2b3b5fc4adeefcf9f7c3062ba5efde627.tar.bz2 drakx-925e58d2b3b5fc4adeefcf9f7c3062ba5efde627.tar.xz drakx-925e58d2b3b5fc4adeefcf9f7c3062ba5efde627.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/resize_fat/any.pm')
-rw-r--r-- | perl-install/resize_fat/any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/resize_fat/any.pm b/perl-install/resize_fat/any.pm index d78a342be..8c57eb6b0 100644 --- a/perl-install/resize_fat/any.pm +++ b/perl-install/resize_fat/any.pm @@ -21,11 +21,11 @@ $DIRECTORY = 2; # returns the number of clusters for a given filesystem type sub min_cluster_count($) { my ($fs) = @_; - (1 << $ {{ FAT16 => 12, FAT32 => 16 }}{$fs->{fs_type}}) - 12; + (1 << $ {{ FAT16 => 12, FAT32 => 12 }}{$fs->{fs_type}}) - 12; } sub max_cluster_count($) { my ($fs) = @_; - $resize_fat::bad_cluster_value - 2; + 2 ** $fs->{fs_type_size} - 11; } |