diff options
| author | Boris Popov <bp@FreeBSD.org> | 2001-03-11 10:05:08 +0000 |
|---|---|---|
| committer | Boris Popov <bp@FreeBSD.org> | 2001-03-11 10:05:08 +0000 |
| commit | c35e8e54cdb009e5630ca3cd4f80d51c85097f44 (patch) | |
| tree | d494b17d86a9d876ba908d34e9f1d7e9e7a3bf47 /sys/isofs | |
| parent | 6fb77fef4de0531f219af5baeddc57689fe1334d (diff) | |
Notes
Diffstat (limited to 'sys/isofs')
| -rw-r--r-- | sys/isofs/cd9660/cd9660_mount.h | 1 | ||||
| -rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_mount.h b/sys/isofs/cd9660/cd9660_mount.h index 5263912d52915..8cc6a8655fa4b 100644 --- a/sys/isofs/cd9660/cd9660_mount.h +++ b/sys/isofs/cd9660/cd9660_mount.h @@ -52,3 +52,4 @@ struct iso_args { #define ISOFSMNT_GENS 0x00000002 /* enable generation numbers */ #define ISOFSMNT_EXTATT 0x00000004 /* enable extended attributes */ #define ISOFSMNT_NOJOLIET 0x00000008 /* disable Joliet Ext.*/ +#define ISOFSMNT_BROKENJOLIET 0x00000010/* allow broken Joliet disks */ diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 606f9d3794130..e73fb7efdc59e 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -355,7 +355,8 @@ iso_mountfs(devvp, mp, p, argp) if (bcmp(sup->escape, "%/E", 3) == 0) joliet_level = 3; - if (isonum_711 (sup->flags) & 1) + if ((isonum_711 (sup->flags) & 1) && + (argp->flags & ISOFSMNT_BROKENJOLIET) == 0) joliet_level = 0; } } |
