~ubuntu-branches/ubuntu/saucy/partman-auto/saucy

« back to all changes in this revision

Viewing changes to automatically_partition/reuse/choices

  • Committer: Bazaar Package Importer
  • Author(s): Evan Dandrea
  • Date: 2011-02-24 15:29:10 UTC
  • Revision ID: james.westby@ubuntu.com-20110224152910-6kxp879k3txssqo4
Tags: 93ubuntu6
Don't explode on unpartitioned space in the reuse option (LP:
#722198).

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        cd $dev
44
44
        open_dialog PARTITIONS
45
45
        while { read_line num id size type fs path name; [ "$id" ]; }; do
 
46
                [ "$fs" != free ] || continue
46
47
                part=$dev//$id
47
48
                blockdev --setro $path
48
49
                cleanup_ro_partitions="$cleanup_ro_partitions $path"