jmp_buf listingbuf;
enum {
xfmt_unknown,
xfmt_AHDI,
xfmt_ICD
} xpart_fmt; /* which format used for >4 part.s */
/***************************** Prototypes *****************************/
char *name;
};
#define MAX_PRIMARY_AHDI 4
#define MAX_PRIMARY_ICD 12
#define MAX_PRIMARY (xpart_fmt == xfmt_ICD ? \
#include "disk.h"
#include "util.h"
extern enum {
void set_bootable( void )
{
#include "partable.h"
/* sector inside partition? */
int inside_part( PARTITION *p, unsigned long sec )
#include "input.h"
#include "readpart.h"
/* tell the kernel to reread the partition tables */
int reread_ioctl( int fd )