Fri Jan 2 16:00:02 2009 UTC ()
add missing options from the cd9660 filesystem.


(christos)
diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/ChangeLog
diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/configure.in
diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/amd/ops_cdfs.c
diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/doc/am-utils.texi
diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/include/am_compat.h

cvs diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/ChangeLog (expand / switch to unified diff)

--- src/external/bsd/am-utils/dist/ChangeLog 2008/09/19 20:07:14 1.1.1.1
+++ src/external/bsd/am-utils/dist/ChangeLog 2009/01/02 16:00:02 1.2
@@ -1,13 +1,17 @@ @@ -1,13 +1,17 @@
 12009-01-02 Christos Zoulas <christos@zoulas.com>
 2
 3 * add nocasetrans, nojoliet, rrcaseins for cd9660 filesystems
 4
12008-09-17 Christos Zoulas <christos@zoulas.com> 52008-09-17 Christos Zoulas <christos@zoulas.com>
2 6
3 * fix manual page section issues (sorting, non-existant) 7 * fix manual page section issues (sorting, non-existant)
4 8
5 * add missing forward declarations 9 * add missing forward declarations
6 10
7 * avoid null pointer derefs (coverity) 11 * avoid null pointer derefs (coverity)
8 12
9 * more portable endian detection support 13 * more portable endian detection support
10 14
11 * implement tmpfs support 15 * implement tmpfs support
12 16
13 * use sizeof var instead of constant 17 * use sizeof var instead of constant

cvs diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/Attic/configure.in (expand / switch to unified diff)

--- src/external/bsd/am-utils/dist/Attic/configure.in 2008/09/19 20:07:14 1.1.1.1
+++ src/external/bsd/am-utils/dist/Attic/configure.in 2009/01/02 16:00:02 1.2
@@ -45,27 +45,27 @@ AH_BOTTOM([ @@ -45,27 +45,27 @@ AH_BOTTOM([
45#endif /* not _CONFIG_H */ 45#endif /* not _CONFIG_H */
46 46
47/* 47/*
48 * Local Variables: 48 * Local Variables:
49 * mode: c 49 * mode: c
50 * End: 50 * End:
51 */ 51 */
52 52
53/* End of am-utils-6.x config.h file */ 53/* End of am-utils-6.x config.h file */
54]) 54])
55dnl 55dnl
56dnl AC_CONFIG_AUX_DIR(m4) 56dnl AC_CONFIG_AUX_DIR(m4)
57AC_PREREQ(2.52) 57AC_PREREQ(2.52)
58AC_REVISION($Revision: 1.1.1.1 $) 58AC_REVISION($Revision: 1.2 $)
59AC_COPYRIGHT([Copyright (c) 1997-2007 Erez Zadok]) 59AC_COPYRIGHT([Copyright (c) 1997-2007 Erez Zadok])
60dnl find out system type 60dnl find out system type
61AC_MSG_NOTICE(*** SYSTEM TYPES ***) 61AC_MSG_NOTICE(*** SYSTEM TYPES ***)
62dnl run by libtool, but must be kept here because HOST_MACROS depends on it 62dnl run by libtool, but must be kept here because HOST_MACROS depends on it
63AC_CANONICAL_HOST 63AC_CANONICAL_HOST
64AMU_HOST_MACROS 64AMU_HOST_MACROS
65dnl ====================================================================== 65dnl ======================================================================
66 66
67dnl ###################################################################### 67dnl ######################################################################
68dnl PACKAGE NAME AND VERSION 68dnl PACKAGE NAME AND VERSION
69AC_MSG_NOTICE(*** PACKAGE NAME AND VERSION ***) 69AC_MSG_NOTICE(*** PACKAGE NAME AND VERSION ***)
70AMU_PACKAGE_NAME($PACKAGE_NAME) 70AMU_PACKAGE_NAME($PACKAGE_NAME)
71AMU_PACKAGE_VERSION($PACKAGE_VERSION) 71AMU_PACKAGE_VERSION($PACKAGE_VERSION)
@@ -1253,29 +1253,32 @@ AMU_CHECK_MNT2_NFS_OPTS( \ @@ -1253,29 +1253,32 @@ AMU_CHECK_MNT2_NFS_OPTS( \
1253 wsize \ 1253 wsize \
1254 xlatecookie \ 1254 xlatecookie \
1255 ) 1255 )
1256dnl ====================================================================== 1256dnl ======================================================================
1257 1257
1258dnl ###################################################################### 1258dnl ######################################################################
1259dnl CDFS-specific mount(2) options (hex numbers) like M_* 1259dnl CDFS-specific mount(2) options (hex numbers) like M_*
1260AC_MSG_NOTICE(*** CDFS-SPECIFIC MOUNT(2) OPTIONS ***) 1260AC_MSG_NOTICE(*** CDFS-SPECIFIC MOUNT(2) OPTIONS ***)
1261dnl if found, defines MNT2_CDFS_OPT_* 1261dnl if found, defines MNT2_CDFS_OPT_*
1262AMU_CHECK_MNT2_CDFS_OPTS(\ 1262AMU_CHECK_MNT2_CDFS_OPTS(\
1263 defperm \ 1263 defperm \
1264 extatt \ 1264 extatt \
1265 gens \ 1265 gens \
 1266 nocasetrans \
1266 nodefperm \ 1267 nodefperm \
 1268 nojoliet \
1267 norrip \ 1269 norrip \
1268 noversion \ 1270 noversion \
 1271 rrcaseins \
1269 rrip \ 1272 rrip \
1270 ) 1273 )
1271dnl ====================================================================== 1274dnl ======================================================================
1272 1275
1273dnl ###################################################################### 1276dnl ######################################################################
1274dnl PCFS-specific mount(2) options (hex numbers) like M_* 1277dnl PCFS-specific mount(2) options (hex numbers) like M_*
1275AC_MSG_NOTICE(*** PCFS-SPECIFIC MOUNT(2) OPTIONS ***) 1278AC_MSG_NOTICE(*** PCFS-SPECIFIC MOUNT(2) OPTIONS ***)
1276dnl if found, defines MNT2_PCFS_OPT_* 1279dnl if found, defines MNT2_PCFS_OPT_*
1277AMU_CHECK_MNT2_PCFS_OPTS(\ 1280AMU_CHECK_MNT2_PCFS_OPTS(\
1278 longname \ 1281 longname \
1279 nowin95 \ 1282 nowin95 \
1280 shortname \ 1283 shortname \
1281 ) 1284 )

