You are not logged in.

#1 Yesterday 15:16:25

jadren
Member
Registered: Yesterday
Posts: 2

[SOLVED] Remove hardcoded mount.ntfs symlink in ntfs-3g to unblock n

Subject: [Proposal] Remove mount.ntfs symlink from ntfs-3g for Linux 7.1+ native driver

Hi everyone,

With the release of Linux 7.1, the new native NTFS driver has been officially merged into the mainline kernel. It directly takes over the ntfs filesystem type (unlike the previous ntfs3).

The Problem:
Currently, the ntfs-3g package in the Arch repositories hardcodes a symlink in its PKGBUILD:
ln -s /usr/bin/ntfs-3g /usr/bin/mount.ntfs

Because of this symlink, any standard mount -t ntfs command is automatically hijacked and forced to use the user-space FUSE driver (ntfs-3g). This completely bypasses the new, high-performance in-tree kernel driver for anyone running Linux 7.1 or newer.

Proposed Solution:
Drop the symlink entirely from the ntfs-3g PKGBUILD. > This aligns with the KISS principle and allows the kernel to handle ntfs mounts natively. Users who still explicitly want or need FUSE can simply use mount -t ntfs-3g.

Note: I originally considered writing an adaptive wrapper script to parse uname -r and fallback to FUSE for LTS/older kernels, but I realized this goes against Arch's packaging philosophy and adds unnecessary maintenance overhead.
see here(last commit):
https://gitlab.archlinux.org/jadren/ntfs-3-g

Testing:
I've tested dropping the symlink locally via loop devices. It correctly routes to the native ntfs driver on 7.1.0-rc2-1-cachyos-rc, and standard ntfs-3g functionality remains unbroken for explicit FUSE mounts.

I'd love to hear the maintainers' thoughts on this. If dropping the symlink is the right way forward, I am ready to open an MR on GitLab.

Last edited by jadren (Yesterday 16:27:49)

Offline

#2 Yesterday 16:01:27

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,480
Website

Re: [SOLVED] Remove hardcoded mount.ntfs symlink in ntfs-3g to unblock n

You'll need to open a feature request on the gitlab instance. Devs don't often peruse the support forums.

https://gitlab.archlinux.org/archlinux

Good luck.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 Yesterday 16:29:47

jadren
Member
Registered: Yesterday
Posts: 2

Re: [SOLVED] Remove hardcoded mount.ntfs symlink in ntfs-3g to unblock n

There has been an issue.
https://gitlab.archlinux.org/archlinux/ … rk_items/2
SSorry for my noise and the unnecessary trouble this has caused.

Offline

Board footer

Powered by FluxBB