From PR-7951 by Joachim Kuebart:

Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.
This commit is contained in:
scw 1999-07-13 11:12:49 +00:00
parent 801242dfdc
commit 138dd70b28
2 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mount_cd9660.8,v 1.7 1999/03/07 11:02:07 mycroft Exp $ .\" $NetBSD: mount_cd9660.8,v 1.8 1999/07/13 11:12:49 scw Exp $
.\" .\"
.\" Copyright (c) 1993, 1994 .\" Copyright (c) 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -75,6 +75,13 @@ stating a version number (albeit it's quite difficult to know it, if
you are not using the you are not using the
.Fl g .Fl g
option), in which case you get the specified version. option), in which case you get the specified version.
.It Fl j
Do not make use of Joliet extensions for long filenames which
may be present in the filesystem.
.Pp
Interpretation of Joliet extensions is enabled by default, but
currently does not support Unicode characters present in some
Joliet filesystems.
.It Fl o .It Fl o
Options are specified with a Options are specified with a
.Fl o .Fl o

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_cd9660.c,v 1.8 1999/06/25 19:28:35 perseant Exp $ */ /* $NetBSD: mount_cd9660.c,v 1.9 1999/07/13 11:12:49 scw Exp $ */
/* /*
* Copyright (c) 1992, 1993, 1994 * Copyright (c) 1992, 1993, 1994
@ -50,7 +50,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
#if 0 #if 0
static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95"; static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95";
#else #else
__RCSID("$NetBSD: mount_cd9660.c,v 1.8 1999/06/25 19:28:35 perseant Exp $"); __RCSID("$NetBSD: mount_cd9660.c,v 1.9 1999/07/13 11:12:49 scw Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -86,7 +86,7 @@ main(argc, argv)
char *dev, *dir; char *dev, *dir;
mntflags = opts = 0; mntflags = opts = 0;
while ((ch = getopt(argc, argv, "ego:r")) != -1) while ((ch = getopt(argc, argv, "egjo:r")) != -1)
switch (ch) { switch (ch) {
case 'e': case 'e':
opts |= ISOFSMNT_EXTATT; opts |= ISOFSMNT_EXTATT;
@ -94,6 +94,9 @@ main(argc, argv)
case 'g': case 'g':
opts |= ISOFSMNT_GENS; opts |= ISOFSMNT_GENS;
break; break;
case 'j':
opts |= ISOFSMNT_NOJOLIET;
break;
case 'o': case 'o':
getmntopts(optarg, mopts, &mntflags, 0); getmntopts(optarg, mopts, &mntflags, 0);
break; break;