1178765Sgonzo/*- 2178765Sgonzo * Copyright (c) 2006 Olivier Houchard 3178765Sgonzo * All rights reserved. 4178765Sgonzo * 5178765Sgonzo * Redistribution and use in source and binary forms, with or without 6178765Sgonzo * modification, are permitted provided that the following conditions 7178765Sgonzo * are met: 8178765Sgonzo * 1. Redistributions of source code must retain the above copyright 9178765Sgonzo * notice, this list of conditions and the following disclaimer. 10178765Sgonzo * 2. Redistributions in binary form must reproduce the above copyright 11178765Sgonzo * notice, this list of conditions and the following disclaimer in the 12178765Sgonzo * documentation and/or other materials provided with the distribution. 13178765Sgonzo * 14178765Sgonzo * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15178765Sgonzo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16178765Sgonzo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17178765Sgonzo * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18178765Sgonzo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19178765Sgonzo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20178765Sgonzo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21178765Sgonzo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22178765Sgonzo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23178765Sgonzo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24178765Sgonzo * SUCH DAMAGE. 25178765Sgonzo */ 26178765Sgonzo 27178765Sgonzo#include <sys/cdefs.h> 28178765Sgonzo__FBSDID("$FreeBSD$"); 29178765Sgonzo 30178765Sgonzo#include <stdio.h> 31178765Sgonzo#include <stdlib.h> 32178765Sgonzo#include <unistd.h> 33178765Sgonzo#include <fcntl.h> 34178765Sgonzo#include <string.h> 35178765Sgonzo#include <err.h> 36178765Sgonzo#include <sys/types.h> 37178765Sgonzo#include <sys/stat.h> 38178765Sgonzo#include <sys/ioctl.h> 39178765Sgonzo#include <sys/disklabel.h> 40178765Sgonzo#include <paths.h> 41178765Sgonzo#include "libdisk.h" 42178765Sgonzo 43178765Sgonzoint 44178765SgonzoWrite_Disk(const struct disk *d1) 45178765Sgonzo{ 46178765Sgonzo 47178765Sgonzo return (0); 48178765Sgonzo} 49