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