mount_unionfs.c (2999) | mount_unionfs.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 donated to Berkeley by 6 * Jan-Simon Pendry. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 70 unchanged lines hidden (view full) --- 79 args.mntflags = UNMNT_ABOVE; 80 while ((ch = getopt(argc, argv, "bo:r")) != EOF) 81 switch (ch) { 82 case 'b': 83 args.mntflags &= ~UNMNT_OPMASK; 84 args.mntflags |= UNMNT_BELOW; 85 break; 86 case 'o': | 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 donated to Berkeley by 6 * Jan-Simon Pendry. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 70 unchanged lines hidden (view full) --- 79 args.mntflags = UNMNT_ABOVE; 80 while ((ch = getopt(argc, argv, "bo:r")) != EOF) 81 switch (ch) { 82 case 'b': 83 args.mntflags &= ~UNMNT_OPMASK; 84 args.mntflags |= UNMNT_BELOW; 85 break; 86 case 'o': |
87 getmntopts(optarg, mopts, &mntflags); | 87 getmntopts(optarg, mopts, &mntflags, 0); |
88 break; 89 case 'r': 90 args.mntflags &= ~UNMNT_OPMASK; 91 args.mntflags |= UNMNT_REPLACE; 92 break; 93 case '?': 94 default: 95 usage(); --- 54 unchanged lines hidden --- | 88 break; 89 case 'r': 90 args.mntflags &= ~UNMNT_OPMASK; 91 args.mntflags |= UNMNT_REPLACE; 92 break; 93 case '?': 94 default: 95 usage(); --- 54 unchanged lines hidden --- |