cvs diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/amd/ops_cdfs.c (expand / switch to unified diff)

--- src/external/bsd/am-utils/dist/amd/ops_cdfs.c 2008/09/19 20:07:16 1.1.1.1
+++ src/external/bsd/am-utils/dist/amd/ops_cdfs.c 2009/01/02 16:00:02 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: ops_cdfs.c,v 1.1.1.1 2008/09/19 20:07:16 christos Exp $ */ 1/* $NetBSD: ops_cdfs.c,v 1.2 2009/01/02 16:00:02 christos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997-2007 Erez Zadok 4 * Copyright (c) 1997-2007 Erez Zadok
5 * Copyright (c) 1990 Jan-Simon Pendry 5 * Copyright (c) 1990 Jan-Simon Pendry
6 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 6 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
7 * Copyright (c) 1990 The Regents of the University of California. 7 * Copyright (c) 1990 The Regents of the University of California.
8 * All rights reserved. 8 * All rights reserved.
9 * 9 *
10 * This code is derived from software contributed to Berkeley by 10 * This code is derived from software contributed to Berkeley by
11 * Jan-Simon Pendry at Imperial College, London. 11 * Jan-Simon Pendry at Imperial College, London.
12 * 12 *
13 * Redistribution and use in source and binary forms, with or without 13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions 14 * modification, are permitted provided that the following conditions
@@ -140,40 +140,57 @@ mount_cdfs(char *mntdir, char *fs_name,  @@ -140,40 +140,57 @@ mount_cdfs(char *mntdir, char *fs_name,
140 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NODEFPERM)) 140 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NODEFPERM))
141 cdfs_flags |= MNT2_CDFS_OPT_NODEFPERM; 141 cdfs_flags |= MNT2_CDFS_OPT_NODEFPERM;
142#endif /* MNTTAB_OPT_NODEFPERM */ 142#endif /* MNTTAB_OPT_NODEFPERM */
143 143
144#if defined(MNT2_CDFS_OPT_NOVERSION) && defined(MNTTAB_OPT_NOVERSION) 144#if defined(MNT2_CDFS_OPT_NOVERSION) && defined(MNTTAB_OPT_NOVERSION)
145 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NOVERSION)) 145 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NOVERSION))
146 cdfs_flags |= MNT2_CDFS_OPT_NOVERSION; 146 cdfs_flags |= MNT2_CDFS_OPT_NOVERSION;
147#endif /* defined(MNT2_CDFS_OPT_NOVERSION) && defined(MNTTAB_OPT_NOVERSION) */ 147#endif /* defined(MNT2_CDFS_OPT_NOVERSION) && defined(MNTTAB_OPT_NOVERSION) */
148 148
149#if defined(MNT2_CDFS_OPT_RRIP) && defined(MNTTAB_OPT_RRIP) 149#if defined(MNT2_CDFS_OPT_RRIP) && defined(MNTTAB_OPT_RRIP)
150 if (amu_hasmntopt(&mnt, MNTTAB_OPT_RRIP)) 150 if (amu_hasmntopt(&mnt, MNTTAB_OPT_RRIP))
151 cdfs_flags |= MNT2_CDFS_OPT_RRIP; 151 cdfs_flags |= MNT2_CDFS_OPT_RRIP;
152#endif /* defined(MNT2_CDFS_OPT_RRIP) && defined(MNTTAB_OPT_RRIP) */ 152#endif /* defined(MNT2_CDFS_OPT_RRIP) && defined(MNTTAB_OPT_RRIP) */
 153
