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

Bug#301435: Multiple disks in partman



Package: debian-installer
Severity: wishlist

It would be nice to modify partman to be able to handle multiple disks.  One
possible method that (I think) would be backward-compatible with the current
debconf preseed scheme would be to extend some of the definitions in
partman-auto-recipe.txt thusly:

As it reads now:

  <recipe>::=<header>_<partitions>

Could become:

  <recipe>::=<header>_<disks>

  <disks>::=<disk>|<disk>_<disks>

  <disk>::=<partitions>|<device>_<partitions>

It would allow the following:

  d-i partman-auto/disk                  string /dev/hda
  d-i partman-auto/expert_recipe         string \
    root-swap :: \
      500 10000 1000000000 ext3 \
        $primary{ } $bootable{ } \
        method{ format } format{ } \
        use_filesystem{ } filesystem{ ext3 } mountpoint{ / } \
      . \
      64 512 300% linux-swap \
        method{ swap } format{ } \
      .

To be extended into multiple-disk recipes like this:

  d-i partman-auto/expert_recipe         string \
    root-swap :: \
      /dev/hda \
        500 10000 1000000000 ext3 \
          $primary{ } $bootable{ } \
          method{ format } format{ } \
          use_filesystem{ } filesystem{ ext3 } mountpoint{ / } \
        . \
        64 512 300% linux-swap \
          method{ swap } format{ } \
        . \
      /dev/hdb \
        500 10000 1000000000 ext3 \
          $primary{ } $bootable{ } \
          method{ format } format{ } \
          use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } \
        . \

Without breaking support for the former entry.


Michael Peek




Reply to: