--- Net2/sys/mount.h 2018/04/24 18:10:37 1.1.1.2 +++ Net2/sys/mount.h 2018/04/24 18:16:46 1.1.1.3 @@ -30,9 +30,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)mount.h 7.22 (Berkeley) 6/3/91 + * from: @(#)mount.h 7.22 (Berkeley) 6/3/91 + * mount.h,v 1.11.2.1 1993/08/05 02:37:35 cgd Exp */ +#ifndef _SYS_MOUNT_H_ +#define _SYS_MOUNT_H_ + typedef quad fsid_t; /* file system id type */ /* @@ -80,7 +84,9 @@ struct statfs { #define MOUNT_ISOFS 5 /* iso9660 cdrom */ #define MOUNT_FDESC 6 /* /dev/fd filesystem */ #define MOUNT_KERNFS 7 /* kernel variable filesystem */ -#define MOUNT_MAXTYPE 7 +#define MOUNT_DEVFS 8 /* device node filesystem */ +#define MOUNT_AFS 9 /* AFS 3.x */ +#define MOUNT_MAXTYPE MOUNT_AFS /* * Structure per mounted file system. @@ -109,6 +115,9 @@ struct mount { #define MNT_NOSUID 0x00000008 /* don't honor setuid bits on fs */ #define MNT_NODEV 0x00000010 /* don't interpret special files */ #define MNT_UNION 0x00000020 /* union with underlying filesysem */ +#ifdef ISOFS +#define ISOFSMNT_NORRIP 0x00000040 /* disable Rock Ridge Ext.*/ +#endif /* * exported mount flags. @@ -264,7 +273,7 @@ struct nfs_args { #define NFSMNT_LOCKBITS (NFSMNT_SCKLOCK | NFSMNT_WANTSCK) #endif /* defined(NFSSERVER || defined(NFSCLIENT) */ -#ifdef PCFS +#ifdef MSDOSFS /* * Arguments to mount MSDOS filesystems. */ @@ -273,7 +282,7 @@ struct pcfs_args { int exflags; /* mount flags */ uid_t exroot; /* mapping for root uid */ }; -#endif /* PCFS */ +#endif /* MSDOSFS */ #ifdef KERNEL /* @@ -301,3 +310,5 @@ int unmount __P((const char *, int)); __END_DECLS #endif /* KERNEL */ + +#endif /* !_SYS_MOUNT_H_ */