summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2002-12-27 03:17:02 +0000
committertrhodes <trhodes@FreeBSD.org>2002-12-27 03:17:02 +0000
commit04bc8355a58c220a303a5f2fc47f5b0bfe119af4 (patch)
tree6d2f76e525f79f8bbbb09e2e68d89d06fa54b648 /share/man
parent16cc24455b991546fb087d4a1d3f0f1f61ba9f82 (diff)
downloadFreeBSD-src-04bc8355a58c220a303a5f2fc47f5b0bfe119af4.zip
FreeBSD-src-04bc8355a58c220a303a5f2fc47f5b0bfe119af4.tar.gz
Add a manual page for msdosfs (msdos.5) and connect it to the build.
Quick review by: chris (older version)
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/Makefile2
-rw-r--r--share/man/man5/msdos.582
2 files changed, 83 insertions, 1 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 7588dac..4761520 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -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 \
diff --git a/share/man/man5/msdos.5 b/share/man/man5/msdos.5
new file mode 100644
index 0000000..d0bea0d
--- /dev/null
+++ b/share/man/man5/msdos.5
@@ -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 .
OpenPOWER on IntegriCloud