freebsd-dev/share/man/man5/msdosfs.5

80 lines
1.4 KiB
Groff
Raw Normal View History

2002-12-29 21:32:41 +00:00
.\" $FreeBSD$
.\" Written by Tom Rhodes
.\" This file is in the public domain.
.\"
.Dd December 26, 2002
2002-12-30 22:56:26 +00:00
.Dt MSDOSFS 5
2002-12-29 21:32:41 +00:00
.Os
.Sh NAME
.Nm msdosfs
.Nd msdos file system
.Sh SYNOPSIS
.Bd -literal
/dev/ad0sN /dos msdosfs rw 0 0
2002-12-29 21:32:41 +00:00
.Ed
.Pp
To link into the kernel:
.Cd "options MSDOSFS"
.Sh DESCRIPTION
.Pp
The
.Nm
driver will permit the
.Fx
kernel to read and write
.Em msdos
based file systems.
.Pp
The most common usage follows:
.Pp
.Dl "# mount_msdosfs /dev/ad0sN /dos
.Pp
where
.Sy N
is the partition number and
.Pa /mnt
is a mount point directory in the root file system.
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
/dev/ad0sN /dos msdosfs rw 0 0
2002-12-29 21:32:41 +00:00
.Ed
.Pp
This will mount an
.Em msdos
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
zip disks.
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 ,
.Xr umount 8 ,
.Rs
.%T "The FreeBSD Handbook"
.%O "http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/"
.Re
.Sh AUTHORS
This manual page was written by
.An Tom Rhodes Aq trhodes@FreeBSD.org .