ops_nullfs.c revision 302408
1170530Ssam/* 2186904Ssam * Copyright (c) 1997-2006 Erez Zadok 3170530Ssam * Copyright (c) 1990 Jan-Simon Pendry 4170530Ssam * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 5170530Ssam * Copyright (c) 1990 The Regents of the University of California. 6170530Ssam * All rights reserved. 7170530Ssam * 8170530Ssam * This code is derived from software contributed to Berkeley by 9170530Ssam * Jan-Simon Pendry at Imperial College, London. 10170530Ssam * 11170530Ssam * Redistribution and use in source and binary forms, with or without 12170530Ssam * modification, are permitted provided that the following conditions 13170530Ssam * are met: 14170530Ssam * 1. Redistributions of source code must retain the above copyright 15170530Ssam * notice, this list of conditions and the following disclaimer. 16170530Ssam * 2. Redistributions in binary form must reproduce the above copyright 17170530Ssam * notice, this list of conditions and the following disclaimer in the 18170530Ssam * documentation and/or other materials provided with the distribution. 19170530Ssam * 3. All advertising materials mentioning features or use of this software 20170530Ssam * must display the following acknowledgment: 21170530Ssam * This product includes software developed by the University of 22170530Ssam * California, Berkeley and its contributors. 23170530Ssam * 4. Neither the name of the University nor the names of its contributors 24170530Ssam * may be used to endorse or promote products derived from this software 25170530Ssam * without specific prior written permission. 26170530Ssam * 27170530Ssam * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 28170530Ssam * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29170530Ssam * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 30170530Ssam * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 31170530Ssam * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32178354Ssam * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33178354Ssam * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34170530Ssam * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35191746Sthompsa * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36170530Ssam * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37298359Savos * SUCH DAMAGE. 38295126Sglebius * 39170530Ssam * 40191746Sthompsa * File: am-utils/amd/ops_nullfs.c 41170530Ssam * 42170530Ssam */ 43170530Ssam 44257176Sglebius/* 45170530Ssam * The null filesystem in BSD-4.4 is similar to the loopback one. 46170530Ssam */ 47170530Ssam 48170530Ssam#ifdef HAVE_CONFIG_H 49178354Ssam# include <config.h> 50178354Ssam#endif /* HAVE_CONFIG_H */ 51186904Ssam#include <am_defs.h> 52186904Ssam#include <amd.h> 53186904Ssam 54195618Srpaulo/* FEEL FREE TO IMPLEMENT THIS... :-) */ 55195618Srpaulo