2002-12-29 21:32:41 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\" Written by Tom Rhodes
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
2018-09-27 12:08:53 +00:00
|
|
|
.Dd September 27, 2018
|
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
|
2018-09-27 12:08:53 +00:00
|
|
|
kernel to read and write MS-DOS based file systems.
|
2002-12-29 21:32:41 +00:00
|
|
|
.Pp
|
|
|
|
The most common usage follows:
|
|
|
|
.Pp
|
2013-10-01 18:41:53 +00:00
|
|
|
.Dl "mount -t msdosfs /dev/ada0sN /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
|
2013-10-01 18:41:53 +00:00
|
|
|
/dev/ada0sN /dos msdosfs rw 0 0
|
2002-12-29 21:32:41 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2018-09-27 12:08:53 +00:00
|
|
|
This will mount an MS-DOS based partition at the
|
2002-12-29 21:32:41 +00:00
|
|
|
.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.
|
2018-09-27 12:08:53 +00:00
|
|
|
.Sh EXAMPLES
|
|
|
|
Determine which FAT file system version (e.g, FAT16, FAT32)
|
|
|
|
is a partition formatted with:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
file -s /dev/da0s1
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
.Xr gpart 8
|
|
|
|
may also be used to extract this information.
|
2002-12-29 21:32:41 +00:00
|
|
|
.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
|
2014-06-23 08:27:27 +00:00
|
|
|
.An Tom Rhodes Aq Mt trhodes@FreeBSD.org .
|