153#if defined(MNT2_CDFS_OPT_NORRIP) && defined(MNTTAB_OPT_NORRIP) 154#if defined(MNT2_CDFS_OPT_NORRIP) && defined(MNTTAB_OPT_NORRIP)
154 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NORRIP)) 155 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NORRIP))
155 cdfs_flags |= MNT2_CDFS_OPT_NORRIP; 156 cdfs_flags |= MNT2_CDFS_OPT_NORRIP;
156#endif /* defined(MNT2_CDFS_OPT_NORRIP) && defined(MNTTAB_OPT_NORRIP) */ 157#endif /* defined(MNT2_CDFS_OPT_NORRIP) && defined(MNTTAB_OPT_NORRIP) */
157 158
158#if defined(MNT2_CDFS_OPT_GENS) && defined(MNTTAB_OPT_GENS) 159#if defined(MNT2_CDFS_OPT_GENS) && defined(MNTTAB_OPT_GENS)
159 if (amu_hasmntopt(&mnt, MNTTAB_OPT_GENS)) 160 if (amu_hasmntopt(&mnt, MNTTAB_OPT_GENS))
160 cdfs_flags |= MNT2_CDFS_OPT_GENS; 161 cdfs_flags |= MNT2_CDFS_OPT_GENS;
161#endif /* defined(MNT2_CDFS_OPT_GENS) && defined(MNTTAB_OPT_GENS) */ 162#endif /* defined(MNT2_CDFS_OPT_GENS) && defined(MNTTAB_OPT_GENS) */
 163
162#if defined(MNT2_CDFS_OPT_EXTATT) && defined(MNTTAB_OPT_EXTATT) 164#if defined(MNT2_CDFS_OPT_EXTATT) && defined(MNTTAB_OPT_EXTATT)
163 if (amu_hasmntopt(&mnt, MNTTAB_OPT_EXTATT)) 165 if (amu_hasmntopt(&mnt, MNTTAB_OPT_EXTATT))
164 cdfs_flags |= MNT2_CDFS_OPT_EXTATT; 166 cdfs_flags |= MNT2_CDFS_OPT_EXTATT;
165#endif /* defined(MNT2_CDFS_OPT_EXTATT) && defined(MNTTAB_OPT_EXTATT) */ 167#endif /* defined(MNT2_CDFS_OPT_EXTATT) && defined(MNTTAB_OPT_EXTATT) */
166 168
 169#if defined(MNT2_CDFS_OPT_NOCASETRANS) && defined(MNTTAB_OPT_NOCASETRANS)
 170 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NOCASETRANS))
 171 cdfs_flags |= MNT2_CDFS_OPT_NOCASETRANS;
 172#endif /* defined(MNT2_CDFS_OPT_NOCASETRANS) && defined(MNTTAB_OPT_NOCASETRANS) */
 173
 174#if defined(MNT2_CDFS_OPT_NOJOLIET) && defined(MNTTAB_OPT_NOJOLIET)
 175 if (amu_hasmntopt(&mnt, MNTTAB_OPT_NOJOLIET))
 176 cdfs_flags |= MNT2_CDFS_OPT_NOJOLIET;
 177#endif /* defined(MNT2_CDFS_OPT_NOJOLIET) && defined(MNTTAB_OPT_NOJOLIET) */
 178
 179#if defined(MNT2_CDFS_OPT_RRCASEINS) && defined(MNTTAB_OPT_RRCASEINS)
 180 if (amu_hasmntopt(&mnt, MNTTAB_OPT_RRCASEINS))
 181 cdfs_flags |= MNT2_CDFS_OPT_RRCASEINS;
 182#endif /* defined(MNT2_CDFS_OPT_RRCASEINS) && defined(MNTTAB_OPT_RRCASEINS) */
 183
