Difference between revisions of "Ufsd"

From ArchWiki
Jump to: navigation, search
(Created page with "Category:File systems [http://www.paragon-software.com/home/ntfs-linux-per/ Ufsd] is a closed-source driver for Microsoft's NTFS file system that includes read and write s...")
 
m (use internal link)
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
== Installation ==
 
== Installation ==
  
# Download the {{AUR|ufsd-module}} tarball from the [[AUR]]
+
You can setup ufsd with or without dkms. The advantage of using dkms is that you wont need to bother about rebuilding and reinstalling every time the kernel changes. See [[Dynamic Kernel Module Support]] for more details on dkms.
# Untar the tarball
+
# 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.
+
# Create the package and install
+
# makepkg -s
+
# sudo 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.
+
=== Without dkms ===
 +
* Download the {{AUR|ufsd-module}} tarball from the [[AUR]].
 +
* Untar the tarball
 +
* 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.
 +
* Build and install the package
 +
$ makepkg -si
 +
 
 +
{{Note|You will need to rebuild and reinstall after a kernel upgrade.}}
 +
 
 +
=== With dkms ===
 +
* [[pacman|Install]] the {{Pkg|dkms}} package, found in the [[official repositories]]
 +
* Start and enable the dkms service
 +
# systemctl start dkms.service
 +
# systemctl enable dkms.service
 +
* Download the {{AUR|ufsd-module-dkms}} tarball from the [[AUR]].
 +
* Untar the tarball
 +
* 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.
 +
* Build and install the package
 +
$ makepkg -si
 +
* Check if the module has been installed in dkms.
 +
$ dkms status
  
 
== Usage ==
 
== Usage ==
Line 24: Line 39:
 
=== Automatic ===
 
=== Automatic ===
  
Edit {{ic|/etc/fstab}}:
+
For non-dkms setups, edit {{ic|/etc/fstab}} as below:
  
 
  # <file system>  <dir> <type>    <options>            <dump>  <pass>
 
  # <file system>  <dir> <type>    <options>            <dump>  <pass>
 
  /dev/''NTFS-part''  /mnt/windows  ufsd  uid=''your username'',gid=users,noatime,umask=0222 0 0
 
  /dev/''NTFS-part''  /mnt/windows  ufsd  uid=''your username'',gid=users,noatime,umask=0222 0 0
 +
 +
For dkms setups, edit {{ic|/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 {{ic|*.conf}} file (e.g. {{ic|ufsd.conf}}) in {{ic|/etc/[[Kernel_modules#Loading|modules-load.d]]}} that contains all modules that should be loaded:
 
To load the ufsd driver at startup, create a {{ic|*.conf}} file (e.g. {{ic|ufsd.conf}}) in {{ic|/etc/[[Kernel_modules#Loading|modules-load.d]]}} that contains all modules that should be loaded:

Revision as of 04:20, 1 September 2013

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

You can setup ufsd with or without dkms. The advantage of using dkms is that you wont need to bother about rebuilding and reinstalling every time the kernel changes. See Dynamic Kernel Module Support for more details on dkms.

Without dkms

$ makepkg -si
Note: You will need to rebuild and reinstall after a kernel upgrade.

With dkms

# systemctl start dkms.service
# systemctl enable dkms.service
$ 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
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