NTFS-3G Safe Read/Write NTFS Driver
 
 
 
 
Go to file
!flatcap 87b71bf318 add ntfsundelete to the build. fix rpm build. trawl for typos.
2002/07/15 18:12:51-00:00 !antona
Update change log.

2002/07/15 18:10:23-00:00 !antona
update changelog

2002/07/14 17:41:48-00:00 !antona
Update changelog

2002/07/12 08:23:42-00:00 !antona
update changelog

2002/07/08 06:23:22-00:00 !antona
Don't use string concatenation with __FUNCTION__ as gcc-3.x don't like it.

2002/07/08 00:09:41-00:00 !antona
Implement attrib.[hc]::ntfs_rl_pwrite(). Fix a dumb bug in ntfs_attr_pwrite().

2002/07/06 20:22:56-00:00 !antona
Typo fix

2002/07/06 20:07:58-00:00 !antona
New API for compressing run lists into mapping pairs arrays and adapt mkntfs to that API. Addition of ntfs_walk_attrs().

2002/07/05 21:15:31-00:00 !uid28698
- Enable enumeration of attributes using ntfs_lookup_attr() which is
  requested by passing a type of AT_UNUSED (or simply zero) to
  ntfs_lookup_attr(). (Based on initial patch by Szakacsits Szabolcs.)
- Fix two minor buglets in ntfs_find_external_attr() where we would
  continue the search when we detect a mismatched type and/or name
  instead of aborting and returning error EIO to flag the corruption.

2002/07/05 17:07:48-00:00 !antona
Better gcc detection in 'configure.in'. (Szakacsits Szabolcs)

2002/07/02 23:47:10-00:00 !antona
Global replacement of __[su]{8,16,32,64} with [su]{8,16,32,64} and layout.h define it.

2002/06/08 14:12:00-00:00 !antona
ntfs_readdir() has arrived.

2002/06/06 20:47:28-00:00 !antona
The beginning of the directory operations! Introduce dir.[hc] and ntfs_lookup_inode_by_name().

2002/06/05 20:32:52-00:00 !antona
Mft mirror now updated from ntfs_write_mft_record, yey! Fixup ntfstools accordingly.

2002/06/04 12:12:41-00:00 !antona
Final POSIXification of disk_io functions. (famous last words)

2002/06/02 23:09:43-00:00 !antona
Update changelog and my todo

2002/06/02 23:02:20-00:00 !antona
More fixes and updates.

2002/06/02 13:57:58-00:00 !antona
Fix detection of read-only mounts in volume.c::ntfs_check_mnteent().

2002/06/01 00:41:44-00:00 !antona
huge update!

2002/05/19 18:37:27-00:00 !antona
Commit the change log and current todo file so people have a glimpse of what I am upto...

2002/04/29 12:58:34-00:00 !antona
Finish ntfs_attr_pread and ntfs_attr_mst_pread.

2002/04/29 01:53:55-00:00 !antona
Loads of stuff. Improvements, start on attr pread and attr mst_pread. Write to follow. ntfslabel cleanup and extensions. libntfs cleanups, fixes, etc.

2002/04/27 19:49:09-00:00 !antona
Update library, new APIs ntfs_attr_find_vcn(), misc fixes and cleanups, make all the utilities compile, fix bugs I noticed in ntfslabel and it now works properly.

2002/04/24 23:47:40-00:00 !antona
Hammer out the API for run list merging. Add calls for low level (using raw run lists and ATTR_RECORDs as parameters) run list merging, mappaing pairs decompression, and vcn to lcn conversion as well as high level (using ntfs_attr as parameter) calls for run list mapping and vcn to lcn conversion.

2002/04/24 19:02:07-00:00 !antona
Add new API ntfs_attr_{get,put}.

2002/04/24 01:37:36-00:00 !antona
New api call is_boot_sector_ntfs. A few folding help cleanups.

2002/04/23 23:27:32-00:00 !antona
Fixup the force option in mkntfs.c. Change the ntfs_check_if_mounted so it works on system not implementing {set,get,end}mntent, too. Also make it more powerful in telling us not only if something is mounted but also if it is the fs root and if it is read-only.