167 genflags = compute_mount_flags(&mnt); 184 genflags = compute_mount_flags(&mnt);
168#ifdef HAVE_FS_AUTOFS 185#ifdef HAVE_FS_AUTOFS
169 if (on_autofs) 186 if (on_autofs)
170 genflags |= autofs_compute_mount_flags(&mnt); 187 genflags |= autofs_compute_mount_flags(&mnt);
171#endif /* HAVE_FS_AUTOFS */ 188#endif /* HAVE_FS_AUTOFS */
172 189
173#ifdef HAVE_CDFS_ARGS_T_FLAGS 190#ifdef HAVE_CDFS_ARGS_T_FLAGS
174 cdfs_args.flags = cdfs_flags; 191 cdfs_args.flags = cdfs_flags;
175#endif /* HAVE_CDFS_ARGS_T_FLAGS */ 192#endif /* HAVE_CDFS_ARGS_T_FLAGS */
176 193
177#ifdef HAVE_CDFS_ARGS_T_ISO_FLAGS 194#ifdef HAVE_CDFS_ARGS_T_ISO_FLAGS
178 cdfs_args.iso_flags = genflags | cdfs_flags; 195 cdfs_args.iso_flags = genflags | cdfs_flags;
179#endif /* HAVE_CDFS_ARGS_T_ISO_FLAGS */ 196#endif /* HAVE_CDFS_ARGS_T_ISO_FLAGS */

cvs diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/doc/am-utils.texi (expand / switch to unified diff)

--- src/external/bsd/am-utils/dist/doc/am-utils.texi 2008/09/19 20:07:20 1.1.1.1
+++ src/external/bsd/am-utils/dist/doc/am-utils.texi 2009/01/02 16:00:02 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@c $NetBSD: am-utils.texi,v 1.1.1.1 2008/09/19 20:07:20 christos Exp $ 2@c $NetBSD: am-utils.texi,v 1.2 2009/01/02 16:00:02 christos Exp $
3@c 3@c
4@c Copyright (c) 1997-2007 Erez Zadok 4@c Copyright (c) 1997-2007 Erez Zadok
5@c Copyright (c) 1989 Jan-Simon Pendry 5@c Copyright (c) 1989 Jan-Simon Pendry
6@c Copyright (c) 1989 Imperial College of Science, Technology & Medicine 6@c Copyright (c) 1989 Imperial College of Science, Technology & Medicine
7@c Copyright (c) 1989 The Regents of the University of California. 7@c Copyright (c) 1989 The Regents of the University of California.
8@c All rights reserved. 8@c All rights reserved.
9@c 9@c
10@c This code is derived from software contributed to Berkeley by 10@c This code is derived from software contributed to Berkeley by
11@c Jan-Simon Pendry at Imperial College, London. 11@c Jan-Simon Pendry at Imperial College, London.
12@c 12@c
13@c Redistribution and use in source and binary forms, with or without 13@c Redistribution and use in source and binary forms, with or without
14@c modification, are permitted provided that the following conditions 14@c modification, are permitted provided that the following conditions
15@c are met: 15@c are met:
@@ -2191,26 +2191,31 @@ Use NFS Version 3 for this mount. @@ -2191,26 +2191,31 @@ Use NFS Version 3 for this mount.
2191Turn off the attribute cache. 2191Turn off the attribute cache.
2192 2192
2193@item noauto 2193@item noauto
2194@cindex Mount flags; noauto 2194@cindex Mount flags; noauto
2195This option is used by the mount command in @samp{/etc/fstab} or 2195This option is used by the mount command in @samp{/etc/fstab} or
2196@samp{/etc/vfstab} and means not to mount this file system when mount -a 2196@samp{/etc/vfstab} and means not to mount this file system when mount -a
2197is used. 2197is used.
2198 2198
2199@item nocache 2199@item nocache
2200@cindex Mount flags; nocache 2200@cindex Mount flags; nocache
2201Do not allow data to be cached from a remote server for this 2201Do not allow data to be cached from a remote server for this
2202mount. 2202mount.
2203 2203
 2204@item nocasetrans
 2205@cindex Mount flags; nocasetrans
 2206Don't do case translation. Useful for CD-ROMS formatted as
 2207ISO-9660.
 2208
