Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c9c93683
Commit
c9c93683
authored
Sep 03, 2003
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Plain Diff
Merge cantab.net:/home/aia21/bklinux-2.5
into cantab.net:/home/aia21/ntfs-2.6
parents
06cdb4a9
d170f09b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
153 additions
and
97 deletions
+153
-97
Documentation/filesystems/ntfs.txt
Documentation/filesystems/ntfs.txt
+102
-77
fs/Kconfig
fs/Kconfig
+49
-18
fs/ntfs/layout.h
fs/ntfs/layout.h
+2
-2
No files found.
Documentation/filesystems/ntfs.txt
View file @
c9c93683
This diff is collapsed.
Click to expand it.
fs/Kconfig
View file @
c9c93683
...
@@ -680,31 +680,45 @@ config UMSDOS_FS
...
@@ -680,31 +680,45 @@ config UMSDOS_FS
module, so saying M could be dangerous. If unsure, say N.
module, so saying M could be dangerous. If unsure, say N.
config NTFS_FS
config NTFS_FS
tristate "NTFS file system support
(read only)
"
tristate "NTFS file system support"
help
help
NTFS is the file system of Microsoft Windows NT/2000/XP. For more
NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.
information see <file:Documentation/filesystems/ntfs.txt>. Saying Y
here would allow you to read from NTFS partitions.
Saying Y or M here enables read support. There is partial, but
safe, write support available. For write support you must also
say Y to "NTFS write support" below.
There are also a number of user-space tools available, called
ntfsprogs. These include ntfsundelete and ntfsresize, that work
without NTFS support enabled in the kernel.
This is a rewrite from scratch of Linux NTFS support and replaced
the old NTFS code starting with Linux 2.5.11. A backport to
the Linux 2.4 kernel series is separately available as a patch
from the project web site.
For more information see <file:Documentation/filesystems/ntfs.txt>
and <http://linux-ntfs.sourceforge.net/>.
This file system is also available as a module ( = code which can be
This file system is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
inserted in and removed from the running kernel whenever you want).
The module will be called ntfs. If you want to compile it as a
The module will be called ntfs.
If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.
module, say M here and read <file:Documentation/modules.txt>.
If you are not using Windows NT
/2000/XP in addition to Linux on your
If you are not using Windows NT
, 2000, XP or 2003 in addition to
computer it is safe to say N.
Linux on your
computer it is safe to say N.
config NTFS_DEBUG
config NTFS_DEBUG
bool "NTFS debugging support"
bool "NTFS debugging support"
depends on NTFS_FS
depends on NTFS_FS
help
help
If you are experiencing any problems with the NTFS file system, say
If you are experiencing any problems with the NTFS file system, say
Y here. This will result in additional consistency checks to be
Y here.
This will result in additional consistency checks to be
performed by the driver as well as additional debugging messages to
performed by the driver as well as additional debugging messages to
be written to the system log. Note that debugging messages are
be written to the system log.
Note that debugging messages are
disabled by default. To enable them, supply the option debug_msgs=1
disabled by default.
To enable them, supply the option debug_msgs=1
at the kernel command line when booting the kernel or as an option
at the kernel command line when booting the kernel or as an option
to insmod when loading the ntfs module. Once the driver is active,
to insmod when loading the ntfs module.
Once the driver is active,
you can enable debugging messages by doing (as root):
you can enable debugging messages by doing (as root):
echo 1 > /proc/sys/fs/ntfs-debug
echo 1 > /proc/sys/fs/ntfs-debug
Replacing the "1" with "0" would disable debug messages.
Replacing the "1" with "0" would disable debug messages.
...
@@ -717,16 +731,33 @@ config NTFS_DEBUG
...
@@ -717,16 +731,33 @@ config NTFS_DEBUG
debugging messages while the misbehaviour was occurring.
debugging messages while the misbehaviour was occurring.
config NTFS_RW
config NTFS_RW
bool "NTFS write support
(DANGEROUS)
"
bool "NTFS write support"
depends on NTFS_FS
&& EXPERIMENTAL
depends on NTFS_FS
help
help
This enables the experimental write support in the NTFS driver.
This enables the partial, but safe, write support in the NTFS driver.
The only supported operation is overwriting existing files, without
changing the file length. No file or directory creation, deletion or
renaming is possible. Note only non-resident files can be written to
so you may find that some very small files (<500 bytes or so) cannot
be written to.
While we cannot guarantee that it will not damage any data, we have
so far not received a single report where the driver would have
damaged someones data so we assume it is perfectly safe to use.
Note: While write support is safe in this version (a rewrite from
scratch of the NTFS support), it should be noted that the old NTFS
write support, included in Linux 2.5.10 and before (since 1997),
is not safe.
WARNING: Do not use this option unless you are actively developing
This is currently useful with TopologiLinux. TopologiLinux is run
NTFS as it is currently guaranteed to be broken and you
on top of any DOS/Microsoft Windows system without partitioning your
may lose all your data!
hard disk. Unlike other Linux distributions TopologiLinux does not
need its own partition. For more information see
<http://topologi-linux.sourceforge.net/>
It is
strongly recommended and
perfectly safe to say N here.
It is perfectly safe to say N here.
endmenu
endmenu
...
...
fs/ntfs/layout.h
View file @
c9c93683
...
@@ -42,8 +42,8 @@
...
@@ -42,8 +42,8 @@
#define const_cpu_to_le32(x) __constant_cpu_to_le32(x)
#define const_cpu_to_le32(x) __constant_cpu_to_le32(x)
#define const_cpu_to_le64(x) __constant_cpu_to_le64(x)
#define const_cpu_to_le64(x) __constant_cpu_to_le64(x)
/* The NTFS oem_id */
/* The NTFS oem_id
"NTFS "
*/
#define magicNTFS const_cpu_to_le64(0x202020205346544e
)
/* "NTFS " */
#define magicNTFS const_cpu_to_le64(0x202020205346544e
ULL)
/*
/*
* Location of bootsector on partition:
* Location of bootsector on partition:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment