Page MenuHomeFreeBSD

D28131.id82433.diff
No OneTemporary

D28131.id82433.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,98 @@
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 been the default file system in &microsoft; &windows; for
+ many years. &os; can mount <acronym>NTFS</acronym> volumes
+ using a <acronym>FUSE</acronym> 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 <acronym>NTFS</acronym> Disk</title>
+
+ <step>
+ <para>Before using a <acronym>FUSE</acronym> 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>/etc/rc.conf</filename>
+ to load the module at startup:</para>
+
+ <programlisting>kld_list="fusefs"</programlisting>
+ </step>
+
+ <step>
+ <para>Install the actual <acronym>NTFS</acronym> file system
+ from packages as in the example
+ (see <xref linkend="pkgng-intro"/>) or from ports
+ (see <xref linkend="ports-using"/>):</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.root; <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>Additionally, an entry can be added to
+ <filename>/etc/fstab</filename>:</para>
+
+ <programlisting>/dev/da0s1 /mnt/usb ntfs mountprog=/usr/local/bin/ntfs-3g,noauto,rw 0 0</programlisting>
+
+ <para>Now the disk can be now mounted with:</para>
+
+ <screen>&prompt.root; <userinput>mount <replaceable>/mnt/usb</replaceable></userinput></screen>
+
+ </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:39 PM (4 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727355
Default Alt Text
D28131.id82433.diff (3 KB)

Event Timeline