2204@item noconn 2209@item noconn
2205@cindex Mount flags; noconn 2210@cindex Mount flags; noconn
2206Don't make a connection on datagram transports. 2211Don't make a connection on datagram transports.
2207 2212
2208@item nocto 2213@item nocto
2209@cindex Mount flags; nocto 2214@cindex Mount flags; nocto
2210No close-to-open consistency. 2215No close-to-open consistency.
2211 2216
2212@item nodefperm 2217@item nodefperm
2213@cindex Mount flags; nodefperm 2218@cindex Mount flags; nodefperm
2214Do not ignore the permission mode bits. Useful for CD-ROMS formatted as 2219Do not ignore the permission mode bits. Useful for CD-ROMS formatted as
2215ISO-9660. 2220ISO-9660.
2216 2221
@@ -2218,26 +2223,30 @@ ISO-9660. @@ -2218,26 +2223,30 @@ ISO-9660.
2218@cindex Mount flags; nodev 2223@cindex Mount flags; nodev
2219@itemx nodevs 2224@itemx nodevs
2220@cindex Mount flags; nodevs 2225@cindex Mount flags; nodevs
2221Don't allow local special devices on this filesystem. 2226Don't allow local special devices on this filesystem.
2222 2227
2223@item noexec 2228@item noexec
2224@cindex Mount flags; noexec 2229@cindex Mount flags; noexec
2225Don't allow program execution. 2230Don't allow program execution.
2226 2231
2227@item noint 2232@item noint
2228@cindex Mount flags; noint 2233@cindex Mount flags; noint
2229Do not allow keyboard interrupts for this mount 2234Do not allow keyboard interrupts for this mount
2230 2235
 2236@item nojoliet
 2237@cindex Mount flags; nojoliet
 2238Turn off the Joliet extensions. Useful for CD-ROMS formatted as ISO-9660.
 2239
2231@item nolock 2240@item nolock
2232@cindex Mount flags; nolock 2241@cindex Mount flags; nolock
2233Do not use the NFS locking protocol 2242Do not use the NFS locking protocol
2234 2243
2235@item nomnttab 2244@item nomnttab
2236@cindex Mount flags; nomnttab 2245@cindex Mount flags; nomnttab
2237This option is used internally to tell Amd that a Solaris 8 system using 2246This option is used internally to tell Amd that a Solaris 8 system using
2238mntfs is in use. 2247mntfs is in use.
2239 2248
2240@item norrip 2249@item norrip
2241@cindex Mount flags; norrip 2250@cindex Mount flags; norrip
2242Turn off using of the Rock Ridge Interchange Protocol (RRIP) extensions 2251Turn off using of the Rock Ridge Interchange Protocol (RRIP) extensions
2243to ISO-9660. 2252to ISO-9660.
@@ -2312,26 +2321,31 @@ that requires reserved ports. It is rec @@ -2312,26 +2321,31 @@ that requires reserved ports. It is rec
2312be on. 2321be on.
2313 2322
2314@item retrans=@i{n} 2323@item retrans=@i{n}
2315@cindex Mount flags; retrans 2324@cindex Mount flags; retrans
2316The number of NFS retransmits made before a user error is generated by a 2325The number of NFS retransmits made before a user error is generated by a
2317@samp{soft} mounted filesystem, and before a @samp{hard} mounted 2326@samp{soft} mounted filesystem, and before a @samp{hard} mounted
2318filesystem reports @samp{NFS server @dfn{yoyo} not responding still 2327filesystem reports @samp{NFS server @dfn{yoyo} not responding still
2319trying}. 2328trying}.
2320 2329
2321@item retry 2330@item retry
2322@cindex Mount flags; retry 2331@cindex Mount flags; retry
2323Set the NFS retry counter. 2332Set the NFS retry counter.
2324 2333
 2334@item rrcaseins
 2335@cindex Mount flags; rrcaseins
 2336Enable the Rock Ridge Interchange Protocol (RRIP) case insensitive extensions.
 2337Useful for CD-ROMS formatted as ISO-9660.
 2338
