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. + + + 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 µsoft;. It + has been the default file system in µsoft; &windows; for + many years. &os; can mount NTFS volumes + using a FUSE 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 <acronym>NTFS</acronym> Disk + + + Before using a FUSE file system we + need to load the &man.fusefs.5; kernel module: + + &prompt.root; kldload fusefs + + Add this line to /etc/rc.conf + to load the module at startup: + + kld_list="fusefs" + + + + Install the actual NTFS file system + from packages as in the example + (see ) or from ports + (see ): + + &prompt.root; pkg install fusefs-ntfs + + + + + Last we need to create a directory where the file system + will be mounted: + + &prompt.root; 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. + + + + Additionally, an entry can be added to + /etc/fstab: + + /dev/da0s1 /mnt/usb ntfs mountprog=/usr/local/bin/ntfs-3g,noauto,rw 0 0 + + Now the disk can be now mounted with: + + &prompt.root; mount /mnt/usb + + + + + The disk can be unmounted with: + + &prompt.root; umount /mnt/usb/ + + + + Backup Basics