bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change in FAT file system type


From: Andrew Clausen
Subject: Re: Change in FAT file system type
Date: Fri, 15 Dec 2000 17:46:08 -0200

Thomas Roelz wrote:
> 
> Hi all,
> 
> recently I noticed an unexpected change of the file system type
> after having shrunk a 1.6 GB FAT16 partition. I thought parted
> would stay with the given file system type.

If it can.  Sometimes, it is not possible.

> Instead it has been
> converted to FAT32. This is _not_ always the case when shrinking
> FAT16 partitions. parted 1.4.5 was used in script mode.

This is strange.  It should always be possible to use FAT16,
if FAT16 was used before AND you are shrinking.

Did it print out any messages, asking you which FAT type to use?
(It should do this, even in script mode)

Andrew Clausen

P.S. relevant code:

if (fat16_ok && fat32_ok) {
        ...
        switch (status) {
        ...
        case PED_EXCEPTION_UNHANDLED:
                 *out_fat_type = fs_info->fat_type;
                 return 1;
        ...
        }
}

There is no bug here!  Only other option is, that libparted
can't use FAT16 for the size you wanted... but I can't
understand this, because shrinking FAT16 is always possible
to leave as FAT16...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]