Commit Graph

3261 Commits (713fbb390e25091c126622cb0f80d0fbe0759e89)
 

Author SHA1 Message Date
Erik Larsson 713fbb390e Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0
Conflicts:
	configure.ac
	include/ntfs/Makefile.am
	include/ntfs/attrib.h
	include/ntfs/bitmap.h
	include/ntfs/collate.h
	include/ntfs/debug.h
	include/ntfs/dir.h
	include/ntfs/endians.h
	include/ntfs/index.h
	include/ntfs/inode.h
	include/ntfs/layout.h
	include/ntfs/logfile.h
	include/ntfs/logging.h
	include/ntfs/mft.h
	include/ntfs/ntfstime.h
	include/ntfs/runlist.h
	include/ntfs/support.h
	include/ntfs/types.h
	include/ntfs/unistr.h
	include/ntfs/volume.h
	libntfs/Makefile.am
	libntfs/attrib.c
	libntfs/attrlist.c
	libntfs/bitmap.c
	libntfs/bootsect.c
	libntfs/collate.c
	libntfs/compress.c
	libntfs/debug.c
	libntfs/device.c
	libntfs/device_io.c
	libntfs/dir.c
	libntfs/index.c
	libntfs/inode.c
	libntfs/lcnalloc.c
	libntfs/logfile.c
	libntfs/logging.c
	libntfs/mft.c
	libntfs/mst.c
	libntfs/runlist.c
	libntfs/security.c
	libntfs/unistr.c
	libntfs/unix_io.c
	libntfs/volume.c
	libntfs/win32_io.c
	ntfsprogs/Makefile.am
	ntfsprogs/mkntfs.c
	ntfsprogs/ntfscat.c
	ntfsprogs/ntfsclone.c
	ntfsprogs/ntfscmp.c
	ntfsprogs/ntfscp.c
	ntfsprogs/ntfsinfo.c
	ntfsprogs/ntfsmount.8.in
	ntfsprogs/ntfsmount.c
	ntfsprogs/ntfsundelete.c
	ntfsprogs/upcase.c
