1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
diff -ur linux-2.1.72.0/Documentation/Configure.help linux-2.1.72.new/Documentation/Configure.help
--- linux-2.1.72.0/Documentation/Configure.help Thu Dec 11 22:35:13 1997
+++ linux-2.1.72.new/Documentation/Configure.help Fri Dec 12 16:58:26 1997
@@ -4725,6 +4725,20 @@
want). The module is called hpfs.o. If you want to compile it as a
module, say M here and read Documentation/modules.txt. If unsure,
say N.
+
+Windows NT NTFS support (read only)
+CONFIG_NTFS_FS
+ NTFS is the file system of Microsoft Windows NT. Say Y if you want
+ to access partitions using this file system. The Linux NTFS driver
+ supports most of the mount options of the VFAT driver, see
+ Documentation/filesystems/ntfs.txt. There is an experimental
+ write support available; use at your own risk.
+
+NTFS read-write support (experimental)
+CONFIG_NTFS_RW
+ The read-write support in NTFS is far from being complete and well
+ tested. If you enable this, be prepared to recover the NTFS volume
+ from tape.
System V and Coherent filesystem support
CONFIG_SYSV_FS
diff -ur linux-2.1.72.0/fs/Config.in linux-2.1.72.new/fs/Config.in
--- linux-2.1.72.0/fs/Config.in Thu Dec 11 22:35:17 1997
+++ linux-2.1.72.new/fs/Config.in Fri Dec 12 16:58:27 1997
@@ -53,6 +53,12 @@
tristate 'NCP filesystem support (to mount NetWare volumes)' CONFIG_NCP_FS
fi
tristate 'OS/2 HPFS filesystem support (read only)' CONFIG_HPFS_FS
+
+tristate 'NTFS filesystem support (read only)' CONFIG_NTFS_FS
+if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+ bool ' NTFS read-write support (experimental)' CONFIG_NTFS_RW
+fi
+
tristate 'System V and Coherent filesystem support' CONFIG_SYSV_FS
tristate 'Amiga FFS filesystem support' CONFIG_AFFS_FS
tristate 'ROM filesystem support' CONFIG_ROMFS_FS
diff -ur linux-2.1.72.0/fs/Makefile linux-2.1.72.new/fs/Makefile
--- linux-2.1.72.0/fs/Makefile Thu Dec 11 22:34:33 1997
+++ linux-2.1.72.new/fs/Makefile Fri Dec 12 16:58:27 1997
@@ -16,7 +16,7 @@
inode.o dcache.o attr.o bad_inode.o $(BINFMTS)
MOD_LIST_NAME := FS_MODULES
-ALL_SUB_DIRS = coda minix ext2 fat msdos vfat proc isofs nfs umsdos \
+ALL_SUB_DIRS = coda minix ext2 fat msdos vfat proc isofs nfs umsdos ntfs \
hpfs sysv smbfs ncpfs ufs affs romfs autofs lockd nfsd nls
ifeq ($(CONFIG_QUOTA),y)
@@ -167,6 +167,14 @@
else
ifeq ($(CONFIG_HPFS_FS),m)
MOD_SUB_DIRS += hpfs
+ endif
+endif
+
+ifeq ($(CONFIG_NTFS_FS),y)
+SUB_DIRS += ntfs
+else
+ ifeq ($(CONFIG_NTFS_FS),m)
+ MOD_SUB_DIRS += ntfs
endif
endif
diff -ur linux-2.1.72.0/fs/filesystems.c linux-2.1.72.new/fs/filesystems.c
--- linux-2.1.72.0/fs/filesystems.c Thu Dec 11 22:31:47 1997
+++ linux-2.1.72.new/fs/filesystems.c Fri Dec 12 16:59:18 1997
@@ -24,6 +24,7 @@
#include <linux/ufs_fs.h>
#include <linux/romfs_fs.h>
#include <linux/auto_fs.h>
+#include <linux/ntfs_fs.h>
#include <linux/major.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
@@ -103,6 +104,10 @@
#ifdef CONFIG_HPFS_FS
init_hpfs_fs();
+#endif
+
+#ifdef CONFIG_NTFS_FS
+ init_ntfs_fs();
#endif
#ifdef CONFIG_AFFS_FS
diff -ur linux-2.1.72.0/fs/nls/Config.in linux-2.1.72.new/fs/nls/Config.in
--- linux-2.1.72.0/fs/nls/Config.in Thu Dec 11 22:31:16 1997
+++ linux-2.1.72.new/fs/nls/Config.in Fri Dec 12 17:09:35 1997
@@ -6,7 +6,8 @@
comment 'Native Language Support'
# msdos and Joliet want NLS
-if [ "$CONFIG_JOLIET" = "y" -o "$CONFIG_FAT_FS" != "n" ]; then
+if [ "$CONFIG_JOLIET" = "y" -o "$CONFIG_FAT_FS" != "n" \
+ -o "$CONFIG_NTFS_FS" != "n" ]; then
define_bool CONFIG_NLS y
else
define_bool CONFIG_NLS n
diff -ur linux-2.1.72.0/include/linux/fs.h linux-2.1.72.new/include/linux/fs.h
--- linux-2.1.72.0/include/linux/fs.h Thu Dec 11 22:35:19 1997
+++ linux-2.1.72.new/include/linux/fs.h Fri Dec 12 16:58:27 1997
@@ -252,6 +252,7 @@
#include <linux/minix_fs_i.h>
#include <linux/ext2_fs_i.h>
#include <linux/hpfs_fs_i.h>
+#include <linux/ntfs_fs_i.h>
#include <linux/msdos_fs_i.h>
#include <linux/umsdos_fs_i.h>
#include <linux/iso_fs_i.h>
@@ -351,6 +352,7 @@
struct minix_inode_info minix_i;
struct ext2_inode_info ext2_i;
struct hpfs_inode_info hpfs_i;
+ struct ntfs_inode_info ntfs_i;
struct msdos_inode_info msdos_i;
struct umsdos_inode_info umsdos_i;
struct iso_inode_info isofs_i;
@@ -488,6 +490,7 @@
#include <linux/minix_fs_sb.h>
#include <linux/ext2_fs_sb.h>
#include <linux/hpfs_fs_sb.h>
+#include <linux/ntfs_fs_sb.h>
#include <linux/msdos_fs_sb.h>
#include <linux/iso_fs_sb.h>
#include <linux/nfs_fs_sb.h>
@@ -522,6 +525,7 @@
struct minix_sb_info minix_sb;
struct ext2_sb_info ext2_sb;
struct hpfs_sb_info hpfs_sb;
+ struct ntfs_sb_info ntfs_sb;
struct msdos_sb_info msdos_sb;
struct isofs_sb_info isofs_sb;
struct nfs_sb_info nfs_sb;
|