raid.h revision 2
1N/A * GRUB -- GRand Unified Bootloader 1N/A * Copyright (C) 2006,2007,2008,2010 Free Software Foundation, Inc. 1N/A * GRUB is free software: you can redistribute it and/or modify 1N/A * it under the terms of the GNU General Public License as published by 1N/A * the Free Software Foundation, either version 3 of the License, or 1N/A * (at your option) any later version. 1N/A * GRUB is distributed in the hope that it will be useful, 1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A * GNU General Public License for more details. 1N/A * You should have received a copy of the GNU General Public License 1N/A /* Start of each device, in 512 byte sectors. */ 1N/A int number;
/* The device number, taken from md_minor so we 1N/A are consistent with the device name in 1N/A int level;
/* RAID levels, only 0, 1 or 5 at the moment. */ 1N/A unsigned int total_devs;
/* Total number of devices in the array. */ 1N/A unsigned int index;
/* Index of current device. */ 1N/A char *
uuid;
/* The UUID of the device. */ 1N/A /* The following field is setup by the caller. */ 1N/A char *
name;
/* That will be "md<number>". */ 1N/A unsigned int nr_devs;
/* The number of devices we've found so far. */ 1N/A#
endif /* ! GRUB_RAID_H */