Commit Graph

2933 Commits (c7a53338c0aa967bb607b8fdc183e8c3f348df84)
 

Author SHA1 Message Date
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
szaka a8e6766e43 make get_index_root() slightly sexier 2006-03-27 20:50:51 +00:00
szaka de46da8ade cleanup get_index_root() named attribute usage 2006-03-27 20:27:38 +00:00
szaka 65c67d5f84 Use more meaningful error messages 2006-03-27 20:14:22 +00:00
szaka 8d11cc8061 cleanup: use ntfs_attr_readall() 2006-03-27 20:10:39 +00:00
szaka 9b801db7c8 libntfs: add ntfs_attr_readall() which reads the entire data from an attribute 2006-03-27 20:01:36 +00:00
szaka b7aee150a4 ntfs_attr_readall(): fix ntfs_attr leaks in error cases 2006-03-27 19:33:20 +00:00
szaka d511f34dce fix attr->name_length endianess conversions: name_length is u8, not u16 2006-03-26 18:14:33 +00:00
szaka 775b208f68 ntfsinfo: fix two freed memory usage when dumping $SDS and index allocation
entries; factor out ntfs_attr_readall();
2006-03-26 16:49:42 +00:00
szaka 43f2ab6ec3 mkntfs: set the physical drive and the extended boot signature to 0x80
in the Extended BPB which are needed to boot from disk
2006-03-14 21:20:20 +00:00
szaka 7685cb47e5 Update version to 1.13.1-WIP 2006-03-14 19:07:35 +00:00
szaka 6b05529c37 Show all cluster accounting mismatches when --verbose used 2006-03-13 20:41:02 +00:00
szaka 8bcd0c2fe8 Remove confusing inode enumeration messages: it just hides the valuable
info and can be get by using --verbose
2006-03-13 20:34:41 +00:00
szaka 033eaf429f identify files even if their clusters aren't set in $Bitmap (useful to
find potentially corrupted files)
2006-03-13 20:25:46 +00:00
cha0smaster 51085b8a6a update TODO* 2006-03-09 14:13:18 +00:00
cha0smaster f279223990 - Fix build with --disable-gnome-vfs --enable-fuse-module. (Gentoo) 2006-03-06 18:38:37 +00:00
cha0smaster f424e61b96 Fix bug in ntfs_attr_pwrite() when we sometimes lose current run in the runlist. 2006-03-04 13:56:34 +00:00
cha0smaster 01309e4ec9 formatting 2006-03-04 00:06:49 +00:00
antona 7c718e1099 Update for date for 1.13.0 release. 2006-02-27 09:09:50 +00:00
antona 63982b15fd Fix compilation on FreeBSD. (Christophe) 2006-02-24 15:49:59 +00:00
antona 49fd93718c Cope with attribute list attribute having invalid flags. Windows
copes with this and even chkdsk does not detect or fix this so we
have to cope with it, too.  Thanks to a Pawel for reporting the
problem.  (Anton)
2006-02-24 09:20:10 +00:00
cha0smaster 74a95a993b comment ni->{allocated,data}_size 2006-02-23 22:54:55 +00:00
cha0smaster b4abfe7de4 Add Mario to credits 2006-02-23 00:36:33 +00:00
cha0smaster b0f4e5099e ntfs_create: add for any case check 2006-02-23 00:29:04 +00:00
antona 45c9aa137e - Deal with missing syslog function by making code conditional on
presence of syslog.h header file (DOS/djgpp).  (Christophe)
- Avoid clash with existing constants (OSX).  (Christophe)
2006-02-22 14:20:08 +00:00
cha0smaster 6497828e53 While fixing allocated/compressed size I lost correct data size value by accident. 2006-02-21 18:57:34 +00:00
antona 90596212bf Update documentation for allocated_size in file name attribute. 2006-02-21 11:43:49 +00:00
cha0smaster 241c7585a6 Fix runlist setting and incorrect file sizes in the index. 2006-02-21 04:40:20 +00:00
cha0smaster 559d28d2ee cleanup 2006-02-21 03:40:24 +00:00
cha0smaster 0fccdd6be5 update ntfsmount man page 2006-02-20 17:11:24 +00:00
cha0smaster 9bcf003f26 ntfs_attr_pwrite: Fix very serious bug, when sometimes not whole mapped runlist was passsed to ntfs_attr_update_mapping_pairs. 2006-02-20 00:48:35 +00:00