bug-parted
[Top][All Lists]
Advanced

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

Parted 1.6.19


From: Andrew Clausen
Subject: Parted 1.6.19
Date: Sun, 28 Nov 2004 21:09:07 +1100
User-agent: Mutt/1.5.6+20040722i

Hi all,

In versions 1.6.12 to 1.6.17, Parted wrote garbage into the CHS fields
of FAT file systems when resizing them.  This made Linux refuse to
mount filesystems (not to mention Windows booting problems).  This release
of Parted 1.6.19 allows you to repair these damaged file systems using
the "check" command.  (Or practically any file-system command)

Also, this version of libparted refuses to resize Windows Dynamic Disk
partitions.  However, this isn't a complete solution: it doesn't
provide any mechanism for front-ends to check if the partition table
has Windows Dynamic Disk partitions.  I'm thinking of adding a
PedPartitionType called PED_PARTITION_SHADOWED to indicate that the
partition metadata is stored in other locations in addition to the
partition table (and hence can't be resized).

Here's the detailed changes list:
* libparted/fs_fat/boot_sector.c (fat_boot_sector_analyse): if the
  file system's CHS geometry is insane, then let the user fix it.
  This is important, because Linux refuses to mount FAT file systems
  with insane CHS geometry.  Moreover, a few recent versions of Parted
  wrote some insane values here, so this allows users to fix the damage.
* parted/ui.c (_construct_prompt): previously forget to assign "prompt = ..."
  in a realloc_and_cat() call.  Patch from Woody Suwalski <address@hidden>
* libparted/linux.c (linux_new): get rid of pointless exception for
  exotic block devices.
* configure.in, libparted/fs_reiserfs/reiserfs.c (reiserfs_fs_check):
  applied patch by Yury to do a proper file system check.
* libparted/disk_gpt.c (_generate_header): changed a misleading comment
  "per 1.02 spec" -> "per 1.00 spec".
* libparted/disk_mac.c (mac_duplicate): don't create a partition map
  entry - leave that for later.
* libparted/disk_dos.c (msdos_read): avoid infinite recursion.
* libparted/disk_dos.c (msdos_partition_align): refuse to resize
  Windows Dynamic Disk partitions.

Cheers,
Andrew




reply via email to

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