2002/04/22 10:34:31-00:00 !antona
Attribute list support (merging done, part 2, some stuff still incomplete). mkntfs ntfs volume creation. See the changelog...

2002/04/21 01:26:39-00:00 !antona
Cleanup/streamline include file dependencies.

2002/04/20 23:10:18-00:00 !antona
Forgot something

2002/04/20 23:09:42-00:00 !antona
Port attribute lookup functions with attribute list support from ntfs tng driver. Port/reimplement extent mft record handling code as well. Rename out all dollar signs from type names and constants. Adapt all callers to new API. Note mkntfs is currently broken due to some needed work.

2002/04/20 01:53:02-00:00 !antona
Rename mft code adding ntfs_ prefix. Change all return values to zero on success. Thanks to mattjf for pointing out the inconsistencies.

2002/04/19 21:48:31-00:00 !antona
Add a TODO list for the library in form of my personal roadmap. People can use that to pick things to work on if they want...

2002/04/19 21:09:54-00:00 !antona
Finished provisional inode.c::ntfs_{open,close}_inode() functions. Also, started defining API provided by attrib.[ch], so far only done search context related stuff.

2002/04/19 18:23:55-00:00 !antona
Add foundation of new inode API.

2002/04/18 18:15:45-00:00 !antona
Define API for bootsect.[ch]: is_boot_sector_ntfs().

2002/04/18 17:20:05-00:00 !antona
New API function provided by unistr.[ch]: ntfs_mbstoucs()

2002/04/16 20:56:01-00:00 !antona
Add new API unistr.[ch]: ntfs_ucstombs() and make ntfslabel use it

2002/04/16 12:13:52-00:00 !antona
New API function mft.[ch]::read_file_record(). Also some cleanups.

2002/04/15 20:07:58-00:00 !antona
Update

2002/04/15 17:51:26-00:00 !antona
read/write_mft_record(s) are here

2002/04/14 15:26:23-00:00 !antona
Remove find_first_attr and make all users use get_attr_search_ctx + find_attr instead.

