2002-12-29 21:32:41 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\" Written by Tom Rhodes
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
2009-11-02 12:35:38 +00:00
|
|
|
.Dd August 22, 2007
|
2002-12-30 22:56:26 +00:00
|
|
|
.Dt MSDOSFS 5
|
2002-12-29 21:32:41 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm msdosfs
|
2003-02-24 22:53:26 +00:00
|
|
|
.Nd MS-DOS file system
|
2002-12-29 21:32:41 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "options MSDOSFS"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver will permit the
|
|
|
|
.Fx
|
|
|
|
kernel to read and write
|
2003-02-24 22:53:26 +00:00
|
|
|
.Tn MS-DOS
|
2002-12-29 21:32:41 +00:00
|
|
|
based file systems.
|
|
|
|
.Pp
|
|
|
|
The most common usage follows:
|
|
|
|
.Pp
|
2007-08-22 18:04:08 +00:00
|
|
|
.Dl "mount -t msdosfs /dev/ad0sN /mnt"
|
2002-12-29 21:32:41 +00:00
|
|
|
.Pp
|
|
|
|
where
|
2003-02-24 22:53:26 +00:00
|
|
|
.Ar N
|
2002-12-29 21:32:41 +00:00
|
|
|
is the partition number and
|
|
|
|
.Pa /mnt
|
2003-02-24 22:53:26 +00:00
|
|
|
is a mount point.
|
2002-12-29 21:32:41 +00:00
|
|
|
Some users tend to create a
|
|
|
|
.Pa /dos
|
|
|
|
directory for
|
|
|
|
.Nm
|
|
|
|
mount points.
|
|
|
|
This helps to keep better track of the file system,
|
|
|
|
and make it more easily accessible.
|
|
|
|
.Pp
|
|
|
|
It is possible to define an entry in
|
|
|
|
.Pa /etc/fstab
|
|
|
|
that looks similar to:
|
|
|
|
.Bd -literal
|
2002-12-30 04:32:10 +00:00
|
|
|
/dev/ad0sN /dos msdosfs rw 0 0
|
2002-12-29 21:32:41 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
This will mount an
|
2003-02-24 22:53:26 +00:00
|
|
|
.Tn MS-DOS
|
2002-12-29 21:32:41 +00:00
|
|
|
based partition at the
|
|
|
|
.Pa /dos
|
|
|
|
mount point during system boot.
|
|
|
|
Using
|
|
|
|
.Pa /mnt
|
|
|
|
as a permanent mount point is not advised as its intention
|
|
|
|
has always been to be a temporary mount point for floppy and
|
2003-02-24 22:53:26 +00:00
|
|
|
ZIP disks.
|
2002-12-29 21:32:41 +00:00
|
|
|
See
|
|
|
|
.Xr hier 7
|
|
|
|
for more information on
|
|
|
|
.Fx
|
|
|
|
directory layout.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 2 ,
|
|
|
|
.Xr unmount 2 ,
|
|
|
|
.Xr mount 8 ,
|
|
|
|
.Xr mount_msdosfs 8 ,
|
2003-02-24 22:53:26 +00:00
|
|
|
.Xr umount 8
|
2002-12-29 21:32:41 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
This manual page was written by
|
|
|
|
.An Tom Rhodes Aq trhodes@FreeBSD.org .
|