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. + + + Using <acronym>NTFS</acronym> Disks + + + + NTFS + disks + + + This section explains how to mount NTFS + disks in &os;. + + NTFS (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. + + + Steps to Mount a NTFS Disk + + + Prior to use a fuse file system we need to load the + &man.fusefs.5; kernel module: + + &prompt.root; kldload fusefs + + Add this line to /boot/loader.conf + to load the module at startup: + + fuse_load="YES" + + + + Install the actual NTFS file system from ports: + + &prompt.root; cd /usr/ports/sysutils/fusefs-ntfs +&prompt.root; make install + + or from packages: + + &prompt.root; pkg install fusefs-ntfs + + + + Last we need to create a directory where the file system + will be mounted: + + &prompt.user; mkdir ~/mnt/usb + + + + Suppose a USB disk is plugged in. The disk partition + information can be viewed with &man.gpart.8;: + + &prompt.user; gpart show da0 +=> 63 1953525105 da0 MBR (932G) + 63 1953525105 1 ntfs (932G) + + + + We can mount the disk using the following + command: + + &prompt.root; ntfs-3g /dev/da0s1 ~/mnt/usb/ + + The disk is now ready to use. + + + + The disk can be unmounted with: + + &prompt.root; umount ~/mnt/usb/ + + + + Backup Basics