Commit Graph

1006 Commits (fc989c67b52f89a1cf3803d7814680dace686312)

Author SHA1 Message Date
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 c3fa61b4e1 Added symlink to list.h. 2010-12-02 16:36:50 +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 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
szaka f61d45b970 fix 64 bit destination size calculation on Mac OS X 2006-06-15 18:43:24 +00:00
aia21 c0f991b525 - Fix STUPID vcn printing bug in ntfsinfo that waster over 18 hours of my life
trying to debug the ntfs driver when it was ntfsinfo that was wrong. )))-:

- Switch vcn output in index listings to show the vcn in hex not decimal.

- Show index block flags for each index block.
2006-05-20 21:27:15 +00:00
aia21 14659dfc20 Fix ntfsmount compilation. 2006-05-19 04:22:53 +00:00
uvman 02194004ab mkntfs.c refactoring and compile fix for Cygwin 2006-05-16 12:12:45 +00:00
cha0smaster d0cd21d4e3 vimspell rules 2006-05-15 21:35:38 +00:00
cha0smaster 8842271dde This code should be in fuse, if should exist at all. 2006-04-27 22:22:02 +00:00
szaka a3ec003be1 Workaround for libfuse not being able to find fusermount when mount(8) used 2006-04-27 21:05:38 +00:00
szaka 4f13e396a4 ntfs_dump_attr_standard_information(): don't dump some fields multiply times 2006-04-23 11:01:07 +00:00
szaka 63b431150e Dump USA, USN and LSN for index records 2006-04-23 10:06:39 +00:00
antona 5cd2da96ac Fix compile warnings that have sneaked in. 2006-04-19 22:03:58 +00:00
antona f399140b7d - Improve ntfsinfo to dump standard info completely and filename
attribute completely and index entry (filename) completely and all in
  correct order.  Essential for hunting bugs in directory operations
  code...  (Anton)
2006-04-19 21:43:11 +00:00
szaka 00348fc7f5 Warn about bad sectors if pure disk I/O fails with EIO. This is regularly
reported with faulty disks.
2006-04-18 22:03:09 +00:00
szaka 03946d896e Print more info on relocations in verbose mode 2006-04-18 21:37:24 +00:00
szaka 0213e2e596 Build and install ntfscmp by default 2006-04-11 22:47:22 +00:00
szaka 52178a0fac Fix typos 2006-04-11 22:46:09 +00:00
szaka ec3e7d60cd Update ntfsprogs manual 2006-04-11 22:14:38 +00:00
szaka adb27b68cc Add ntfscmp manual 2006-04-11 21:50:39 +00:00
szaka c7a53338c0 Fix all incorrect getopt_long() return value usages. 2006-04-05 12:43:06 +00:00
szaka 15e00fcf6c Fix bogus reference to ntfsundelete 2006-04-05 02:59:12 +00:00
szaka 45bccaf546 Implement special $BadClus:$Bad handling 2006-04-05 02:56:52 +00:00
szaka 6873bab2f1 Compare the full attribute headers for non-resident attributes 2006-04-05 02:55:43 +00:00
szaka 134319ae80 libntfs: add and ntfs_inode_badclus_bad() and convert all copy-pastes
to use them
2006-04-05 02:53:40 +00:00
szaka 6772bb4649 Fix ntfsclone idempotency 2006-04-05 02:50:44 +00:00
szaka 813933e1bc libntfs: add ntfs_mft_usn_dec() and convert all copy-pastes to use them 2006-04-05 02:49:24 +00:00
szaka 8bbdf4f8c4 Quota attributum instantiation order change for better FORMAT conformance 2006-04-05 02:48:02 +00:00
szaka be823c7a1e libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
copy-pastes to use them
2006-04-05 02:45:55 +00:00
szaka ce894973ed Cleanup has_bad_sectors() for code reuse; update copyrights 2006-03-30 00:15:32 +00:00
szaka 0887a0e261 Update a few copyrights 2006-03-29 22:54:22 +00:00
antona 7b5472724f fix an ommission in Szaka's cleanup. 2006-03-29 22:44:17 +00:00
szaka 3ffb67ef0f Move $ObjId/$O data dumping to its logical place, from ntfs_dump_index_key()
to ntfs_dump_index_data()
2006-03-29 22:35:54 +00:00
szaka 7a776e2810 ntfsinfo: dump either a minimal (default) or the entire attribute
header (--verbose) for all attributes types. Also removed a lot of
redundant code and made some formatting corrections.
2006-03-29 22:29:26 +00:00
antona 8bf1dc2232 Update my copyright for the files changed in the last commits. 2006-03-27 22:49:50 +00:00
antona 588ef46e86 Change ntfsinfo to dump the key data as well as the keys themselves
when dumping the $ObjId/$O index.  (Anton)
2006-03-27 22:46:13 +00:00
antona cf631e3398 Fix comparison of $MFT and $MFTMirr to not bail out when there are
unused, invalid mft records which are the same in both $MFT and
$MFTMirr.  Ported from kernel driver 2.1.27 release and aplied both
to libntfs/volume.c mount related code and to ntfsprogs/ntfsfix.c's
fixup code.  (Anton)
2006-03-27 22:43:09 +00:00
antona f4344d6261 Change utils_parse_size() to use a base of 0 instead of 10 when
calling strtoll().  This automagically allows specification of
numbers in hex (and octal if anyone is crazy enough to use that) in
addition to decimal numbers on the command line options to most if
not all utilities.  (Anton)
2006-03-27 22:39:38 +00:00
szaka b4fa78dc58 ntfsclone: the --metadata option will wipe the timestamps in the
index allocation attributes as well. This further decreases the
compressed metadata image size by 10-25% and more importantly it
eliminates non-interesting ntfscmp differences.
2006-03-27 21:40:26 +00:00
szaka ddc558f1ec libntfs: add ntfs_index_root_get() which reads the index root of an attribute 2006-03-27 21:14:56 +00:00