Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_cd9660 From PR-7951 by Joachim Kuebart:



details:   https://anonhg.NetBSD.org/src/rev/7d309fe4a1f6
branches:  trunk
changeset: 474636:7d309fe4a1f6
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Jul 13 11:12:49 1999 +0000

description:
>From PR-7951 by Joachim Kuebart:

Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.

diffstat:

 sbin/mount_cd9660/mount_cd9660.8 |  9 ++++++++-
 sbin/mount_cd9660/mount_cd9660.c |  9 ++++++---
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r 7792e9b7f3af -r 7d309fe4a1f6 sbin/mount_cd9660/mount_cd9660.8
--- a/sbin/mount_cd9660/mount_cd9660.8  Tue Jul 13 11:12:05 1999 +0000
+++ b/sbin/mount_cd9660/mount_cd9660.8  Tue Jul 13 11:12:49 1999 +0000
@@ -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 @@
 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
diff -r 7792e9b7f3af -r 7d309fe4a1f6 sbin/mount_cd9660/mount_cd9660.c
--- a/sbin/mount_cd9660/mount_cd9660.c  Tue Jul 13 11:12:05 1999 +0000
+++ b/sbin/mount_cd9660/mount_cd9660.c  Tue Jul 13 11:12:49 1999 +0000
@@ -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 @@
 #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 @@
        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 @@
                case 'g':
                        opts |= ISOFSMNT_GENS;
                        break;
+               case 'j':
+                       opts |= ISOFSMNT_NOJOLIET;
+                       break;
                case 'o':
                        getmntopts(optarg, mopts, &mntflags, 0);
                        break;



Home | Main Index | Thread Index | Old Index