Package Details: ntfsprogs-ntfs3 2022.5.17-5

Git Clone URL: https://aur.archlinux.org/ntfsprogs-ntfs3.git (read-only, click to copy)
Package Base: ntfsprogs-ntfs3
Description: NTFS filesystem utilities without NTFS-3G driver. For system with kernel >= 5.15
Upstream URL: https://github.com/tuxera/ntfs-3g
Licenses: GPL2
Conflicts: ntfs-3g, ntfsprogs
Provides: ntfs-3g, ntfsprogs
Replaces: ntfsprogs
Submitter: okhsunrog
Maintainer: FiestaLake
Last Packager: FiestaLake
Votes: 8
Popularity: 1.04
First Submitted: 2021-11-15 18:02 (UTC)
Last Updated: 2022-07-26 05:43 (UTC)

Required by (34)

Sources (3)

Latest Comments

FiestaLake commented on 2022-07-26 05:43 (UTC) (edited on 2022-07-26 05:43 (UTC) by FiestaLake)

@FiveYellowMice Disabled overriding ID_FS_TYPE with udev rules and fixed ntfs mount options in 2022.5.17-5

FiveYellowMice commented on 2022-07-25 17:57 (UTC)

Hi, I appreciate the existence of this package, but the bundled udev rule seems to have caused a problem. UDisks is recognizing the filesystem as "ntfs3" instead of "ntfs", so it tries to use the mount options configured with ntfs3_defaults, which doesn't exist, so it mounts the filesystem with only the default options "uhelper=udisks2,nodev,nosuid".

ArchWiki suggests against overriding ID_FS_TYPE with udev rules, too. Perhaps it's not a very good idea to include it? I agree with @tinywrkb that having a package with just ntfsprogs utils and no udev or UDisks configs would be perfect. Because of the aforementioned problem, the udev rule is not even nice to have, it's breaking things instead.

FiestaLake commented on 2022-07-19 13:58 (UTC)

@Arisa Fixed in 2022.5.17-4

Arisa commented on 2022-07-17 22:30 (UTC)

I get this systemd-udevd[653]: /usr/lib/udev/rules.d/99-udisks2-ntfs.rules:14 Invalid value "uid=$UID,gid=$GID,noatime,prealloc" for ENV (char 5: invalid substitution type), ignoring.

FiestaLake commented on 2022-07-11 11:17 (UTC) (edited on 2022-07-11 11:23 (UTC) by FiestaLake)

@hvfrancesco It should be fixed now.

@tinywrkb I will consider it later. Thanks for udev tips. I know /etc should not be used when there's no valid reason but I hadn't find that method; was just thinking that method isn't supported just after seeing commits adding mount_options.

tinywrkb commented on 2022-07-10 19:02 (UTC)

p.s. It would've been better to move the udev rule and udisk config out into their own split packages, as they've got nothing to do with these utils, they are extra nice-to-have configs for the kernel module but unneeded for using the ntfsprogs utils.

tinywrkb commented on 2022-07-10 18:46 (UTC)

I can't upgrade or reinstall this package because of a file conflict: /etc/udisks2/mount_options.conf is already present in filesystem

Packaging /etc config files is always wrong, /etc is for system admin configs, not vendor/distro, so that's a packaging issue here.
Udisks supports overriding default/compiled configs by using an udev rule (see), so unless there are limitations to doing so, this should be the preferred method to package configs overrides, and the udev rule should be installed into /usr/lib/udev/rules.d/.

hvfrancesco commented on 2022-07-10 18:34 (UTC)

I can't upgrade or reinstall this package because of a file conflict: /etc/udisks2/mount_options.conf is already present in filesystem

tinywrkb commented on 2022-07-10 17:24 (UTC) (edited on 2022-07-10 17:25 (UTC) by tinywrkb)

BTW, PKGBUILD is basically a MAKEFILE so it's not necessary to leave contributors. We don't claim a license on this stuff. Just saying.

It is necessary, that's the convention, and I don't think that it's acceptable not to do so. I had a chat exactly about this with an Arch Linux developer.

FiestaLake commented on 2022-07-10 16:22 (UTC) (edited on 2022-07-10 16:22 (UTC) by FiestaLake)

@tinywrkb

I haven't noticed it since the commit I pushed is/was based on the older commit, not yours. I would add them later.

BTW, PKGBUILD is basically a MAKEFILE so it's not necessary to leave contributors. We don't claim a license on this stuff. Just saying.

tinywrkb commented on 2022-07-10 16:15 (UTC)

@FiestaLake why did you remove the contributor entries I added? The initial commit is a copy-paste from extra/ntfs-3g without giving attribution to its contributors.

FiestaLake commented on 2022-07-10 16:04 (UTC)

@tinywrkb I enabled this.

tinywrkb commented on 2022-07-10 01:55 (UTC)

I will update some ntfs3 rules in this package tonight.

