summaryrefslogtreecommitdiffstats
path: root/sbin/mount_cd9660
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>1999-04-18 10:58:03 +0000
committerdcs <dcs@FreeBSD.org>1999-04-18 10:58:03 +0000
commit1ff58a39ac4af3d04225faf560ca091084c36a15 (patch)
treecab4e4ad15edd5adf5a3c91c2ec05b9ed8c7be23 /sbin/mount_cd9660
parent9af4b2b5eaaa8eb06f4d72ff0f9e55ab9ef42eb9 (diff)
downloadFreeBSD-src-1ff58a39ac4af3d04225faf560ca091084c36a15.zip
FreeBSD-src-1ff58a39ac4af3d04225faf560ca091084c36a15.tar.gz
Add support for Joliet extensions to the iso9660 fs. The related PR
cannot yet be closed, though. I hope I got all credits right, and that the multiple submitted by lines do not break anyone's scripts... PR: kern/5038, kern/5567 Submitted by: Keith Jang <keith@email.gcn.net.tw> Submitted by: Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de> Submitted by: Byung Yang <byung@wam.umd.edu> Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Diffstat (limited to 'sbin/mount_cd9660')
-rw-r--r--sbin/mount_cd9660/mount_cd9660.82
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c8
2 files changed, 8 insertions, 2 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.8 b/sbin/mount_cd9660/mount_cd9660.8
index 52b91cf..e8f6725 100644
--- a/sbin/mount_cd9660/mount_cd9660.8
+++ b/sbin/mount_cd9660/mount_cd9660.8
@@ -67,6 +67,8 @@ Do not strip version numbers on files.
only the last one will be listed.)
In either case, files may be opened without explicitly stating a
version number.
+.It Fl j
+Do not use any Joliet extensions included in the filesystem.
.It Fl o
Options are specified with a
.Fl o
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c
index a5b0cc0..220bf5a 100644
--- a/sbin/mount_cd9660/mount_cd9660.c
+++ b/sbin/mount_cd9660/mount_cd9660.c
@@ -49,7 +49,7 @@ static char copyright[] =
static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95";
*/
static const char rcsid[] =
- "$Id: mount_cd9660.c,v 1.11 1997/03/29 03:32:35 imp Exp $";
+ "$Id: mount_cd9660.c,v 1.12 1997/04/29 15:56:40 joerg Exp $";
#endif /* not lint */
#include <sys/cdio.h>
@@ -73,6 +73,7 @@ struct mntopt mopts[] = {
{ "extatt", 0, ISOFSMNT_EXTATT, 1 },
{ "gens", 0, ISOFSMNT_GENS, 1 },
{ "rrip", 1, ISOFSMNT_NORRIP, 1 },
+ { "joliet", 1, ISOFSMNT_NOJOLIET, 1 },
{ NULL }
};
@@ -91,7 +92,7 @@ main(int argc, char **argv)
mntflags = opts = verbose = 0;
memset(&args, 0, sizeof args);
args.ssector = -1;
- while ((ch = getopt(argc, argv, "ego:rs:v")) != -1)
+ while ((ch = getopt(argc, argv, "egjo:rs:v")) != -1)
switch (ch) {
case 'e':
opts |= ISOFSMNT_EXTATT;
@@ -99,6 +100,9 @@ main(int argc, char **argv)
case 'g':
opts |= ISOFSMNT_GENS;
break;
+ case 'j':
+ opts |= ISOFSMNT_NOJOLIET;
+ break;
case 'o':
getmntopts(optarg, mopts, &mntflags, &opts);
break;
OpenPOWER on IntegriCloud