2002/04/14 14:20:10-00:00 !antona
Prepare changelog to accept a long list of changes. (-;

2002/04/12 15:35:27-00:00 !antona
Fix hopefully last typo. (-:

2002/04/12 15:23:47-00:00 !antona
Cleanup ntfslabel, write a man page for it, integrate it all in the distribution properly, silence output from ntfs_mount() (conditional on running configure with --enable-debug), update all docs accordingly. Add Rich and Matt to AUTHORS.

2002/03/12 21:55:30-00:00 !antona
Update docs and bump version to 1.6.0.

2002/03/12 21:48:27-00:00 !antona
Change version numbers of mkntfs and ntfsfix to match linux-ntfs release and add options to mkntfs to disable content indexing on the volume and to enable compression on the volume.

2002/03/12 00:34:35-00:00 !antona
Fix typo in mkntfs usage information.

2002/02/01 02:46:16-00:00 !antona
Attempt to fix compile warnings on powerpc.

2002/01/26 03:21:07-00:00 !antona
Preparations for 1.5.1 release.

2002/01/26 02:28:29-00:00 !antona
Update docs.

2002/01/10 11:04:44-00:00 !antona
Updates to spec file for dependencies.

2002/01/10 10:54:27-00:00 !antona
Updates

2002/01/10 10:43:04-00:00 !antona
Update changelog.

2002/01/10 10:19:29-00:00 !antona
Update changelog.

2001/12/15 05:28:50-00:00 !antona
Fix abortion in mkntfs due to weird error code EINVAL in seek.

2001/12/15 05:13:08-00:00 !antona
Remove atomic ops and add compiler version check.

2001/12/06 01:14:52-00:00 !antona
Added mount flags to ntfs_mount and adapted utilities to new mount syntax.

2001/11/17 01:57:53-00:00 !antona
Update build system with new document.

2001/11/10 19:02:37-00:00 !antona
Update changelog with release version numbers.

2001/11/10 14:17:39-00:00 !antona
Enhance mkntfs' device size determination.

2001/11/09 23:36:16-00:00 !antona
Bug fixes

2001/11/09 21:30:51-00:00 !antona
Considering added functionality change version number to 1.3.0, update docs and mkntfs man page.

2001/11/09 19:24:23-00:00 !antona
With lots of luck this is going to be 1.2.3.

2001/11/09 18:24:32-00:00 !antona
Updates to docs, layout.h and ntfsfix to support Windows XP NTFS

2001/08/27 16:58:07-00:00 !antona
Updates.

2001/08/02 01:44:56-00:00 !antona
Add ntfsfix man page and spell fixes. Update to 1.2.1 version and update all text files to go with it and the rpm spec file.

2001/07/25 23:11:49-00:00 !antona
Update text files

2001/07/25 13:43:10-00:00 !antona
1.0.2 release. Mkntfs now in sbin and minor bugfix to mkntfs man page.

2001/07/24 17:41:01-00:00 !antona
Minor updates and restructuring the distribution. See NEWS and ChangeLog for
details.

2001/06/11 04:02:08-00:00 !antona
Linux-NTFS 1.0.0-pre-1 - FEATURE FREEZE
=======================================
mkntfs complete with option parsing and more cool things.
mkntfs man page complete.
info files updated.

TODO Before 1.0.0 final:

- Test mkntfs options & mkntfs itself.
- Test tar ball generation.
- Test rpm generation.

2001/06/10 18:30:16-00:00 !antona
Preparations for the 0.1.0 release. Updating documentation and information.
Updating rpm generation and added mkntfs man page which currently is not
accurate as it shows all the mke2fs options in it while mkntfs doesn't actually
accept any options except for device at all but it is a good starting point.

2001/02/02 01:15:17-00:00 !antona
Updated documentation and other text files. Preparing for initial release.

2001/02/02 00:16:18-00:00 !antona
Changed make process to using autoconf/automake/libtool.
Added necessary files for this and for the gnu standard.
Inititial checkin. Probably still stuff missing. Will know soon...

(Logical change 1.5)
2002-08-22 18:09:47 +00:00
BitKeeper/etc Don't ask each user if they agree to open logging. 2002-08-22 14:44:22 +00:00
doc Initial revision 2002-08-22 18:09:47 +00:00
include AT_NONAME -> AT_UNNAMED 2002-08-22 18:09:47 +00:00
libntfs AT_NONAME -> AT_UNNAMED 2002-08-22 18:09:47 +00:00
ntfstools a couple of new bits, nothing original 2002-08-22 18:09:47 +00:00
AUTHORS add ntfsundelete to the build. fix rpm build. trawl for typos. 2002-08-22 18:09:47 +00:00
COPYING Updates 2002-08-22 18:09:47 +00:00
CREDITS Add Szakacsits Szabolcs <szaka@sienet.hu> (and myself) to CREDITS. 2002-08-22 18:09:47 +00:00
ChangeLog add ntfsundelete to the build. fix rpm build. trawl for typos. 2002-08-22 18:09:47 +00:00
ChangeSet Initial revision 2002-08-22 14:28:33 +00:00
INSTALL Forgot that one. 2002-08-22 18:09:47 +00:00
Makefile.am "configure --enable-really-static" and "make strip" 2002-08-22 18:09:47 +00:00
Makefile.in "configure --enable-really-static" and "make strip" 2002-08-22 18:09:47 +00:00
NEWS add ntfsundelete to the build. fix rpm build. trawl for typos. 2002-08-22 18:09:47 +00:00
README add ntfsundelete to the build. fix rpm build. trawl for typos. 2002-08-22 18:09:47 +00:00
TODO.include Concolidate TODO files 2002-08-22 18:09:47 +00:00
TODO.libntfs Update todo file. 2002-08-22 18:09:47 +00:00
TODO.ntfstools Initial revision 2002-08-22 18:09:47 +00:00
acconfig.h It has been a long time since last commit. At moment have done a lot of work 2002-08-22 18:09:47 +00:00
aclocal.m4 huge update! 2002-08-22 18:09:47 +00:00
autogen.sh More files. 2002-08-22 18:09:47 +00:00
config.guess It has been a long time since last commit. At moment have done a lot of work 2002-08-22 18:09:47 +00:00
config.h.in Cleanup the build process a bit. 2002-08-22 18:09:47 +00:00
config.sub It has been a long time since last commit. At moment have done a lot of work 2002-08-22 18:09:47 +00:00
configure "configure --enable-really-static" and "make strip" 2002-08-22 18:09:47 +00:00
configure.in "configure --enable-really-static" and "make strip" 2002-08-22 18:09:47 +00:00
install-sh Had to change symbolic links to files to get cvs to accept them. 2002-08-22 18:09:47 +00:00
linux-ntfs.spec.in add ntfsundelete to the build. fix rpm build. trawl for typos. 2002-08-22 18:09:47 +00:00
ltconfig Had to change symbolic links to files to get cvs to accept them. 2002-08-22 18:09:47 +00:00
ltmain.sh Minor updates and restructuring the distribution. See NEWS and ChangeLog for 2002-08-22 18:09:47 +00:00
missing Had to change symbolic links to files to get cvs to accept them. 2002-08-22 18:09:47 +00:00
mkinstalldirs Had to change symbolic links to files to get cvs to accept them. 2002-08-22 18:09:47 +00:00
stamp-h.in More files. 2002-08-22 18:09:47 +00:00

README

Linux-NTFS
==========

The Linux-NTFS project aims to bring full support for the NTFS filesystem to
the Linux operating system.

Linux-NTFS is copyright (c) 2000-2002 Anton Altaparmakov.

All of the contents of the Linux-NTFS project are free software, released under
the GNU General Public License and you are welcome to redistribute them under
certain conditions.
All the libraries and utilities come with ABSOLUTELY NO WARRANTY; for details
read the GNU General Public License to be found in the file COPYING in the main
Linux-NTFS distribution directory.
 
Linux-NTFS currently consists of the NTFS library (libntfs) and utilities
(ntfstools). In the future it will also contain a new NTFS driver for the
Linux kernel.

The Linux-NTFS project is registered on Sourceforge.net. The home page for
Linux-NTFS is http://linux-ntfs.sf.net/ and the project page is:
http://sf.net/projects/linux-ntfs/

If you would like to take part in the development of Linux-NTFS, you are
invited to subscribe to the development mailing list,
linux-ntfs-dev@lists.sourceforge.net. The easiest way to do this is to visit
the list page on sourceforge at:
	http://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev

If you would like to be kept up to date about new releases and other Linux-NTFS
announcements, subscribe to the linux-ntfs-announce mailing list (very low
volume). The easiest way to do this is to visit the list page on sourceforge at:
	http://lists.sourceforge.net/lists/listinfo/linux-ntfs-announce

NTFS library
============

Provides common NTFS access functions to the ntfstools and other foreign
open source applications. Note, that the library is still under heavy
development and doesn't include the majority of functionality yet. It only
is capable of just about supporting the current ntfstools, so I wouldn't 
recommend using it for your own applications at this stage.

NTFS utilities
==============

The ntfstools will eventually include utilities for doing all required tasks
to NTFS partitions. In general, just run a utility without any command line
options to display the version number and usage syntax.

The following utilities are so far implemented:

NtfsFix - Attempt to fix an NTFS partition that has been damaged by the Linux
NTFS driver. Note that you should run it every time after you have used the
Linux NTFS driver to write to an NTFS partition to prevent massive data
corruption from happening when Windows mounts the partition.
IMPORTANT: Run this only *after* unmounting the partition in Linux but *before*
rebooting into Windows NT/2000 or you *will* suffer! - You have been warned!
See man 8 ntfsfix for details.

mkntfs - Format a partition with the NTFS filesystem. See man 8 mkntfs for
command line options.

ntfslabel - Display/change the label of an NTFS partition. See man 8 ntfslabel
for details.

ntfsundelete - Recover deleted files from an NTFS volume.  See man 8
ntfsundelete for more details.