diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-07-01 02:20:23 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-07-01 02:20:23 +0000 |
commit | 4a0933d3bc42e7aedf2c0ba12283a8db5f7801e5 (patch) | |
tree | b484402501920197cd128a5365c2405ed0f3603d /sbin/mount_cd9660/mount_cd9660.c | |
parent | 9cf4982800ba13916203ff0ff831a35b22c28522 (diff) |
Add support for Joliet extensions. From FreeBSD
Diffstat (limited to 'sbin/mount_cd9660/mount_cd9660.c')
-rw-r--r-- | sbin/mount_cd9660/mount_cd9660.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c index 0a339e277e2..c62733d1461 100644 --- a/sbin/mount_cd9660/mount_cd9660.c +++ b/sbin/mount_cd9660/mount_cd9660.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_cd9660.c,v 1.9 1998/01/30 17:31:52 weingart Exp $ */ +/* $OpenBSD: mount_cd9660.c,v 1.10 1999/07/01 02:20:22 d Exp $ */ /* $NetBSD: mount_cd9660.c,v 1.3 1996/04/13 01:31:08 jtc Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount_cd9660.c 8.4 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: mount_cd9660.c,v 1.9 1998/01/30 17:31:52 weingart Exp $"; +static char rcsid[] = "$OpenBSD: mount_cd9660.c,v 1.10 1999/07/01 02:20:22 d Exp $"; #endif #endif /* not lint */ @@ -84,7 +84,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; @@ -92,6 +92,9 @@ main(argc, argv) case 'g': opts |= ISOFSMNT_GENS; break; + case 'j': + opts |= ISOFSMNT_NOJOLIET; + break; case 'o': getmntopts(optarg, mopts, &mntflags); break; @@ -137,6 +140,6 @@ void usage() { (void)fprintf(stderr, - "usage: mount_cd9660 [-egrt] [-o options] special node\n"); + "usage: mount_cd9660 [-egjrt] [-o options] special node\n"); exit(1); } |