From 1ff58a39ac4af3d04225faf560ca091084c36a15 Mon Sep 17 00:00:00 2001 From: dcs Date: Sun, 18 Apr 1999 10:58:03 +0000 Subject: 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 Submitted by: Joachim Kuebart Submitted by: Byung Yang Submitted by: Motomichi Matsuzaki --- sbin/mount_cd9660/mount_cd9660.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sbin/mount_cd9660/mount_cd9660.c') 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 @@ -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; -- cgit v1.1