Modify

Opened 9 years ago

Closed 9 years ago

#2181 closed enhancement (fixed)

include kmod-fs-ntfs in build for read-only NTFS support

Reported by: anik@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

On brcm-2.4 platform there is total lack of NTFS support.
But it could be useful e.g. for Wi-Fi sharing of data from NTFS drive.

Why can't we just use built-in read-only NTFS driver from linux-2.4 kernel the same way we do it for other filesystems?

Index: target/linux/generic-2.4/config-template
===================================================================
--- target/linux/generic-2.4/config-template	(revision 8363)
+++ target/linux/generic-2.4/config-template	(working copy)
@@ -550,7 +550,7 @@
 CONFIG_NLS_UTF8=m
 CONFIG_NONCOHERENT_IO=y
 # CONFIG_NS83820 is not set
-# CONFIG_NTFS_FS is not set
+CONFIG_NTFS_FS=m
 # CONFIG_NTFS_RW is not set
 # CONFIG_NVRAM is not set
 # CONFIG_OLIVETTI_M700 is not set
Index: package/kernel/modules/fs.mk
===================================================================
--- package/kernel/modules/fs.mk	(revision 8363)
+++ package/kernel/modules/fs.mk	(working copy)
@@ -46,6 +46,16 @@
 endef
 $(eval $(call KernelPackage,fs-ext3))
 
+define KernelPackage/fs-ntfs
+  TITLE:=NTFS filesystem support
+  DESCRIPTION:=Kernel module for NTFS filesystem support
+  KCONFIG:=CONFIG_NTFS_FS
+  SUBMENU:=$(FSMENU)
+  AUTOLOAD:=$(call AutoLoad,30,ntfs)
+  FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,fs-ntfs))
+
 define KernelPackage/fs-hfs
   TITLE:=HFS+ filesystem support
   DESCRIPTION:=Kernel module for HFS filesystem support

This results in building "kmod-fs-ntfs" package.

Possible drawback of this solution is that it builds driver on all platforms.
But NTFS support on 2.6-based images is now done using fuse/ntfs-3g.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Added in [8396], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.