xref: /dragonfly/share/man/man5/msdos.5 (revision 71126e33)
1.\" $FreeBSD: src/share/man/man5/msdos.5,v 1.3.2.1 2002/12/30 04:44:44 trhodes Exp $
2.\" $DragonFly: src/share/man/man5/msdos.5,v 1.3 2004/03/11 12:28:56 hmp Exp $
3.\" Written by Tom Rhodes
4.\" This file is in the public domain.
5.\"
6.Dd December 26, 2002
7.Dt MSDOS 5
8.Os
9.Sh NAME
10.Nm msdos
11.Nd msdos 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
23.Pp
24The
25.Nm
26file system driver will permit the
27.Dx
28kernel to read and write
29.Nm
30based file systems.
31.Pp
32The most common usage follows:
33.Pp
34.Dl "# mount_msdos /dev/ad0sN /dos
35.Pp
36where
37.Sy N
38is the partition number and
39.Pa /mnt
40is a mount point directory in the root file system.
41Some users tend to create a
42.Pa /dos
43directory for
44.Nm
45mount points.
46This helps to keep better track of the file system,
47and make it more easily accessible.
48.Pp
49It is possible to define an entry in
50.Pa /etc/fstab
51that looks similar to:
52.Bd -literal
53/dev/ad0sN		/dos	msdos	rw	0	0
54.Ed
55.Pp
56This will mount an
57.Nm
58based partition at the
59.Pa /dos
60mount point during system boot.
61Using
62.Pa /mnt
63as a permanent mount point is not advised as its intention
64has always been to be a temporary mount point for floppy and
65zip disks.
66See
67.Xr hier 7
68for more information on
69.Dx
70directory layout.
71.Sh SEE ALSO
72.Xr mount 2 ,
73.Xr unmount 2 ,
74.Xr mount 8 ,
75.Xr mount_msdos 8 ,
76.Xr umount 8 ,
77.Rs
78.%T "The FreeBSD Handbook"
79.%O "http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/"
80.Re
81.Sh AUTHORS
82This manual page was written by
83.An Tom Rhodes Aq trhodes@FreeBSD.org .
84