~ubuntu-branches/ubuntu/raring/partman-base/raring-proposed

Viewing all changes in revision 86.

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-03-29 21:55:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100329215502-6t0bt4d6xr2o34rd
Tags: 139ubuntu3
parted 2.1 changed the semantics of ped_disk_clobber: it now zeroes out
the first few and last few sectors of the disk, regardless of whether
there appears to be a valid partition table on it.  Unfortunately, this
means that creating a filesystem on a whole disk device and then calling
ped_disk_commit_to_dev zeroes the filesystem header we just created.  To
avoid this, call ped_disk_commit_to_dev only if the partition doesn't
start at sector zero (LP: #539324, #549260).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: