nrelease - fix/improve livecd
[dragonfly.git] / share / man / man5 / msdos.5
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
16 To link into the kernel:
17 .Cd "options MSDOSFS"
18 .Pp
19 To load as a kernel loadable module:
20 .Dl kldload msdos
21 .Sh DESCRIPTION
22 The
23 .Nm
24 driver will permit the
25 .Dx
26 kernel to read and write
27 .Tn MS-DOS
28 based file systems.
29 .Pp
30 The most common usage follows:
31 .Pp
32 .Dl "mount_msdos /dev/ad0sN /mnt"
33 .Pp
34 where
35 .Ar N
36 is the partition number and
37 .Pa /mnt
38 is a mount point.
39 Some users tend to create a
40 .Pa /dos
41 directory for
42 .Nm
43 mount points.
44 This helps to keep better track of the file system,
45 and make it more easily accessible.
46 .Pp
47 It is possible to define an entry in
48 .Pa /etc/fstab
49 that looks similar to:
50 .Bd -literal
51 /dev/ad0sN              /dos    msdos   rw      0       0
52 .Ed
53 .Pp
54 This will mount an
55 .Tn MS-DOS
56 based partition at the
57 .Pa /dos
58 mount point during system boot.
59 Using
60 .Pa /mnt
61 as a permanent mount point is not advised as its intention
62 has always been to be a temporary mount point for floppy and
63 ZIP disks.
64 See
65 .Xr hier 7
66 for more information on
67 .Dx
68 directory 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
76 This manual page was written by
77 .An Tom Rhodes Aq Mt trhodes@FreeBSD.org .