Deleted Added
full compact
msdosfs_vfsops.c (33765) msdosfs_vfsops.c (33768)
1/* $Id: msdosfs_vfsops.c,v 1.26 1998/02/23 09:59:08 ache Exp $ */
1/* $Id: msdosfs_vfsops.c,v 1.27 1998/02/23 14:57:50 kato Exp $ */
2/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *

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

99{
100 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
101 int error;
102
103 pmp->pm_gid = argp->gid;
104 pmp->pm_uid = argp->uid;
105 pmp->pm_mask = argp->mask & ALLPERMS;
106 pmp->pm_flags |= argp->flags & MSDOSFSMNT_MNTOPT;
2/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *

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

99{
100 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
101 int error;
102
103 pmp->pm_gid = argp->gid;
104 pmp->pm_uid = argp->uid;
105 pmp->pm_mask = argp->mask & ALLPERMS;
106 pmp->pm_flags |= argp->flags & MSDOSFSMNT_MNTOPT;
107 if (pmp->pm_flags & MSDOSFSMNT_U2WTABLE)
107 if (pmp->pm_flags & MSDOSFSMNT_U2WTABLE) {
108 bcopy(argp->u2w, pmp->pm_u2w, sizeof(pmp->pm_u2w));
108 bcopy(argp->u2w, pmp->pm_u2w, sizeof(pmp->pm_u2w));
109 if (pmp->pm_flags & MSDOSFSMNT_ULTABLE)
109 bcopy(argp->d2u, pmp->pm_d2u, sizeof(pmp->pm_d2u));
110 bcopy(argp->u2d, pmp->pm_u2d, sizeof(pmp->pm_u2d));
111 }
112 if (pmp->pm_flags & MSDOSFSMNT_ULTABLE) {
110 bcopy(argp->ul, pmp->pm_ul, sizeof(pmp->pm_ul));
113 bcopy(argp->ul, pmp->pm_ul, sizeof(pmp->pm_ul));
114 bcopy(argp->lu, pmp->pm_lu, sizeof(pmp->pm_lu));
115 }
111
112#ifndef __FreeBSD__
113 /*
114 * GEMDOS knows nothing (yet) about win95
115 */
116 if (pmp->pm_flags & MSDOSFSMNT_GEMDOSFS)
117 pmp->pm_flags |= MSDOSFSMNT_NOWIN95;
118#endif

--- 927 unchanged lines hidden ---
116
117#ifndef __FreeBSD__
118 /*
119 * GEMDOS knows nothing (yet) about win95
120 */
121 if (pmp->pm_flags & MSDOSFSMNT_GEMDOSFS)
122 pmp->pm_flags |= MSDOSFSMNT_NOWIN95;
123#endif

--- 927 unchanged lines hidden ---