1154814Scognet/*-
2154814Scognet * Copyright (c) 2006 Olivier Houchard
3154814Scognet * All rights reserved.
4154814Scognet *
5154814Scognet * Redistribution and use in source and binary forms, with or without
6154814Scognet * modification, are permitted provided that the following conditions
7154814Scognet * are met:
8154814Scognet * 1. Redistributions of source code must retain the above copyright
9154814Scognet *    notice, this list of conditions and the following disclaimer.
10154814Scognet * 2. Redistributions in binary form must reproduce the above copyright
11154814Scognet *    notice, this list of conditions and the following disclaimer in the
12154814Scognet *    documentation and/or other materials provided with the distribution.
13154814Scognet *
14154814Scognet * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15154814Scognet * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16154814Scognet * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17154814Scognet * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18154814Scognet * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19154814Scognet * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20154814Scognet * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21154814Scognet * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22154814Scognet * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23154814Scognet * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24154814Scognet * SUCH DAMAGE.
25154814Scognet */
26154814Scognet
27154814Scognet#include <sys/cdefs.h>
28154814Scognet__FBSDID("$FreeBSD$");
29154814Scognet
30154814Scognet#include <stdio.h>
31154814Scognet#include <stdlib.h>
32154814Scognet#include <unistd.h>
33154814Scognet#include <fcntl.h>
34154814Scognet#include <string.h>
35154814Scognet#include <err.h>
36154814Scognet#include <sys/types.h>
37154814Scognet#include <sys/stat.h>
38154814Scognet#include <sys/ioctl.h>
39154814Scognet#include <sys/disklabel.h>
40154814Scognet#include <paths.h>
41154814Scognet#include "libdisk.h"
42154814Scognet
43154814Scognetint
44154814ScognetWrite_Disk(const struct disk *d1)
45154814Scognet{
46154814Scognet	return (0);
47154814Scognet}
48