1139790Simp/*- 214553Speter * Copyright (c) 1995 314553Speter * The Regents of the University of California. All rights reserved. 414553Speter * 514553Speter * This code is derived from software contributed to Berkeley 614553Speter * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 714553Speter * Support code is derived from software contributed to Berkeley 814553Speter * by Atsushi Murai (amurai@spec.co.jp). 914553Speter * 1014553Speter * Redistribution and use in source and binary forms, with or without 1114553Speter * modification, are permitted provided that the following conditions 1214553Speter * are met: 1314553Speter * 1. Redistributions of source code must retain the above copyright 1414553Speter * notice, this list of conditions and the following disclaimer. 1514553Speter * 2. Redistributions in binary form must reproduce the above copyright 1614553Speter * notice, this list of conditions and the following disclaimer in the 1714553Speter * documentation and/or other materials provided with the distribution. 1814553Speter * 4. Neither the name of the University nor the names of its contributors 1914553Speter * may be used to endorse or promote products derived from this software 2014553Speter * without specific prior written permission. 2114553Speter * 2214553Speter * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2314553Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2414553Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2514553Speter * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2614553Speter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2714553Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2814553Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2914553Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3014553Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3114553Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3214553Speter * SUCH DAMAGE. 3314553Speter * 3414553Speter * @(#)cd9660_mount.h 8.1 (Berkeley) 5/24/95 3559874Speter * $FreeBSD$ 3614553Speter */ 3714553Speter 3814553Speter/* 3914553Speter * Arguments to mount ISO 9660 filesystems. 4014553Speter */ 4114553Speterstruct iso_args { 4214553Speter char *fspec; /* block special device to mount */ 43213664Skib struct oexport_args export; /* network export info */ 4414553Speter int flags; /* mounting flags, see below */ 4525285Sjoerg int ssector; /* starting sector, 0 for 1st session */ 46120492Sfjoe char *cs_disk; /* disk charset for Joliet cs conversion */ 47120492Sfjoe char *cs_local; /* local charset for Joliet cs conversion */ 4814553Speter}; 4914553Speter#define ISOFSMNT_NORRIP 0x00000001 /* disable Rock Ridge Ext.*/ 5014553Speter#define ISOFSMNT_GENS 0x00000002 /* enable generation numbers */ 5114553Speter#define ISOFSMNT_EXTATT 0x00000004 /* enable extended attributes */ 5245773Sdcs#define ISOFSMNT_NOJOLIET 0x00000008 /* disable Joliet Ext.*/ 5374096Sbp#define ISOFSMNT_BROKENJOLIET 0x00000010/* allow broken Joliet disks */ 54120492Sfjoe#define ISOFSMNT_KICONV 0x00000020 /* Use libiconv to convert chars */ 55