[GH-ISSUE #6] ntfs-3g driver is not required for NTFS-type partition support #4

Closed
opened 2026-03-04 12:04:53 +03:00 by kerem · 7 comments
Owner

Originally created by @Ser9ei on GitHub (Jan 11, 2026).
Original GitHub issue: https://github.com/4IceG/luci-app-mini-diskmanager/issues/6

Currently, the ntfs-3g package is required when installing your package. Could you add support for an alternative package for nfts disks - kmod-fs-ntfs3 (available in OpenWrt 23.x and newer)?

Originally created by @Ser9ei on GitHub (Jan 11, 2026). Original GitHub issue: https://github.com/4IceG/luci-app-mini-diskmanager/issues/6 Currently, the ntfs-3g package is required when installing your package. Could you add support for an alternative package for nfts disks - kmod-fs-ntfs3 (available in OpenWrt 23.x and newer)?
kerem closed this issue 2026-03-04 12:04:53 +03:00
Author
Owner

@4IceG commented on GitHub (Jan 11, 2026):

I don't remember exactly, I may be mistaken, but aren't ntfs-3g and kmod-fs-ntfs3 related to each other?

<!-- gh-comment-id:3734455418 --> @4IceG commented on GitHub (Jan 11, 2026): I don't remember exactly, I may be mistaken, but aren't ntfs-3g and kmod-fs-ntfs3 related to each other?
Author
Owner

@Ser9ei commented on GitHub (Jan 11, 2026):

kmod-fs-ntfs3 is a modern kernel module, and users may choose to install it or the legacy ntfs-3g package for NTFS partitions. https://openwrt.org/docs/guide-user/storage/writable_ntfs.
The issue is that the ntfs-3g driver is installed when the package is installed, even though I already had the kernel module. I did not expect such behavior, and I do not need the ntfs-3g driver.

<!-- gh-comment-id:3734720712 --> @Ser9ei commented on GitHub (Jan 11, 2026): kmod-fs-ntfs3 is a modern kernel module, and users may choose to install it or the legacy ntfs-3g package for NTFS partitions. https://openwrt.org/docs/guide-user/storage/writable_ntfs. The issue is that the ntfs-3g driver is installed when the package is installed, even though I already had the kernel module. I did not expect such behavior, and I do not need the ntfs-3g driver.
Author
Owner

@4IceG commented on GitHub (Jan 11, 2026):

With kmod-fs-ntfs3 package, disk can be mounted but not formatted for that, user still need the ntfs-3g package.
I can remove package from the required dependencies, users will then install additional packages separately.

<!-- gh-comment-id:3735052830 --> @4IceG commented on GitHub (Jan 11, 2026): With kmod-fs-ntfs3 package, disk can be mounted but not formatted for that, user still need the ntfs-3g package. I can remove package from the required dependencies, users will then install additional packages separately.
Author
Owner

@obsy commented on GitHub (Jan 12, 2026):

ntfs-3g-utils which depends on ntfs-3g. This package should depend on ntfs-3g-utils.

But I have another suggestion: abandon the dependencies on +e2fsprogs +ntfs-3g +dosfstools +swap-utils and check your code for the presence of specific binaries. If they're not present, don't display formatting options for that filesystem.

<!-- gh-comment-id:3740099514 --> @obsy commented on GitHub (Jan 12, 2026): ntfs-3g-utils which depends on ntfs-3g. This package should depend on ntfs-3g-utils. But I have another suggestion: abandon the dependencies on +e2fsprogs +ntfs-3g +dosfstools +swap-utils and check your code for the presence of specific binaries. If they're not present, don't display formatting options for that filesystem.
Author
Owner

@4IceG commented on GitHub (Jan 12, 2026):

I'm beginning to regret making and sharing this package..

OK, I'll just leave those dependencies:
LUCI_DEPENDS:=+luci-base +block-mount +fdisk +parted +lsblk

Package is supposed to check the installed packages (that's how I do it in other packages and I don't want to change that).

I preferred to add more packages than fewer so that there would be no problems.
From what I see, there will be problems anyway, because one user only wants to mount ext4, another only uses vfat, and yet another will only format exfat. If I add few packages, it will be bad that there are few, if I add too many, it will be bad that there are too many.

Filesystem Required
ext2 e2fsprogs + kmod-fs-ext4
ext3 e2fsprogs + kmod-fs-ext4
ext4 e2fsprogs + kmod-fs-ext4
f2fs kmod-fs-f2fs + mkf2fs + f2fs-tools + f2fsck
vfat dosfstools + kmod-fs-vfat
ntfs ntfs-3g
exfat exfat-mkfs + kmod-fs-exfat + exfat-utils
swap swap-utils

I am open to suggestions, I will correct the dependencies.

<!-- gh-comment-id:3740399578 --> @4IceG commented on GitHub (Jan 12, 2026): I'm beginning to regret making and sharing this package.. OK, I'll just leave those dependencies: `LUCI_DEPENDS:=+luci-base +block-mount +fdisk +parted +lsblk` Package is supposed to check the installed packages (that's how I do it in other packages and I don't want to change that). I preferred to add more packages than fewer so that there would be no problems. From what I see, there will be problems anyway, because one user only wants to mount ext4, another only uses vfat, and yet another will only format exfat. If I add few packages, it will be bad that there are few, if I add too many, it will be bad that there are too many. | Filesystem | Required | |------------|-------------------| | **ext2** | `e2fsprogs` + `kmod-fs-ext4` | | **ext3** | `e2fsprogs` + `kmod-fs-ext4` | | **ext4** | `e2fsprogs` + `kmod-fs-ext4` | | **f2fs** | `kmod-fs-f2fs` + `mkf2fs` + `f2fs-tools` + `f2fsck` | | **vfat** | `dosfstools` + `kmod-fs-vfat` | | **ntfs** | `ntfs-3g` | | **exfat** | `exfat-mkfs` + `kmod-fs-exfat` + `exfat-utils` | | **swap** | `swap-utils` | I am open to suggestions, I will correct the dependencies.
Author
Owner

@obsy commented on GitHub (Jan 12, 2026):

ntfs: ntfs-3g-utils + ntfs-3g or kmod-fs-ntfs3

<!-- gh-comment-id:3740481923 --> @obsy commented on GitHub (Jan 12, 2026): ntfs: ntfs-3g-utils + ntfs-3g or kmod-fs-ntfs3
Author
Owner

@4IceG commented on GitHub (Jan 14, 2026):

ntfs: ntfs-3g-utils + ntfs-3g or kmod-fs-ntfs3

New package update already has limited dependencies, so I'm closing it.

<!-- gh-comment-id:3750580417 --> @4IceG commented on GitHub (Jan 14, 2026): > ntfs: ntfs-3g-utils + ntfs-3g or kmod-fs-ntfs3 New package update already has limited dependencies, so I'm closing it.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-mini-diskmanager#4
No description provided.