md.c revision 1.1
11.1Sdholland/*	$NetBSD: md.c,v 1.1 2014/07/26 19:56:30 dholland Exp $	*/
21.1Sdholland
31.1Sdholland/*
41.1Sdholland * Copyright 1997 Piermont Information Systems Inc.
51.1Sdholland * All rights reserved.
61.1Sdholland *
71.1Sdholland * Based on code written by Philip A. Nelson for Piermont Information
81.1Sdholland * Systems Inc.
91.1Sdholland *
101.1Sdholland * Redistribution and use in source and binary forms, with or without
111.1Sdholland * modification, are permitted provided that the following conditions
121.1Sdholland * are met:
131.1Sdholland * 1. Redistributions of source code must retain the above copyright
141.1Sdholland *    notice, this list of conditions and the following disclaimer.
151.1Sdholland * 2. Redistributions in binary form must reproduce the above copyright
161.1Sdholland *    notice, this list of conditions and the following disclaimer in the
171.1Sdholland *    documentation and/or other materials provided with the distribution.
181.1Sdholland * 3. The name of Piermont Information Systems Inc. may not be used to endorse
191.1Sdholland *    or promote products derived from this software without specific prior
201.1Sdholland *    written permission.
211.1Sdholland *
221.1Sdholland * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
231.1Sdholland * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241.1Sdholland * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251.1Sdholland * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
261.1Sdholland * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
271.1Sdholland * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
281.1Sdholland * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
291.1Sdholland * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
301.1Sdholland * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
311.1Sdholland * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
321.1Sdholland * THE POSSIBILITY OF SUCH DAMAGE.
331.1Sdholland */
341.1Sdholland
351.1Sdholland#include <err.h>
361.1Sdholland
371.1Sdholland#include "defs.h"
381.1Sdholland#include "md.h"
391.1Sdholland
401.1Sdhollandvoid
411.1Sdhollandmd_init(void)
421.1Sdholland{
431.1Sdholland	errx(1, "sysinst has not been properly ported to this platform");
441.1Sdholland}
451.1Sdholland
461.1Sdhollandvoid
471.1Sdhollandmd_init_set_status(int flags)
481.1Sdholland{
491.1Sdholland	(void)flags;
501.1Sdholland}
511.1Sdholland
521.1Sdhollandint
531.1Sdhollandmd_get_info(void)
541.1Sdholland{
551.1Sdholland	return 1;
561.1Sdholland}
571.1Sdholland
581.1Sdhollandint
591.1Sdhollandmd_make_bsd_partitions(void)
601.1Sdholland{
611.1Sdholland	return make_bsd_partitions();
621.1Sdholland}
631.1Sdholland
641.1Sdhollandint
651.1Sdhollandmd_check_partitions(void)
661.1Sdholland{
671.1Sdholland	return 1;
681.1Sdholland}
691.1Sdholland
701.1Sdhollandint
711.1Sdhollandmd_pre_disklabel(void)
721.1Sdholland{
731.1Sdholland	return 0;
741.1Sdholland}
751.1Sdholland
761.1Sdhollandint
771.1Sdhollandmd_post_disklabel(void)
781.1Sdholland{
791.1Sdholland	return 0;
801.1Sdholland}
811.1Sdholland
821.1Sdhollandint
831.1Sdhollandmd_post_newfs(void)
841.1Sdholland{
851.1Sdholland	return 0;
861.1Sdholland}
871.1Sdholland
881.1Sdhollandint
891.1Sdhollandmd_post_extract(void)
901.1Sdholland{
911.1Sdholland	return 0;
921.1Sdholland}
931.1Sdholland
941.1Sdhollandvoid
951.1Sdhollandmd_cleanup_install(void)
961.1Sdholland{
971.1Sdholland}
981.1Sdholland
991.1Sdhollandint
1001.1Sdhollandmd_pre_update(void)
1011.1Sdholland{
1021.1Sdholland	return 1;
1031.1Sdholland}
1041.1Sdholland
1051.1Sdhollandint
1061.1Sdhollandmd_update(void)
1071.1Sdholland{
1081.1Sdholland	return 1;
1091.1Sdholland}
1101.1Sdholland
1111.1Sdhollandint
1121.1Sdhollandmd_pre_mount(void)
1131.1Sdholland{
1141.1Sdholland	return 0;
1151.1Sdholland}
116