Ufsd
Ufsd is a closed-source driver for Microsoft's NTFS file system that includes read and write support, developed by Paragon GmbH. It is 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.
Since 2020-08-14, Paragon has worked to upstream their driver directly into the mainline Linux kernel. Their proprietary driver remains available. See NTFS.
Installation
The ufsd packages uses Dynamic Kernel Module Support so you will not need to bother about rebuilding and reinstalling every time the kernel changes
- Install the dkms package.
-
Start and enable
dkms.service
. - Download the ufsd-module-dkmsAUR tarball from the AUR.
- Untar the tarball
- Visit https://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.
- Build and install the package
$ makepkg -si
- Check if the module has been installed in dkms.
$ dkms status
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
For non-dkms setups, edit /etc/fstab
as below:
# <file system> <dir> <type> <options> <dump> <pass> /dev/NTFS-part /mnt/windows ufsd uid=your username,gid=users,noatime,umask=0222 0 0
For dkms setups, edit /etc/fstab
as below:
# <file system> <dir> <type> <options> <dump> <pass> /dev/NTFS-part /mnt/windows ufsd noauto,x-systemd.automount,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
depmod -a
.