Deleted Added
full compact
mount_cd9660.c (2999) mount_cd9660.c (4065)
1/*
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).

--- 49 unchanged lines hidden (view full) ---

58#include <string.h>
59#include <unistd.h>
60
61#include "mntopts.h"
62
63struct mntopt mopts[] = {
64 MOPT_STDOPTS,
65 MOPT_UPDATE,
1/*
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).

--- 49 unchanged lines hidden (view full) ---

58#include <string.h>
59#include <unistd.h>
60
61#include "mntopts.h"
62
63struct mntopt mopts[] = {
64 MOPT_STDOPTS,
65 MOPT_UPDATE,
66 { "extatt", 0, ISOFSMNT_EXTATT, 1 },
67 { "gens", 0, ISOFSMNT_GENS, 1 },
68 { "rrip", 1, ISOFSMNT_NORRIP, 1 },
66 { NULL }
67};
68
69void usage __P((void));
70
71int
72main(argc, argv)
73 int argc;

--- 9 unchanged lines hidden (view full) ---

83 switch (ch) {
84 case 'e':
85 opts |= ISOFSMNT_EXTATT;
86 break;
87 case 'g':
88 opts |= ISOFSMNT_GENS;
89 break;
90 case 'o':
69 { NULL }
70};
71
72void usage __P((void));
73
74int
75main(argc, argv)
76 int argc;

--- 9 unchanged lines hidden (view full) ---

86 switch (ch) {
87 case 'e':
88 opts |= ISOFSMNT_EXTATT;
89 break;
90 case 'g':
91 opts |= ISOFSMNT_GENS;
92 break;
93 case 'o':
91 getmntopts(optarg, mopts, &mntflags);
94 getmntopts(optarg, mopts, &mntflags, &opts);
92 break;
93 case 'r':
94 opts |= ISOFSMNT_NORRIP;
95 break;
96 case '?':
97 default:
98 usage();
99 }

--- 42 unchanged lines hidden ---
95 break;
96 case 'r':
97 opts |= ISOFSMNT_NORRIP;
98 break;
99 case '?':
100 default:
101 usage();
102 }

--- 42 unchanged lines hidden ---