Deleted Added
full compact
mount_msdosfs.c (77577) mount_msdosfs.c (92882)
1/* $NetBSD: mount_msdos.c,v 1.18 1997/09/16 12:24:18 lukem Exp $ */
2
3/*
4 * Copyright (c) 1994 Christopher G. Demetriou
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
1/* $NetBSD: mount_msdos.c,v 1.18 1997/09/16 12:24:18 lukem Exp $ */
2
3/*
4 * Copyright (c) 1994 Christopher G. Demetriou
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
35 "$FreeBSD: head/sbin/mount_msdosfs/mount_msdosfs.c 77577 2001-06-01 10:57:26Z ru $";
35 "$FreeBSD: head/sbin/mount_msdosfs/mount_msdosfs.c 92882 2002-03-21 13:14:21Z imp $";
36#endif /* not lint */
37
38#include <sys/param.h>
39#include <sys/mount.h>
40#include <sys/stat.h>
41
42#include <fs/msdosfs/msdosfsmount.h>
43

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

69 { "gemdosfs", 0, MSDOSFSMNT_GEMDOSFS, 1 },
70#endif
71 { "shortnames", 0, MSDOSFSMNT_SHORTNAME, 1 },
72 { "longnames", 0, MSDOSFSMNT_LONGNAME, 1 },
73 { "nowin95", 0, MSDOSFSMNT_NOWIN95, 1 },
74 { NULL }
75};
76
36#endif /* not lint */
37
38#include <sys/param.h>
39#include <sys/mount.h>
40#include <sys/stat.h>
41
42#include <fs/msdosfs/msdosfsmount.h>
43

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

69 { "gemdosfs", 0, MSDOSFSMNT_GEMDOSFS, 1 },
70#endif
71 { "shortnames", 0, MSDOSFSMNT_SHORTNAME, 1 },
72 { "longnames", 0, MSDOSFSMNT_LONGNAME, 1 },
73 { "nowin95", 0, MSDOSFSMNT_NOWIN95, 1 },
74 { NULL }
75};
76
77static gid_t a_gid __P((char *));
78static uid_t a_uid __P((char *));
79static mode_t a_mask __P((char *));
80static void usage __P((void)) __dead2;
81static void load_u2wtable __P((struct msdosfs_args *, char *));
82static void load_ultable __P((struct msdosfs_args *, char *));
77static gid_t a_gid(char *);
78static uid_t a_uid(char *);
79static mode_t a_mask(char *);
80static void usage(void) __dead2;
81static void load_u2wtable(struct msdosfs_args *, char *);
82static void load_ultable(struct msdosfs_args *, char *);
83
84int
85main(argc, argv)
86 int argc;
87 char **argv;
88{
89 struct msdosfs_args args;
90 struct stat sb;

--- 249 unchanged lines hidden ---
83
84int
85main(argc, argv)
86 int argc;
87 char **argv;
88{
89 struct msdosfs_args args;
90 struct stat sb;

--- 249 unchanged lines hidden ---