xref: /dragonfly/share/man/man5/msdos.5 (revision a563ca70)
1.\" $FreeBSD: src/share/man/man5/msdosfs.5,v 1.6 2007/08/22 18:04:08 gabor Exp $
2.\" $DragonFly: src/share/man/man5/msdos.5,v 1.5 2007/10/11 10:22:46 swildner Exp $
3.\" Written by Tom Rhodes
4.\" This file is in the public domain.
5.\"
6.Dd October 11, 2007
7.Dt MSDOS 5
8.Os
9.Sh NAME
10.Nm msdos
11.Nd MS-DOS file system
12.Sh SYNOPSIS
13.Bd -literal
14/dev/ad0sN		/dos	msdos	rw	0	0
15.Ed
16.Pp
17To link into the kernel:
18.Cd "options MSDOSFS"
19.Pp
20To load as a kernel loadable module:
21.Dl kldload msdos
22.Sh DESCRIPTION
23The
24.Nm
25driver will permit the
26.Dx
27kernel to read and write
28.Tn MS-DOS
29based file systems.
30.Pp
31The most common usage follows:
32.Pp
33.Dl "mount_msdos /dev/ad0sN /mnt"
34.Pp
35where
36.Ar N
37is the partition number and
38.Pa /mnt
39is a mount point.
40Some users tend to create a
41.Pa /dos
42directory for
43.Nm
44mount points.
45This helps to keep better track of the file system,
46and make it more easily accessible.
47.Pp
48It is possible to define an entry in
49.Pa /etc/fstab
50that looks similar to:
51.Bd -literal
52/dev/ad0sN		/dos	msdos	rw	0	0
53.Ed
54.Pp
55This will mount an
56.Tn MS-DOS
57based partition at the
58.Pa /dos
59mount point during system boot.
60Using
61.Pa /mnt
62as a permanent mount point is not advised as its intention
63has always been to be a temporary mount point for floppy and
64ZIP disks.
65See
66.Xr hier 7
67for more information on
68.Dx
69directory layout.
70.Sh SEE ALSO
71.Xr mount 2 ,
72.Xr unmount 2 ,
73.Xr mount 8 ,
74.Xr mount_msdos 8 ,
75.Xr umount 8
76.Sh AUTHORS
77This manual page was written by
78.An Tom Rhodes Aq trhodes@FreeBSD.org .
79