Update userland interface for broken Joilet disks.
Reviewed by: adrian
This commit is contained in:
parent
c35e8e54cd
commit
8c602ed981
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user