Improve the working around FAT and extended filesystems.
PR: docs/114715 Submitted by: Ben Kaduk <minimarmot at gmail dot com> with minor modifications by me
This commit is contained in:
parent
2e64f54ab2
commit
dba4e4b08b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31102
1 changed files with 24 additions and 10 deletions
|
|
@ -4092,9 +4092,24 @@ Please press any key to reboot.</screen>
|
||||||
located in the <guimenuitem>Start</guimenuitem>> <guimenuitem>Programs</guimenuitem> >
|
located in the <guimenuitem>Start</guimenuitem>> <guimenuitem>Programs</guimenuitem> >
|
||||||
<guimenuitem>System Tools</guimenuitem> menu.</para>
|
<guimenuitem>System Tools</guimenuitem> menu.</para>
|
||||||
|
|
||||||
<para>&os; can support &ms-dos; based file systems (FAT16 and FAT32).
|
<para>&os; can support &ms-dos; file systems (sometimes called
|
||||||
This requires you use the &man.mount.8; command
|
FAT file systems). The &man.mount.msdosfs.8; command grafts such file
|
||||||
with the required parameters. The utility most common usage is:</para>
|
systems onto the existing directory hierarchy, allowing the file
|
||||||
|
system's contents to be accessed. &man.mount.msdosfs.8; is not usually
|
||||||
|
invoked directly; instead, it is called by the system through a line
|
||||||
|
in <filename>/etc/fstab</filename> or by a call to the &man.mount.8;
|
||||||
|
utility with the appropriate parameters.</para>
|
||||||
|
|
||||||
|
<para>A typical line in <filename>/etc/fstab</filename> is:</para>
|
||||||
|
|
||||||
|
<programlisting>/dev/ad0sN /dos msdosfs rw 0 0</programlisting>
|
||||||
|
|
||||||
|
<note><para>The <filename>/dos</filename> directory must already
|
||||||
|
exist for this to work. For details about the format of
|
||||||
|
<filename>/etc/fstab</filename>, see &man.fstab.5;.</para></note>
|
||||||
|
|
||||||
|
<para>A typicall call to &man.mount.8; for a &ms-dos; file system
|
||||||
|
looks like:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>mount -t msdosfs /dev/ad0s1 /mnt</userinput></screen>
|
<screen>&prompt.root; <userinput>mount -t msdosfs /dev/ad0s1 /mnt</userinput></screen>
|
||||||
|
|
||||||
|
|
@ -4103,13 +4118,12 @@ Please press any key to reboot.</screen>
|
||||||
the <command>dmesg</command>, and <command>mount</command> commands. They should
|
the <command>dmesg</command>, and <command>mount</command> commands. They should
|
||||||
produce enough information to give an idea of the partition layout.</para>
|
produce enough information to give an idea of the partition layout.</para>
|
||||||
|
|
||||||
<note><para>Extended &ms-dos; file systems are usually mapped after the &os;
|
<note><para>&os; may number disk slices (that is, &ms-dos; partitions)
|
||||||
partitions. In other words, the slice number may be higher than the ones
|
differently than other operating systems. In particular, extended
|
||||||
&os; is using. For instance, the first &ms-dos; partition may be
|
&ms-dos; partitions are usually given higher slice numbers than
|
||||||
<filename>/dev/ad0s1</filename>, the &os; partition may be
|
primary &ms-dos; partitions. The &man.fdisk.8; utility can help
|
||||||
<filename>/dev/ad0s2</filename>, with the extended &ms-dos; partition being
|
determine which slices belong to &os; and which belong to other
|
||||||
located on <filename>/dev/ad0s3</filename>. To some, this can be confusing
|
operating systems.</para></note>
|
||||||
at first.</para></note>
|
|
||||||
|
|
||||||
<para>NTFS partitions can also be mounted in a similar manner
|
<para>NTFS partitions can also be mounted in a similar manner
|
||||||
using the &man.mount.ntfs.8; command.</para>
|
using the &man.mount.ntfs.8; command.</para>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue