/* raid.h - On disk structures for RAID. */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2006,2007,2008,2010 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GRUB_RAID_H
#define GRUB_RAID_LAYOUT_LEFT_ASYMMETRIC 0
struct grub_raid_member
{
/* Start of each device, in 512 byte sectors. */
};
struct grub_raid_array
{
are consistent with the device name in
Linux. */
int became_readable_at;
sectors. */
/* The following field is setup by the caller. */
unsigned int allocated_devs;
#ifdef GRUB_UTIL
#endif
};
struct grub_raid
{
const char *name;
};
int size);
int size);
#endif /* ! GRUB_RAID_H */