@FiestaLake maybe use this chance to enable ntfsdecrypt, which I'm not sure why it wasn't on, and I forgot to do. It doesn't look like ntfs-3g (FUSE) specific, though I only briefly glanced at the code.

diff --git a/ntfsprogs-ntfs3/PKGBUILD b/ntfsprogs-ntfs3/PKGBUILD
index 997bd58..f2cba9e 100644
--- a/ntfsprogs-ntfs3/PKGBUILD
+++ b/ntfsprogs-ntfs3/PKGBUILD
@@ -12,7 +12,7 @@ pkgdesc='NTFS filesystem utilities without NTFS-3G driver. For system with kerne
 url='https://www.tuxera.com/company/open-source/'
 arch=('x86_64')
 license=('GPL2')
-depends=('util-linux')
+depends=('gnutls' 'util-linux')
 makedepends=('git')
 conflicts=('ntfsprogs' 'ntfs-3g')
 provides=('ntfsprogs' 'ntfs-3g')
@@ -42,6 +42,7 @@ build() {
     --enable-xattr-mappings
     --enable-posix-acls
     --enable-extras
+    --enable-crypto
     --disable-ntfs-3g

FiestaLake commented on 2022-07-10 01:48 (UTC)

I will update some ntfs3 rules in this package tonight.

tinywrkb commented on 2022-07-10 01:45 (UTC)

@FiestaLake it's yours.

FiestaLake commented on 2022-07-10 01:41 (UTC)

@tinywrkb I'm willing to maintain it (I actually made a orphan request already.)

tinywrkb commented on 2022-07-09 23:40 (UTC)

Maybe we can create a split package from ntfs-3g, and avoid having to build this AUR package.
I created a patch with this suggestion in #73431.

tinywrkb commented on 2022-07-09 21:31 (UTC)

Seeing that the package was disowned, I adopted and updated it, but this is something that goes into my base system image (which is immutable), and not really being used.
If you're using the tools from this package, and willing to maintain it, then let me know, and I will step down.

MoetaYuko commented on 2022-03-30 15:10 (UTC)

Just a note: as this package installs mount.ntfs to explicitly pass filesystem type as ntfs3, ntfs3_defaults needs to be set for udisks2 to work properly, instead of ntfs_defaults as written in Arch wiki:

[defaults]
ntfs3_defaults=uid=$UID,gid=$GID,noatime
ntfs3_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,compression,nocompression,big_writes

tinywrkb commented on 2022-02-27 01:45 (UTC) (edited on 2022-02-27 01:46 (UTC) by tinywrkb)

@StarterX4 autoconf is part of base-devel group, so it should not be added to makedepends. As a maintainer of AUR packages, you should make yourself familiar with the relevant documentation.

https://wiki.archlinux.org/title/PKGBUILD#makedepends

StarterX4 commented on 2022-02-27 01:34 (UTC) (edited on 2022-02-27 01:34 (UTC) by StarterX4)

Could you add autoconf as the makedepends?

==> Starting build()... /tmp/yaourt-tmp-starterx4/aur-ntfsprogs-ntfs3/./PKGBUILD: line 39: autoreconf: command not found ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build ntfsprogs-ntfs3.

okhsunrog commented on 2022-02-08 08:04 (UTC)

Thanks for the patch. Updated the PKGBUILD

tinywrkb commented on 2022-01-20 12:36 (UTC) (edited on 2022-01-20 13:49 (UTC) by tinywrkb)

I looked again at the packaging, and having ntfs-3g in the replaces array is not correct, some of us have private package repositories, and this will force installation of ntfsprogs-ntfs3 and replacement of ntfs-3g if the latter was installed in the system.

Here are a couple of other packaging improvements, https://gist.github.com/tinywrkb/fe81d97c43d25431f88c2e47831c9524

edit: I also submitted https://bugs.archlinux.org/task/73431?project=1&string=ntfs-3g

tinywrkb commented on 2022-01-19 01:52 (UTC)

Please install the udev rule into /usr/lib/udev/rules.d. /etc is for system admin config, and vendor/distro should install files to /usr.
/etc is the wrong location for packaged config files.

This creates a filesystem conflict for me, as I didn't expect that packaged udeve rules will land in /etc, and /etc/udev in my system is actually a symlink to /var/etc/udev.

okhsunrog commented on 2021-11-23 09:59 (UTC)

Done. You can update now

huyz commented on 2021-11-23 02:56 (UTC)

Could this package provide ntfs-3g also? In official repository there're 5 packages depends on ntfs-3g instead of ntfsprogs: archboot, clonezilla, libguestfs, partclone, wimlib. Now install this package will break their dependency.

okhsunrog commented on 2021-11-22 14:58 (UTC)

Thanks for mentioning, removed the redundant dependencies.

nl6720 commented on 2021-11-22 14:14 (UTC)

If the package doesn't build the FUSE driver, why is fuse2 listed as a dependency?