mirror of
https://github.com/4IceG/luci-app-mini-diskmanager.git
synced 2026-04-26 19:15:57 +03:00
[GH-ISSUE #6] ntfs-3g driver is not required for NTFS-type partition support #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-mini-diskmanager#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)?
@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?
@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.
@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.
@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.
@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 +lsblkPackage 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.
e2fsprogs+kmod-fs-ext4e2fsprogs+kmod-fs-ext4e2fsprogs+kmod-fs-ext4kmod-fs-f2fs+mkf2fs+f2fs-tools+f2fsckdosfstools+kmod-fs-vfatntfs-3gexfat-mkfs+kmod-fs-exfat+exfat-utilsswap-utilsI am open to suggestions, I will correct the dependencies.
@obsy commented on GitHub (Jan 12, 2026):
ntfs: ntfs-3g-utils + ntfs-3g or kmod-fs-ntfs3
@4IceG commented on GitHub (Jan 14, 2026):
New package update already has limited dependencies, so I'm closing it.