3
* Copyright (c) International Business Machines Corp., 2000
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
13
* the GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
#ifndef EMBEDDED_HEADER
24
#define EMBEDDED_HEADER 1
26
DISKSEG * alloc_diskseg_object( LOGICALDISK *ld );
28
DISKSEG * build_segment_for_embedded_partition( LOGICALDISK *ld,
33
u_int32_t ptable_index,
37
DISKSEG * get_matching_segment( dlist_t seglist, lba_t start, sector_count_t size );
39
int remove_embedded_partitions_from_disk( LOGICALDISK *ld, dlist_t recovery_list );
41
int read_embedded_geometry( LOGICALDISK *ld, geometry_t *geometry );