layout changes

This commit is contained in:
dsl 2003-05-30 13:13:30 +00:00
parent f3c9a91eee
commit 4948e51933

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.7 2003/05/29 17:51:26 dsl Exp $ */
/* $NetBSD: md.c,v 1.8 2003/05/30 13:13:30 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -128,8 +128,10 @@ filecore_checksum(bootblock)
return (sum - ((sum - 1) / 255) * 255);
}
int md_get_info (void)
{ struct disklabel disklabel;
int
md_get_info(void)
{
struct disklabel disklabel;
int fd;
char devname[100];
static char bb[DEV_BSIZE];
@ -269,17 +271,20 @@ int md_get_info (void)
return 1;
}
int md_pre_disklabel (void)
int
md_pre_disklabel(void)
{
return 0;
}
int md_post_disklabel (void)
int
md_post_disklabel(void)
{
return 0;
}
int md_post_newfs (void)
int
md_post_newfs(void)
{
#if 0
/* XXX boot blocks ... */
@ -290,12 +295,14 @@ int md_post_newfs (void)
return 0;
}
int md_copy_filesystem (void)
int
md_copy_filesystem(void)
{
return 0;
}
int md_make_bsd_partitions (void)
int
md_make_bsd_partitions(void)
{
int i, part;
int remain;