~ubuntu-branches/ubuntu/karmic/mdadm/karmic

« back to all changes in this revision

Viewing changes to ReadMe.c

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2008-06-03 14:59:18 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20080603145918-sf648wmpi5d3ites
Tags: 2.6.4-2ubuntu1
* Merge from debian unstable, remaining changes:
 * md activation:
  - We now have a single udev rule for both the real system and the
    initramfs, since doing things differently there will only result in bugs
    and confusion.
  - This rule runs "mdadm --assemble --scan --no-degraded", automatically
    activating any non-degraded device as their components are detected.
  - Drop the mdadm-raid init script, since this does the same thing.
  - Also drop mdadm-startall which uses the mdadm-raid init script, and its
    associated sgml file (thus dropping the build-dep on docbook-to-man)
  - Simplify the configuration, since we always autostart all devices so do
    not need to specify any required root devices, etc.
  - Drop the deprecated mdrun entirely.
  - Since udev autostarts arrays, much of the initramfs script can be
    dropped.
 * Install a new udev rule at 65 which runs vol_id on clean raid arrays.
   This will cause lvm, etc. to be run (since there is vol_id information
   present for the enclosed filesystem).
 * Depend on initramfs-tools, specifically a version that doesn't ship
   the mdrun script. and a version that supports the mountfail functionality,
   see below. This way we can clean out a lot of the upgrade handling
   from the initramfs hook.
 * Just get initramfs to load the modules for us
 * Create init-premount hook script for the initramfs, to provide
   information at boot, if the root device is not functional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include "mdadm.h"
26
26
 
27
 
char Version[] = Name " - v2.6.3 - 20th August 2007\n";
 
27
char Version[] = Name " - v2.6.4 - 19th October 2007\n";
28
28
 
29
29
/*
30
30
 * File: ReadMe.c
592
592
};
593
593
 
594
594
mapping_t pers[] = {
595
 
        { "linear", -1},
 
595
        { "linear", LEVEL_LINEAR},
596
596
        { "raid0", 0},
597
597
        { "0", 0},
598
598
        { "stripe", 0},
603
603
        { "4", 4},
604
604
        { "raid5", 5},
605
605
        { "5", 5},
606
 
        { "multipath", -4},
607
 
        { "mp", -4},
 
606
        { "multipath", LEVEL_MULTIPATH},
 
607
        { "mp", LEVEL_MULTIPATH},
608
608
        { "raid6", 6},
609
609
        { "6", 6},
610
610
        { "raid10", 10},
611
611
        { "10", 10},
612
 
        { "faulty", -5},
 
612
        { "faulty", LEVEL_FAULTY},
613
613
        { NULL, 0}
614
614
};
615
615