summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-03-11 10:06:28 +0000
committerbp <bp@FreeBSD.org>2001-03-11 10:06:28 +0000
commitce5f782bebea56ca154eda25c4143ef873f22749 (patch)
tree43cf35c67737b6b706ea06ebd784efbb10f928a4 /sbin
parentc259a60fbb24af2792958372205c7b1652d0d044 (diff)
downloadFreeBSD-src-ce5f782bebea56ca154eda25c4143ef873f22749.zip
FreeBSD-src-ce5f782bebea56ca154eda25c4143ef873f22749.tar.gz
Update userland interface for broken Joilet disks.
Reviewed by: adrian
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_cd9660/mount_cd9660.88
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c6
2 files changed, 12 insertions, 2 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.8 b/sbin/mount_cd9660/mount_cd9660.8
index 4e2a6f8..ef98b63 100644
--- a/sbin/mount_cd9660/mount_cd9660.8
+++ b/sbin/mount_cd9660/mount_cd9660.8
@@ -44,7 +44,7 @@
.Nd mount an ISO-9660 filesystem
.Sh SYNOPSIS
.Nm
-.Op Fl egjrv
+.Op Fl begjrv
.Op Fl o Ar options
.Op Fl s Ar startsector
.Ar special | node
@@ -61,6 +61,9 @@ at boot time.
.Pp
The options are as follows:
.Bl -tag -width indent
+.It Fl b
+Relax checking for Supplementary Volume Descriptor Flags field
+which is set to a wrong value on some Joliet formatted disks.
.It Fl e
Enable the use of extended attributes.
.It Fl g
@@ -92,6 +95,9 @@ Same as
.It rrip
Same as
.Fl r .
+.It strictjoliet
+Same as
+.Fl b .
.El
.It Fl r
Do not use any Rockridge extensions included in the filesystem.
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