]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - share/man/man5/msdosfs.5
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / share / man / man5 / msdosfs.5
1 .\" $FreeBSD$
2 .\" Written by Tom Rhodes
3 .\" This file is in the public domain.
4 .\"
5 .Dd August 22, 2007
6 .Dt MSDOSFS 5
7 .Os
8 .Sh NAME
9 .Nm msdosfs
10 .Nd MS-DOS file system
11 .Sh SYNOPSIS
12 .Cd "options MSDOSFS"
13 .Sh DESCRIPTION
14 The
15 .Nm
16 driver will permit the
17 .Fx
18 kernel to read and write
19 .Tn MS-DOS
20 based file systems.
21 .Pp
22 The most common usage follows:
23 .Pp
24 .Dl "mount -t msdosfs /dev/ad0sN /mnt"
25 .Pp
26 where
27 .Ar N
28 is the partition number and
29 .Pa /mnt
30 is a mount point.
31 Some users tend to create a
32 .Pa /dos
33 directory for
34 .Nm
35 mount points.
36 This helps to keep better track of the file system,
37 and make it more easily accessible.
38 .Pp
39 It is possible to define an entry in
40 .Pa /etc/fstab
41 that looks similar to:
42 .Bd -literal
43 /dev/ad0sN              /dos    msdosfs         rw      0       0
44 .Ed
45 .Pp
46 This will mount an
47 .Tn MS-DOS
48 based partition at the
49 .Pa /dos
50 mount point during system boot.
51 Using
52 .Pa /mnt
53 as a permanent mount point is not advised as its intention
54 has always been to be a temporary mount point for floppy and
55 ZIP disks.
56 See
57 .Xr hier 7
58 for more information on
59 .Fx
60 directory layout.
61 .Sh SEE ALSO
62 .Xr mount 2 ,
63 .Xr unmount 2 ,
64 .Xr mount 8 ,
65 .Xr mount_msdosfs 8 ,
66 .Xr umount 8
67 .Sh AUTHORS
68 This manual page was written by
69 .An Tom Rhodes Aq trhodes@FreeBSD.org .