130761f87SSteve Price /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 31de7b4b8SPedro F. Giffuni * 430761f87SSteve Price * Copyright (c) 1997 FreeBSD Inc. 530761f87SSteve Price * All rights reserved. 630761f87SSteve Price * 730761f87SSteve Price * Redistribution and use in source and binary forms, with or without 830761f87SSteve Price * modification, are permitted provided that the following conditions 930761f87SSteve Price * are met: 1030761f87SSteve Price * 1. Redistributions of source code must retain the above copyright 1130761f87SSteve Price * notice, this list of conditions and the following disclaimer. 1230761f87SSteve Price * 2. Redistributions in binary form must reproduce the above copyright 1330761f87SSteve Price * notice, this list of conditions and the following disclaimer in the 1430761f87SSteve Price * documentation and/or other materials provided with the distribution. 1530761f87SSteve Price * 1630761f87SSteve Price * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1730761f87SSteve Price * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1830761f87SSteve Price * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1930761f87SSteve Price * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2030761f87SSteve Price * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2130761f87SSteve Price * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2230761f87SSteve Price * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2330761f87SSteve Price * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2430761f87SSteve Price * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2530761f87SSteve Price * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2630761f87SSteve Price * SUCH DAMAGE. 2730761f87SSteve Price */ 2830761f87SSteve Price 2930761f87SSteve Price /* vfslist.c */ 3085429990SWarner Losh int checkvfsname(const char *, const char **); 3185429990SWarner Losh const char **makevfslist(char *); 3230761f87SSteve Price 336f5f1a6bSCraig Rodrigues int mount_fs(const char *, int, char *[]); 34