summaryrefslogtreecommitdiffstats
path: root/sbin/mount_cd9660/mount_cd9660.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_cd9660/mount_cd9660.c')
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c
index 9face82..3ea3d39 100644
--- a/sbin/mount_cd9660/mount_cd9660.c
+++ b/sbin/mount_cd9660/mount_cd9660.c
@@ -75,6 +75,7 @@ struct mntopt mopts[] = {
{ "gens", 0, ISOFSMNT_GENS, 1 },
{ "rrip", 1, ISOFSMNT_NORRIP, 1 },
{ "joliet", 1, ISOFSMNT_NOJOLIET, 1 },
+ { "strictjoliet", 1, ISOFSMNT_BROKENJOLIET, 1 },
{ NULL }
};
@@ -93,8 +94,11 @@ main(int argc, char **argv)
mntflags = opts = verbose = 0;
memset(&args, 0, sizeof args);
args.ssector = -1;
- while ((ch = getopt(argc, argv, "egjo:rs:v")) != -1)
+ while ((ch = getopt(argc, argv, "begjo:rs:v")) != -1)
switch (ch) {
+ case 'b':
+ opts |= ISOFSMNT_BROKENJOLIET;
+ break;
case 'e':
opts |= ISOFSMNT_EXTATT;
break;
OpenPOWER on IntegriCloud