cd9660_mount.h revision 1.1 1 1.1 jdolecek /* $NetBSD: cd9660_mount.h,v 1.1 2002/12/23 17:52:08 jdolecek Exp $ */
2 1.1 jdolecek /*
3 1.1 jdolecek * Copyright (c) 1995
4 1.1 jdolecek * The Regents of the University of California. All rights reserved.
5 1.1 jdolecek *
6 1.1 jdolecek * This code is derived from software contributed to Berkeley
7 1.1 jdolecek * by Pace Willisson (pace (at) blitz.com). The Rock Ridge Extension
8 1.1 jdolecek * Support code is derived from software contributed to Berkeley
9 1.1 jdolecek * by Atsushi Murai (amurai (at) spec.co.jp).
10 1.1 jdolecek *
11 1.1 jdolecek * Redistribution and use in source and binary forms, with or without
12 1.1 jdolecek * modification, are permitted provided that the following conditions
13 1.1 jdolecek * are met:
14 1.1 jdolecek * 1. Redistributions of source code must retain the above copyright
15 1.1 jdolecek * notice, this list of conditions and the following disclaimer.
16 1.1 jdolecek * 2. Redistributions in binary form must reproduce the above copyright
17 1.1 jdolecek * notice, this list of conditions and the following disclaimer in the
18 1.1 jdolecek * documentation and/or other materials provided with the distribution.
19 1.1 jdolecek * 3. All advertising materials mentioning features or use of this software
20 1.1 jdolecek * must display the following acknowledgement:
21 1.1 jdolecek * This product includes software developed by the University of
22 1.1 jdolecek * California, Berkeley and its contributors.
23 1.1 jdolecek * 4. Neither the name of the University nor the names of its contributors
24 1.1 jdolecek * may be used to endorse or promote products derived from this software
25 1.1 jdolecek * without specific prior written permission.
26 1.1 jdolecek *
27 1.1 jdolecek * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28 1.1 jdolecek * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 1.1 jdolecek * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 1.1 jdolecek * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31 1.1 jdolecek * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 1.1 jdolecek * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 1.1 jdolecek * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 1.1 jdolecek * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 1.1 jdolecek * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 1.1 jdolecek * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 1.1 jdolecek * SUCH DAMAGE.
38 1.1 jdolecek *
39 1.1 jdolecek * @(#)cd9660_mount.h 8.1 (Berkeley) 5/24/95
40 1.1 jdolecek */
41 1.1 jdolecek
42 1.1 jdolecek /*
43 1.1 jdolecek * Arguments to mount ISO 9660 filesystems.
44 1.1 jdolecek */
45 1.1 jdolecek struct iso_args {
46 1.1 jdolecek const char *fspec; /* block special device to mount */
47 1.1 jdolecek struct export_args export; /* network export info */
48 1.1 jdolecek int flags; /* mounting flags, see below */
49 1.1 jdolecek };
50 1.1 jdolecek #define ISOFSMNT_NORRIP 0x00000001 /* disable Rock Ridge Ext.*/
51 1.1 jdolecek #define ISOFSMNT_GENS 0x00000002 /* enable generation numbers */
52 1.1 jdolecek #define ISOFSMNT_EXTATT 0x00000004 /* enable extended attributes */
53 1.1 jdolecek #define ISOFSMNT_NOJOLIET 0x00000008 /* disable Joliet extensions */
54 1.1 jdolecek #define ISOFSMNT_NOCASETRANS 0x00000010 /* do not make names lower case */
55 1.1 jdolecek #define ISOFSMNT_RRCASEINS 0x00000020 /* case insensitive Rock Ridge */
56 1.1 jdolecek
57 1.1 jdolecek #define ISOFSMNT_BITS "\177\20" \
58 1.1 jdolecek "b\00norrip\0b\01gens\0b\02extatt\0b\03nojoliet\0" \
59 1.1 jdolecek "b\04nocasetrans\0b\05rrcaseins"
60