Add a manual page for msdosfs (msdos.5) and connect it to the build.

Quick review by:	chris (older version)
This commit is contained in:
Tom Rhodes 2002-12-27 03:17:02 +00:00
parent 9ff9f0fb80
commit e68e321258
2 changed files with 83 additions and 1 deletions

View File

@ -7,7 +7,7 @@ MAN= a.out.5 acct.5 core.5 devfs.5 device.hints.5 \
elf.5 ethers.5 fbtab.5 fdescfs.5 forward.5 fs.5 fstab.5 group.5 \
hesiod.conf.5 \
hosts.5 hosts.equiv.5 hosts.lpd.5 intro.5 link.5 \
linprocfs.5 mailer.conf.5 make.conf.5 moduli.5 motd.5 networks.5 \
linprocfs.5 mailer.conf.5 make.conf.5 moduli.5 motd.5 msdos.5 networks.5 \
nsswitch.conf.5 \
passwd.5 pbm.5 periodic.conf.5 \
phones.5 procfs.5 protocols.5 quota.user.5 \

82
share/man/man5/msdos.5 Normal file
View File

@ -0,0 +1,82 @@
.\" $FreeBSD$
.\" Written by Tom Rhodes
.\" This file is in the public domain.
.\"
.Dd December 26, 2002
.Dt MSDOS 5
.Os
.Sh NAME
.Nm msdos
.Nd msdos file system
.Sh SYNOPSIS
.Bd -literal
/dev/ad0sN /dos msdos rw 0 0
.Ed
.Pp
To link into the kernel:
.Cd "options MSDOSFS"
.Pp
To load as a kernel loadable module:
.Dl kldload msdosfs
.Sh DESCRIPTION
.Pp
The
.Nm
file system driver will permit the
.Fx
kernel to read and write
.Nm
based file systems.
.Pp
The most common usage follows:
.Pp
.Dl "# mount_msdos /dev/ad0sN
.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 msdos rw 0 0
.Ed
.Pp
This will mount an
.Nm
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_msdos 8 ,
.Xr umount 8 ,
.Rs
.%T "The FreeBSD Handbook"
.%O "http://www.freebsd.org/doc"
.Re
.Sh AUTHORS
This manual page was written by
.An Tom Rhodes Aq trhodes@FreeBSD.org .