Get better exFAT performance on Linux with this new driver.
Some time ago, Microsoft brought to Linux support for the exFAT filesystem. Turns out, the driver brought to Linux by MS is based on older code, which was "leaked" and found its way to Samsung. That Microsoft promise of delivering a quality Linux/exFAT experience is not even close to being realized. For those that need to reliably read devices formatted to the exFAT filesystem on Linux, this has been an issue.
But this is open source, and that means one thing: Where there's a will, there's a way. Such is the way of Android developer Park Ju Hyung, who has brought to Linux users the exfat-linux project. Park's project is based on the sdFAT drivers from Samsung. These drivers are used in the Samsung line of Android smartphones and are already stable enough for everyday usage.
I'm going to show you how to install this exFAT driver on Ubuntu Desktop 19.04. It's available as a PPA, but can also be installed from source. Let's make this happen.
SEE: Choosing your Windows 7 exit strategy: Four options (TechRepublic Premium)
What you'll need
The only things you'll need to install this exFAT driver are:
- A running instance of Ubuntu Desktop 19.04 (although this will also work on Ubuntu Server releases as well)
- A user account with sudo privileges
- A network connection
How to install from exfat-linux from PPA
The first method of installation is from the PPA. This is Ubuntu-specific, but will work on Ubuntu/Debian derivatives. To install exfat-linux from PPA, open a terminal and follow these steps:
- Add the necessary repository with the command sudo add-apt-repository ppa:arter97/exfat-linux.
- Update apt with the command sudo apt update.
- Install the driver with the command sudo apt-get install exfat-dkms -y.
How to install exfat-linux from source
If you opt to go the source route, here are the steps:
- Install git with the command sudo apt-get install git -y.
- Clone the code from Git with the command git clone https://github.com/arter97/exfat-linux.
- Change into the newly created directory with the command cd exfat-linux.
- Build the source with the command make.
- Install the driver with the command sudo make install.
Once you've installed the exFAT driver, you must load the module into the kernel with the command:
sudo modprobe exfat
At this point you should now be able to mount exFAT-formatted partitions and drives on your Linux system. When using a desktop distribution, those drives should simply appear in your file manager once attached to the system, ready to be used. If that's not the case (as in your distribution of choice doesn't automatically mount external drives), you might have to mount it with a command similar to:
sudo mount -t exfat /dev/XXX /MOUNTPOINT
Where XXX is the drive name and MOUNTPOINT is the directory you'd like to mount the drive into.
And that's all there is to adding the new exfat-linux driver to Linux. You should find this new driver delivers a significant boost to the performance and reliability of Linux to exFAT drive interaction. Give it a try and see what you think.
- How to become a software engineer: A cheat sheet (TechRepublic)
- 10 free alternatives to Microsoft Word and Excel (TechRepublic download)
- How to back up a local Linux directory to a remote Linux host with rsync (TechRepublic)
- OverGrive is the Linux Google Drive client you've been waiting for (TechRepublic)
- How to limit bandwidth on Linux to better test your applications (TechRepublic)
- How to easily collect data from your Linux data center server (TechRepublic)
- Microsoft to Linux developers: We want your help to bring Edge browser to Linux (ZDNet)
- The 10 most important iPhone apps of all time (Download.com)
- It takes work to keep your data private online. These apps can help (CNET)
- Must-read coverage: Programming languages and developer career resources (TechRepublic on Flipboard)