bug-parted
[Top][All Lists]
Advanced

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

Re: Another 1.5.4 bug


From: Andrew Clausen
Subject: Re: Another 1.5.4 bug
Date: Fri, 26 Oct 2001 07:59:40 +1000
User-agent: Mutt/1.2.5i

On Thu, Oct 25, 2001 at 06:28:38PM +0200, Bernhard Rosenkraenzer wrote:
> parted 1.5.4 doesn't recognize FAT12 partitions anymore (works in 
> 1.4.20; /dev/hda1). [16 MB DR-DOS partition for BIOS-updates]
> 
> (parted) p
> Disk geometry for /dev/hda: 0.000-30520.546 megabytes
> Disk label type: msdos
> Minor    Start       End     Type      Filesystem  Flags
> 1          0.031     15.688  primary
> [...]
> 
> address@hidden root]# fdisk -l /dev/hda |grep hda1
> /dev/hda1             1         2     16033+   1  FAT12


Ah, that's right... Parted doesn't support FAT12.  1.5.x
ped_file_system_probe() needs more information than just a simple
"yes" or "no" - it needs the size too.  So fat_probe() is calling
fat_boot_sector_analyse(), which doesn't support FAT12.

Is it a big disaster to not show FAT12 partitions?  (Parted can't
resize them anyway)  It would be possible to pull the relevant code out of
fat_boot_sector_analyse(), but it's non-trivial (i.e. ~20 lines)

Thanks,
Andrew




reply via email to

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