From PR-7951 by Joachim Kuebart:
Add support for Microsoft Joliet long filename extensions to the cd9660 filesystem.
This commit is contained in:
parent
801242dfdc
commit
138dd70b28
|
@ -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
|
||||
.\" 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
|
||||
.Fl g
|
||||
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
|
||||
Options are specified with a
|
||||
.Fl o
|
||||
|
|
|
@ -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
|
||||
|
@ -50,7 +50,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95";
|
||||
#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 /* not lint */
|
||||
|
||||
|
@ -86,7 +86,7 @@ main(argc, argv)
|
|||
char *dev, *dir;
|
||||
|
||||
mntflags = opts = 0;
|
||||
while ((ch = getopt(argc, argv, "ego:r")) != -1)
|
||||
while ((ch = getopt(argc, argv, "egjo:r")) != -1)
|
||||
switch (ch) {
|
||||
case 'e':
|
||||
opts |= ISOFSMNT_EXTATT;
|
||||
|
@ -94,6 +94,9 @@ main(argc, argv)
|
|||
case 'g':
|
||||
opts |= ISOFSMNT_GENS;
|
||||
break;
|
||||
case 'j':
|
||||
opts |= ISOFSMNT_NOJOLIET;
|
||||
break;
|
||||
case 'o':
|
||||
getmntopts(optarg, mopts, &mntflags, 0);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue