Page MenuHomeFreeBSD

D28131.id82201.diff
No OneTemporary

D28131.id82201.diff

diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.xml b/en_US.ISO8859-1/books/handbook/disks/chapter.xml
--- a/en_US.ISO8859-1/books/handbook/disks/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/disks/chapter.xml
@@ -1557,6 +1557,86 @@
Collection.</para>
</sect1>
+ <sect1 xml:id="using-ntfs">
+ <info>
+ <title>Using <acronym>NTFS</acronym> Disks</title>
+ </info>
+
+ <indexterm>
+ <primary>NTFS</primary>
+ <secondary>disks</secondary>
+ </indexterm>
+
+ <para>This section explains how to mount <acronym>NTFS</acronym>
+ disks in &os;.</para>
+
+ <para><acronym>NTFS</acronym> (New Technology File System) is a
+ proprietary journaling file system developed by Microsoft. It
+ has become the default file system in Microsoft &windows; for
+ many years. &os; can mount NTFS volumes using a &man.fusefs.5;
+ file system. These file systems are implemented as user space
+ programs which interact with the &man.fusefs.5; kernel module
+ via a well defined interface.</para>
+
+ <procedure>
+ <title>Steps to Mount a NTFS Disk</title>
+
+ <step>
+ <para>Prior to use a fuse file system we need to load the
+ &man.fusefs.5; kernel module:</para>
+
+ <screen>&prompt.root; <userinput>kldload fusefs</userinput></screen>
+
+ <para>Add this line to <filename>/boot/loader.conf</filename>
+ to load the module at startup:</para>
+
+ <programlisting>fuse_load="YES"</programlisting>
+ </step>
+
+ <step>
+ <para>Install the actual NTFS file system from ports:</para>
+
+ <screen>&prompt.root; <userinput>cd /usr/ports/sysutils/fusefs-ntfs</userinput>
+&prompt.root; <userinput>make install</userinput></screen>
+
+ <para>or from packages:</para>
+
+ <screen>&prompt.root; <userinput>pkg install fusefs-ntfs</userinput></screen>
+ </step>
+
+ <step>
+ <para>Last we need to create a directory where the file system
+ will be mounted:</para>
+
+ <screen>&prompt.user; <userinput>mkdir <replaceable>~/mnt/usb</replaceable></userinput></screen>
+ </step>
+
+ <step>
+ <para>Suppose a USB disk is plugged in. The disk partition
+ information can be viewed with &man.gpart.8;:</para>
+
+ <screen>&prompt.user; <userinput>gpart show <replaceable>da0</replaceable></userinput>
+=> 63 1953525105 da0 MBR (932G)
+ 63 1953525105 1 ntfs (932G)</screen>
+ </step>
+
+ <step>
+ <para>We can mount the disk using the following
+ command:</para>
+
+ <screen>&prompt.root; <userinput>ntfs-3g <replaceable>/dev/da0s1</replaceable> <replaceable>~/mnt/usb/</replaceable></userinput></screen>
+
+ <para>The disk is now ready to use.</para>
+ </step>
+
+ <step>
+ <para>The disk can be unmounted with:</para>
+
+ <screen>&prompt.root; <userinput>umount <replaceable>~/mnt/usb/</replaceable></userinput></screen>
+ </step>
+ </procedure>
+ </sect1>
+
<sect1 xml:id="backup-basics">
<title>Backup Basics</title>

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 11:36 PM (4 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727327
Default Alt Text
D28131.id82201.diff (2 KB)

Event Timeline