Ufsd

From ArchWiki
Revision as of 21:58, 29 August 2013 by Halosghost (Talk | contribs) (Installation: Don't run `makepkg` as root, and `sudo` isn't needed when already root)

Jump to: navigation, search

Ufsd is a closed-source driver for Microsoft's NTFS file system that includes read and write support, developed by Paragon GmbH. It is currently (as of 29-Aug, 2013) free for personal use. It offers significantly faster writes to ntfs filesystems than the default ntfs-3g driver. This document will describe how to setup ufsd to work on your computer.

Installation

  1. Download the ufsd-moduleAUR tarball from the AUR
  2. Untar the tarball
  3. Visit http://www.paragon-software.com/home/ntfs-linux-per/download.html and fill in the request form. You should receive an email with a download link shortly. Download the .tbz file and move it to the package folder.
  4. Create the package
$ makepkg -s 
  1. Install the built package
# pacman -U ./ufsd-module-8.5.005-17-x86_64.pkg.tar.xz

Note: You will need to rebuild and reinstall after a kernel upgrade.

Usage

Test using the manual method before setting it up for automatic loading and mounting. Remember to create the target folder before mounting. And, also remember to unmount your ntfs partition if it is already mounted using ntfs-3g.

Manual

# modprobe ufsd
# mount -t ufsd /dev/your-NTFS-partition /{mnt,...}/folder -o uid=your username,gid=users

Automatic

Edit /etc/fstab:

# <file system>   <dir>		<type>    <options>             <dump>  <pass>
/dev/NTFS-part  /mnt/windows  ufsd   uid=your username,gid=users,noatime,umask=0222	0 0

To load the ufsd driver at startup, create a *.conf file (e.g. ufsd.conf) in /etc/modules-load.d that contains all modules that should be loaded:

/etc/modules-load.d/ufsd.conf
ufsd
Note: You may need to update the kernel modules db in order to avoid 'no such file or directory' error when loading ufsd. Run: depmod -a.

See also