2325@item rrip 2339@item rrip
2326@cindex Mount flags; rrip 2340@cindex Mount flags; rrip
2327Uses the Rock Ridge Interchange Protocol (RRIP) extensions to ISO-9660. 2341Uses the Rock Ridge Interchange Protocol (RRIP) extensions to ISO-9660.
2328 2342
2329@item rsize=@var{n} 2343@item rsize=@var{n}
2330@cindex Mount flags; rsize 2344@cindex Mount flags; rsize
2331The NFS read packet size. You may need to set this if you are using 2345The NFS read packet size. You may need to set this if you are using
2332NFS/UDP through a gateway or a slow link. 2346NFS/UDP through a gateway or a slow link.
2333 2347
2334@item rw 2348@item rw
2335@cindex Mount flags; rw 2349@cindex Mount flags; rw
2336Allow reads and writes on this filesystem. 2350Allow reads and writes on this filesystem.
2337 2351

cvs diff -r1.1.1.1 -r1.2 src/external/bsd/am-utils/dist/include/am_compat.h (expand / switch to unified diff)

--- src/external/bsd/am-utils/dist/include/am_compat.h 2008/09/19 20:07:21 1.1.1.1
+++ src/external/bsd/am-utils/dist/include/am_compat.h 2009/01/02 16:00:02 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: am_compat.h,v 1.1.1.1 2008/09/19 20:07:21 christos Exp $ */ 1/* $NetBSD: am_compat.h,v 1.2 2009/01/02 16:00:02 christos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997-2007 Erez Zadok 4 * Copyright (c) 1997-2007 Erez Zadok
5 * Copyright (c) 1990 Jan-Simon Pendry 5 * Copyright (c) 1990 Jan-Simon Pendry
6 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 6 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
7 * Copyright (c) 1990 The Regents of the University of California. 7 * Copyright (c) 1990 The Regents of the University of California.
8 * All rights reserved. 8 * All rights reserved.
9 * 9 *
10 * This code is derived from software contributed to Berkeley by 10 * This code is derived from software contributed to Berkeley by
11 * Jan-Simon Pendry at Imperial College, London. 11 * Jan-Simon Pendry at Imperial College, London.
12 * 12 *
13 * Redistribution and use in source and binary forms, with or without 13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions 14 * modification, are permitted provided that the following conditions
@@ -168,30 +168,44 @@ @@ -168,30 +168,44 @@
168# define MNTTAB_OPT_NOVERSION "noversion" 168# define MNTTAB_OPT_NOVERSION "noversion"
169#endif /* defined(MNT2_CDFS_OPT_NOVERSION) && !defined(MNTTAB_OPT_NOVERSION) */ 169#endif /* defined(MNT2_CDFS_OPT_NOVERSION) && !defined(MNTTAB_OPT_NOVERSION) */
170 170
171#if defined(MNT2_CDFS_OPT_RRIP) && !defined(MNTTAB_OPT_RRIP) 171#if defined(MNT2_CDFS_OPT_RRIP) && !defined(MNTTAB_OPT_RRIP)
172# define MNTTAB_OPT_RRIP "rrip" 172# define MNTTAB_OPT_RRIP "rrip"
173#endif /* defined(MNT2_CDFS_OPT_RRIP) && !defined(MNTTAB_OPT_RRIP) */ 173#endif /* defined(MNT2_CDFS_OPT_RRIP) && !defined(MNTTAB_OPT_RRIP) */
174#if defined(MNT2_CDFS_OPT_NORRIP) && !defined(MNTTAB_OPT_NORRIP) 174#if defined(MNT2_CDFS_OPT_NORRIP) && !defined(MNTTAB_OPT_NORRIP)
175# define MNTTAB_OPT_NORRIP "norrip" 175# define MNTTAB_OPT_NORRIP "norrip"
176#endif /* defined(MNT2_CDFS_OPT_NORRIP) && !defined(MNTTAB_OPT_NORRIP) */ 176#endif /* defined(MNT2_CDFS_OPT_NORRIP) && !defined(MNTTAB_OPT_NORRIP) */
177 177
178#if defined(MNT2_CDFS_OPT_GENS) && !defined(MNTTAB_OPT_GENS) 178#if defined(MNT2_CDFS_OPT_GENS) && !defined(MNTTAB_OPT_GENS)
179# define MNTTAB_OPT_GENS "gens" 179# define MNTTAB_OPT_GENS "gens"
180#endif /* defined(MNT2_CDFS_OPT_GENS) && !defined(MNTTAB_OPT_GENS) */ 180#endif /* defined(MNT2_CDFS_OPT_GENS) && !defined(MNTTAB_OPT_GENS) */
 181
