lp:ubuntu/lucid-updates/partman-base

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid-updates/partman-base
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

90. By Colin Watson

Expand the small gap we leave at the end of the disk to avoid MD
superblock ambiguity so that it correctly covers the region where
ambiguity might arise. The previous gap was insufficient on disks that
were between 512 and 65535 bytes larger than a multiple of 1048576 bytes
(LP: #569900).

89. By Colin Watson

Don't apply optimal alignment to extended partitions (LP: #558382).

88. By Colin Watson

Update Ubuntu-specific translations from Launchpad.

87. By Colin Watson

* Ignore free space smaller than the grain size of the partition creation
  constraint, rather than only free space smaller than a cylinder.
* Allow preseeding partman/alignment to "cylinder", "minimal", or
  "optimal"; "cylinder" restores old alignment behaviour for the benefit
  of those with crotchety BIOSes, while "optimal" is the default.

86. By Colin Watson

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).

85. By Colin Watson

Always leave a small gap at the end of the disk (except on device-mapper
devices), to avoid confusing mdadm by leaving the MD 0.90 superblock at
the end of the disk as well as the end of a partition (LP: #527401).

84. By Colin Watson

* Resynchronise with Debian. Remaining changes:
  - Ubiquity integration: If PARTMAN_NO_COMMIT is set, then exit rather
    than running commit.d and finish.d scripts; add a partman-commit
    script; dump extra information to /var/lib/partman/snoop if
    PARTMAN_SNOOP is set; check for per-menu 'no_show_choices' file in
    ask_user and don't reshow the menu if it exists.
  - Don't skip over dmraid devices if the user chooses not to activate
    them.
  - If the only thing mounted on a disk is the installation medium and it
    uses more or less the whole disk, then silently exclude that disk; if
    the installation medium is mounted but doesn't use the whole disk,
    issue a warning that partitioning may be difficult; if anything else
    is mounted, offer to unmount it. partman/filter_mounted=false disables
    this.
  - Use ext4 as the default filesystem for new partitions.
  - Use linux-swap(v1) instead of linux-swap(new) to reflect changes to
    parted.
  - Build with -O2 on powerpc to avoid a suspected toolchain bug.
  - Build against parted 2.2.
  - Apply optimal alignment constraints to new partitions, or when
    maximising an extended partition. Tell libparted not to use cylinder
    alignment.
  - Add an ALIGNMENT_OFFSET command which can be used to detect whether a
    partition is misaligned.
* Don't warn about data loss on formatted/removed partitions when there
  are no such partitions (LP: #151266).

83. By Colin Watson

* Don't source /usr/share/debconf/confmodule in init.d/parted;
  /lib/partman/lib/base.sh will always source it for us.
* Tell libparted not to use cylinder alignment (LP: #539456).

82. By Colin Watson

* Apply optimal alignment constraints to new partitions, or when
  maximising an extended partition (LP: #530071).
* Add an ALIGNMENT_OFFSET command which can be used to detect whether a
  partition is misaligned.

81. By Colin Watson

Build against parted 2.2.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/natty/partman-base
This branch contains Public information 
Everyone can see this information.

Subscribers