xref: /dragonfly/share/man/man5/msdos.5 (revision f02303f9)
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.4 2006/02/10 19:01:10 swildner 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
23The
24.Nm
25file system driver will permit the
26.Dx
27kernel to read and write
28.Nm
29based file systems.
30.Pp
31The most common usage follows:
32.Pp
33.Dl "# mount_msdos /dev/ad0sN /dos
34.Pp
35where
36.Sy N
37is the partition number and
38.Pa /mnt
39is a mount point directory in the root file system.
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.Nm
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.Rs
77.%T "The FreeBSD Handbook"
78.%O "http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/"
79.Re
80.Sh AUTHORS
81This manual page was written by
82.An Tom Rhodes Aq trhodes@FreeBSD.org .
83