cd9660_mount.h revision 1.1.4.5       1  1.1.4.5  christos /*	$NetBSD: cd9660_mount.h,v 1.1.4.5 2005/12/11 10:29:10 christos 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.4.1     skrll  * 3. Neither the name of the University nor the names of its contributors
     20      1.1  jdolecek  *    may be used to endorse or promote products derived from this software
     21      1.1  jdolecek  *    without specific prior written permission.
     22      1.1  jdolecek  *
     23      1.1  jdolecek  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     24      1.1  jdolecek  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     25      1.1  jdolecek  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     26      1.1  jdolecek  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     27      1.1  jdolecek  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     28      1.1  jdolecek  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     29      1.1  jdolecek  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     30      1.1  jdolecek  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     31      1.1  jdolecek  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     32      1.1  jdolecek  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     33      1.1  jdolecek  * SUCH DAMAGE.
     34      1.1  jdolecek  *
     35      1.1  jdolecek  *	@(#)cd9660_mount.h	8.1 (Berkeley) 5/24/95
     36      1.1  jdolecek  */
     37      1.1  jdolecek 
     38  1.1.4.5  christos #ifndef _ISOFS_CD9660_CD9660_MOUNT_H_
     39  1.1.4.5  christos #define _ISOFS_CD9660_CD9660_MOUNT_H_
     40  1.1.4.5  christos 
     41      1.1  jdolecek /*
     42      1.1  jdolecek  * Arguments to mount ISO 9660 filesystems.
     43      1.1  jdolecek  */
     44      1.1  jdolecek struct iso_args {
     45      1.1  jdolecek 	const char	*fspec;		/* block special device to mount */
     46  1.1.4.4     skrll 	struct	export_args30 _pad1; /* compat with old userland tools */
     47      1.1  jdolecek 	int	flags;			/* mounting flags, see below */
     48      1.1  jdolecek };
     49      1.1  jdolecek #define	ISOFSMNT_NORRIP		0x00000001 /* disable Rock Ridge Ext.*/
     50      1.1  jdolecek #define	ISOFSMNT_GENS		0x00000002 /* enable generation numbers */
     51      1.1  jdolecek #define	ISOFSMNT_EXTATT		0x00000004 /* enable extended attributes */
     52      1.1  jdolecek #define	ISOFSMNT_NOJOLIET	0x00000008 /* disable Joliet extensions */
     53      1.1  jdolecek #define	ISOFSMNT_NOCASETRANS	0x00000010 /* do not make names lower case */
     54      1.1  jdolecek #define	ISOFSMNT_RRCASEINS	0x00000020 /* case insensitive Rock Ridge */
     55      1.1  jdolecek 
     56      1.1  jdolecek #define ISOFSMNT_BITS "\177\20" \
     57      1.1  jdolecek     "b\00norrip\0b\01gens\0b\02extatt\0b\03nojoliet\0" \
     58  1.1.4.1     skrll     "b\04nocasetrans\0b\05rrcaseins\0"
     59  1.1.4.5  christos #endif /* _ISOFS_CD9660_CD9660_MOUNT_H_ */
     60