summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/msdosfs.4 3.html
blob: 1ea9f53cfb6c71e5e63fa204297fbbee155ffa68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<table class="head">
  <tr>
    <td class="head-ltitle">MSDOSFS(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">MSDOSFS(4)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">msdosfs</code> &#x2014; <span class="Nd">MS-DOS
    (FAT) file system</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">options MSDOSFS</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">msdosfs</code> driver will permit the
    <span class="Ux">FreeBSD</span> kernel to read and write MS-DOS based file
    systems.</p>
<p class="Pp">The most common usage follows:</p>
<p class="Pp"></p>
<div class="Bd Bd-indent"><code class="Li">mount -t msdosfs /dev/ada0sN
  /mnt</code></div>
<p class="Pp">where <var class="Ar">N</var> is the partition number and
    <span class="Pa">/mnt</span> is a mount point. Some users tend to create a
    <span class="Pa">/dos</span> directory for <code class="Nm">msdosfs</code>
    mount points. This helps to keep better track of the file system, and make
    it more easily accessible.</p>
<p class="Pp">It is possible to define an entry in
    <span class="Pa">/etc/fstab</span> that looks similar to:</p>
<div class="Bd Pp Li">
<pre>/dev/ada0sN		/dos	msdosfs		rw	0	0</pre>
</div>
<p class="Pp">This will mount an MS-DOS based partition at the
    <span class="Pa">/dos</span> mount point during system boot. Using
    <span class="Pa">/mnt</span> 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 <a class="Xr">hier(7)</a> for more information on
    <span class="Ux">FreeBSD</span> directory layout.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">Determine which FAT file system version (e.g, FAT16, FAT32) is a
    partition formatted with:</p>
<div class="Bd Pp Bd-indent Li">
<pre>file -s /dev/da0s1</pre>
</div>
<p class="Pp"><a class="Xr">gpart(8)</a> may also be used to extract this
    information.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">mount(2)</a>, <a class="Xr">unmount(2)</a>,
    <a class="Xr">fsck_msdosfs(8)</a>, <a class="Xr">mount(8)</a>,
    <a class="Xr">mount_msdosfs(8)</a>, <a class="Xr">newfs_msdos(8)</a>,
    <a class="Xr">umount(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">This manual page was written by <span class="An">Tom Rhodes</span>
    &lt;<a class="Mt" href="mailto:trhodes@FreeBSD.org">trhodes@FreeBSD.org</a>&gt;.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">September 27, 2018</td>
    <td class="foot-os">FreeBSD 15.0</td>
  </tr>
</table>