Jump to content
From ArchWiki

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`.
- Install ufsd-module-dkmsAUR:
  - 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.
- 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,defaults,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,defaults,umask=0222	0 0

If needed, you can create a configuration file for `ufsd` to load the module at boot.

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

- Ufsd options
- Driver porting on kernel 4.13 and newer
- Paragon's announce of open-sourcing their NTFS driver

Category:

- File systems