181#if defined(MNT2_CDFS_OPT_EXTATT) && !defined(MNTTAB_OPT_EXTATT) 182#if defined(MNT2_CDFS_OPT_EXTATT) && !defined(MNTTAB_OPT_EXTATT)
182# define MNTTAB_OPT_EXTATT "extatt" 183# define MNTTAB_OPT_EXTATT "extatt"
183#endif /* defined(MNT2_CDFS_OPT_EXTATT) && !defined(MNTTAB_OPT_EXTATT) */ 184#endif /* defined(MNT2_CDFS_OPT_EXTATT) && !defined(MNTTAB_OPT_EXTATT) */
184 185
 186#if defined(MNT2_CDFS_OPT_NOJOLIET) && !defined(MNTTAB_OPT_NOJOLIET)
 187# define MNTTAB_OPT_NOJOLIET "nojoliet"
 188#endif /* defined(MNT2_CDFS_OPT_NOJOLIET) && !defined(MNTTAB_OPT_NOJOLIET) */
 189
 190#if defined(MNT2_CDFS_OPT_NOCASETRANS) && !defined(MNTTAB_OPT_NOCASETRANS)
 191# define MNTTAB_OPT_NOCASETRANS "nocasetrans"
 192#endif /* defined(MNT2_CDFS_OPT_NOCASETRANS) && !defined(MNTTAB_OPT_NOCASETRANS) */
 193
 194#if defined(MNT2_CDFS_OPT_RRCASEINS) && !defined(MNTTAB_OPT_RRCASEINS)
 195# define MNTTAB_OPT_RRCASEINS "rrcaseins"
 196#endif /* defined(MNT2_CDFS_OPT_RRCASEINS) && !defined(MNTTAB_OPT_RRCASEINS) */
 197
 198
185/* 199/*
186 * Complete MNTTAB_OPT_* options based on MNT2_PCFS_OPT_* mount options. 200 * Complete MNTTAB_OPT_* options based on MNT2_PCFS_OPT_* mount options.
187 */ 201 */
188#if defined(MNT2_PCFS_OPT_LONGNAME) && !defined(MNTTAB_OPT_LONGNAME) 202#if defined(MNT2_PCFS_OPT_LONGNAME) && !defined(MNTTAB_OPT_LONGNAME)
189# define MNTTAB_OPT_LONGNAME "longnames" 203# define MNTTAB_OPT_LONGNAME "longnames"
190#endif /* defined(MNT2_PCFS_OPT_LONGNAME) && !defined(MNTTAB_OPT_LONGNAME) */ 204#endif /* defined(MNT2_PCFS_OPT_LONGNAME) && !defined(MNTTAB_OPT_LONGNAME) */
191#if defined(MNT2_PCFS_OPT_NOWIN95) && !defined(MNTTAB_OPT_NOWIN95) 205#if defined(MNT2_PCFS_OPT_NOWIN95) && !defined(MNTTAB_OPT_NOWIN95)
192# define MNTTAB_OPT_NOWIN95 "nowin95" 206# define MNTTAB_OPT_NOWIN95 "nowin95"
193#endif /* defined(MNT2_PCFS_OPT_NOWIN95) && !defined(MNTTAB_OPT_NOWIN95) */ 207#endif /* defined(MNT2_PCFS_OPT_NOWIN95) && !defined(MNTTAB_OPT_NOWIN95) */
194#if defined(MNT2_PCFS_OPT_SHORTNAME) && !defined(MNTTAB_OPT_SHORTNAME) 208#if defined(MNT2_PCFS_OPT_SHORTNAME) && !defined(MNTTAB_OPT_SHORTNAME)
195# define MNTTAB_OPT_SHORTNAME "shortnames" 209# define MNTTAB_OPT_SHORTNAME "shortnames"
196#endif /* defined(MNT2_PCFS_OPT_SHORTNAME) && !defined(MNTTAB_OPT_SHORTNAME) */ 210#endif /* defined(MNT2_PCFS_OPT_SHORTNAME) && !defined(MNTTAB_OPT_SHORTNAME) */
197 211