2010-12-02 22:31:21 +01:00
Erik Larsson 6f42c011be ntfswipe.c: Adapt to the changed interface of ntfs_rl_pwrite in libntfs-3g.
ntfs_rl_pwrite has an additional parameter, ofs, in libntfs-3g. Setting ofs to 0 seems to imply the same behaviour as expected from the libntfs equivalent.
2010-12-02 17:03:08 +01:00
Erik Larsson 7478b2396c ntfsmove.c: Adapted calls to ntfs_get_size_for_mapping_pairs to the libntfs-3g interface.
Note: libntfs-3g has a 'max_size' variable to cap the size calculation, but this variable is frequently set to INT_MAX in the libntfs-3g code itself when there is no desire to limit the size calculation. We will do the same here.
2010-12-02 16:56:27 +01:00
Erik Larsson 13bef7f308 ntfstruncate.c: Changed one reference to ntfs_mbstoucs into ntfs_mbstoucs_libntfscompat. 2010-12-02 16:51:49 +01:00
Erik Larsson 196f7f6461 Commented out all references to 'version.h' in the 'extra' utilities until libntfs-3g supports such functionality. 2010-12-02 16:49:56 +01:00
Erik Larsson 07bc8d9d17 Redirected all libntfs includes in the 'extra' utilities to libntfs-3g. 2010-12-02 16:47:06 +01:00
Erik Larsson a0ee1d225d Redirected libntfs includes in gnome-vfs-method.c to libntfs-3g. (And fixed Makefile.am accordingly.) 2010-12-02 16:38:39 +01:00
Erik Larsson 5b9b4c7e49 Removing all references to the libntfs library version until we have such functionality in libntfs-3g. 2010-12-02 16:38:16 +01:00
Erik Larsson bcc00717b0 The legacy FUSE module (ntfsmount) goes away. (ntfs-3g takes care of that part.) 2010-12-02 16:37:57 +01:00
Erik Larsson fc989c67b5 Removed the automatic 'configure' that happens in autogen.sh. It was really annoying me. 2010-12-02 16:37:47 +01:00
Erik Larsson 6d92eb591c Re-added include/ and libntfs/ to the root Makefile.am. 2010-12-02 16:37:34 +01:00
Erik Larsson e20dad4854 Keeping include/ directory for now (and away goes the 'list.h' symlink). 2010-12-02 16:37:23 +01:00
Erik Larsson f893a421c2 Removed libntfs-specific sources. 2010-12-02 16:37:09 +01:00
Erik Larsson c3fa61b4e1 Added symlink to list.h. 2010-12-02 16:36:50 +01:00
Erik Larsson c3571d8cde configure.ac: Fixed typo in error message. 2010-12-02 16:36:39 +01:00
Erik Larsson 3e34aebfc3 Temporary fix while the ntfs_file_values_compare situation is resolved.
Revert if ntfs_file_values_compare is re-added to libntfs-3g, and clean up otherwise.
2010-12-02 16:36:18 +01:00
Erik Larsson 4a641c85e0 Adapted code to latest libntfs-3g, based on PERMISSION_HANDLING_BRANCH. Now requires libntfs-3g version 2010.5.22 minimum. 2010-12-02 16:35:27 +01:00
Erik Larsson 16ba09b70f Introduced a pkg-config check for libntfs-3g at configure time, using the CFLAGS and LDFLAGS specified in the .pc file. 2010-12-02 16:35:12 +01:00
Erik Larsson 9e20bbeec4 This port of ntfsprogs doesn't need the old libntfs, so don't compile it (disregard completely). 2010-12-02 16:34:51 +01:00
Erik Larsson 7a3ddf1e14 Modernized check for libgnutls using pkg-config. (Had to do it, since libgnutls doesn't have the necessary .m4 file in more recent releases.) 2010-12-02 16:34:41 +01:00
Erik Larsson 36b876375e Commented out all instances of MS_NOATIME being passed to ntfs_mount, as libntfs-3g does not support that flag.
In fact, this is how libntfs-3g operates normally, so the MS_NOATIME flag is not needed. However, other utilities might incorrectly assume that the library updates access times for them.
Investigating whether access time needs to be manually updated in other utilities is TODO.
2010-12-02 16:31:43 +01:00
Erik Larsson ee3297311d utils.h: Fixed absent definition of MAX_PATH by copying the definition from libntfs's headers (dir.h). 2010-12-02 16:16:47 +01:00
Erik Larsson 9b6523ab42 mkntfs.c: Signature of 'ntfs_boot_sector_is_ntfs' has changed in libntfs-3g (unused variable 'silent' has been removed). 2010-12-02 16:13:25 +01:00
Erik Larsson 058e47afbd Updated references to members of INDEX_HEADER and INDEX_ENTRY that have been renamed in libntfs-3g.
INDEX_HEADER: flags -> ih_flags
INDEX_ENTRY: flags -> ie_flags
2010-12-02 16:10:18 +01:00
Erik Larsson b538215ddb Replaced all occurrences of ntfs_mbstoucs with a compatibility wrapper function (ntfs_mbstoucs_libntfscompat).
The interface and semantics of ntfs_mbstoucs differ between libntfs and libntfs-3g, so this compatibility wrapper tries to address the differences.
2010-12-02 16:05:22 +01:00
Erik Larsson f03d683fa0 Commented out all references to 'version.h' (which doesn't exist in libntfs-3g) and added a stub implementation of ntfs_libntfs_version in utils.h to allow things to compile. 2010-12-02 15:58:14 +01:00
Erik Larsson 1860eff1da Updated all includes in the basic ntfsprogs utilities for libntfs-3g. 2010-12-02 15:57:58 +01:00
Erik Larsson 237b937a65 Updated build configuration of ntfsprogs to use libntfs-3g's includes and libraries. 2010-12-02 15:57:43 +01:00
Erik Larsson 8bed21697d configure.ac: Appended a tail to the version number to show that this is a version meant to be used with the ntfs-3g libraries. Also changed the email address to indicate that this fork is managed by the ntfs-3g developers. 2010-12-02 15:57:28 +01:00
Yura Pakhuchiy eb8307dac3 Add libntfs sample config to EXTRA_DIST 2007-09-29 01:09:10 +03:00
Anton Altaparmakov e0e71a3776 Fix grammar in NEWS and add a few useful extra outputs about the
attribute list attribute in ntfsinfo.c.  (Anton)
2007-09-28 21:07:15 +01:00
Yura Pakhuchiy ae99cc4199 Update changelog 2007-09-28 16:52:47 +03:00
Yura Pakhuchiy 2f33075993 Apply fix from crypto.c to ntfsdecrypt 2007-09-27 16:41:22 +03:00
Yura Pakhuchiy 2d645bae53 Apply latest CVS on top. I will rewrite history properly later. 2007-09-27 16:36:53 +03:00
Yura Pakhuchiy e2deb0dad4 ntfsmount: Fill .st_mode in readdir(). (Szaka, Yura) 2007-09-27 16:29:57 +03:00
Yura Pakhuchiy 2b1ef811e6 Add NTFS_MNT_INTERIX mount option to make libntfs recognize Interix files.
At present it influence only on ntfs_filldir(), but we can have ntfs_stat() and
other functions on which it will make more influence later.
2007-09-27 15:58:42 +03:00
Yura Pakhuchiy f24415abaa update AUTHORS 2007-09-26 23:08:23 +03:00
Yura Pakhuchiy a3a077dcef Update NEWS 2007-09-26 23:06:50 +03:00
Yura Pakhuchiy c0005bfa0f Add libntfs man page to build system 2007-09-26 22:51:41 +03:00
Yura Pakhuchiy a92649480c Add man-page for libntfs 2007-09-26 22:41:28 +03:00
Yura Pakhuchiy d54ad2d637 ntfsmount man page update 2007-09-26 18:19:08 +03:00
Yura Pakhuchiy 48e033623d ntfsmount: Do not allow user mount devices he normally do not have rights to 2007-09-25 14:42:33 +03:00
Yura Pakhuchiy f7068cf989 ntfscp docs update 2007-09-24 21:58:02 +03:00
Yura Pakhuchiy 45a641b408 ntfsmount: Fix recently introduced bug in attribute/inode close ordering in case if ntfs_fuse_open() failed. 2007-09-24 21:08:32 +03:00
Yura Pakhuchiy ad8097aa55 ntfsmount: minor memory managment fix 2007-09-24 20:27:54 +03:00
Yura Pakhuchiy 1b5fb2693c Introduce NTFS_ON_DEBUG macro to add one-liners which would be executed only if DEBUG is defined.
And use it to shut up valgrind crying about writing of unitialized buffer (we do not initialize part of attribute list left for padding)
2007-09-24 19:21:16 +03:00
Yura Pakhuchiy a81520731c Install mount.fuse.ntfs symlink (to match mount with subtype=ntfs option) 2007-09-23 00:50:45 +03:00
Yura Pakhuchiy 42f475f552 ntfsmount: Cache directory in which was performed last operation 2007-09-23 00:37:49 +03:00
Yura Pakhuchiy 36b8f621f9 libntfs: Sync and warn about not closed inodes in ntfs_umount 2007-09-23 00:36:18 +03:00
Yura Pakhuchiy 72ae9ade7e ntfs_delete: Add sanity check for case when user tries to delete inode with several references 2007-09-22 23:19:09 +03:00