Commit Graph

3018 Commits (a36323bc62a44b849de48214effb8f5e9e5065b6)
 

Author SHA1 Message Date
aia21 a36323bc62 Make ntfsinfo more resilient to corrupt metadata. Otherwise it can cause an
infinite loop...
2006-08-16 08:14:22 +00:00
yura d15ed62ae4 a bit of cleanups 2006-08-14 03:52:56 +00:00
yura 5a36ead2f4 fix endianness in ntfsinfo preparation fix to index code
btw, Szaka, you really should consider installing some cross-compiler for BE systems and qemu to test your changes.
2006-08-14 03:52:09 +00:00
szaka 2bb9a9a913 fixes & improvements to ntfsclone, ntfscmp, ntfsinfo during ntfs-3g development 2006-08-13 19:48:08 +00:00
szaka cccf6fd94d Dump all VCN's in the same numeral system 2006-08-13 19:09:22 +00:00
szaka 3664395e5f ntfs_dump_flags(): dump FILE_ATTR_DIRECTORY 2006-08-13 19:02:30 +00:00
szaka a89dce7b38 convert all malloc() to ntfs_malloc() 2006-08-13 18:59:56 +00:00
szaka babfacfbd2 dump padding between the Update Sequence Array and the first attribute 2006-08-13 18:58:21 +00:00
szaka 551812d8bc use MFT_RECORD *mrec during dumps 2006-08-13 18:57:37 +00:00
szaka af055de0c4 fix missing bracket in the former patch 2006-08-13 18:56:25 +00:00
szaka 074b025366 ntfs_dump_index_entries(): cleanup subnode VCN calculation 2006-08-13 18:51:55 +00:00
szaka 2daa9f3c94 add ntfs_dump_bytes(); ntfs_dump_attr_list(): dump ATTR_LIST_ENTRY paddings 2006-08-13 18:48:31 +00:00
szaka 952926725d ntfs_dump_attr_index_allocation(): dump number of entries per block too 2006-08-13 18:46:22 +00:00
szaka 3c06d7d9c5 ntfs_dump_attr_index_allocation(): don't return if an INDX is corrupt 2006-08-13 18:45:57 +00:00
szaka 0fce94937b redirect stderr to /dev/null if --debug isn't used in debug mode 2006-08-13 18:44:46 +00:00
szaka 0573a8ff53 fix segfaults when SDS has absolute security descriptor 2006-08-13 18:43:12 +00:00
szaka 89ded2378c make stdout line buffered 2006-08-13 18:41:13 +00:00
szaka 10e6070b18 fix output indenting 2006-08-13 18:40:35 +00:00
szaka b51d98dd90 add ntfs_dump_index_block() and use it 2006-08-13 18:39:35 +00:00
szaka a5bb7301ec add ntfs_dump_index_header(); dump full ia INDEX_HEADER 2006-08-13 18:35:05 +00:00
szaka beb044b036 rename 'Flags:' fields to be unique 2006-08-13 18:23:01 +00:00
szaka c4a3f8b3e9 convert all malloc,calloc to ntfs_{malloc,calloc} 2006-08-13 16:06:57 +00:00
szaka 6ae2cece3c fine grained AT_INDEX_ALLOCATION comparison 2006-08-13 15:50:12 +00:00
szaka 39b9061d8b wipe_index_allocation_timestamps(): don't try to dump empty ia 2006-08-13 15:15:08 +00:00
szaka 5c0ce5407e metadata cloning: write out extent records 2006-08-13 15:00:27 +00:00
szaka 58699ef91b more detailed error messages 2006-08-13 14:52:19 +00:00
szaka d727768a80 convert all malloc,calloc to ntfs_{malloc,calloc} 2006-08-13 14:49:35 +00:00
szaka bd659977c2 don't create image files with executable bit set 2006-08-13 14:40:28 +00:00
szaka 0dae4a9c77 fix missing error outputs 2006-08-13 14:34:07 +00:00
szaka c41b7a65a1 upgrade_to_large_index(): fix double freeing ctx in certain error situation 2006-08-13 14:17:02 +00:00
szaka 64a319948b convert all malloc,calloc to ntfs_{malloc,calloc} 2006-08-13 13:46:40 +00:00
szaka 600b5d4fa6 fix mkntfs_get_page_size() declaration 2006-08-13 13:38:38 +00:00
yura a00ee02388 had not noticed lack of externs :( 2006-08-03 04:30:41 +00:00
yura 1493070b8e Fix include order. Thanks, Yuval! 2006-08-03 02:49:00 +00:00
aia21 aea6c7ea4f Change version to 1.13.2-WIP not 3.0.0-WIP and bump libntfs version to reflect
incompatible source and binary interface changes...
2006-08-02 11:19:39 +00:00
yura 70aef8d69c Prevent index root to be moved out from base mft record 2006-08-02 03:57:40 +00:00
yura 08689c171e Merge index code from ntfs-3g. Clean it a bit and fix adding index allocation when index root in the base mft record. 2006-08-02 03:55:41 +00:00
yura 9d0f9aec4c Add new API ntfs_attr_exist() that checks whether attribute with selected type and name already present in inode. (Szaka) 2006-08-02 03:12:34 +00:00
yura b86f4a41c1 introduce ntfs_[cm]alloc 2006-08-02 03:11:12 +00:00
yura 47a2ca1154 80 chars per line cleanup 2006-08-02 01:33:54 +00:00
yura 2338377ec3 bit move verbose in ntfs_delete() 2006-07-28 23:15:35 +00:00
yura bb5991cb36 Set vol->mft_ni->flags. (Szaka) 2006-07-27 18:44:08 +00:00
yura d5ce628f10 commit some fix to runlsi handling code from ntfs-3g
Rich/Anton can you please review it?
2006-07-27 18:12:23 +00:00
aia21 0873318cbb Yura uses ntfs_attr_lookup() in a way it never was anticipated to work so my
fix broke his way of working.  This is a middle ground where both should work.
This still leaves a bug in collation of attribute list entries though which
needs to be investigated and fixed...
2006-07-27 08:38:17 +00:00
aia21 f3117bf03a Hopefully final test. 2006-07-24 08:59:55 +00:00
aia21 8361597275 And another test... 2006-07-24 08:57:30 +00:00
aia21 858034e322 Cvs checkin email test... 2006-07-24 08:48:40 +00:00
aia21 179966fb0c Fix long standing stupendously stupid bug in libntfs/attrib.c::
ntfs_external_attr_find() and also port a bugfix from the advanced
ntfs kernel driver to the same function.  (Anton)
2006-07-23 21:43:08 +00:00
yura c654fca276 fix CVS dir presense after "make dist" 2006-07-22 20:41:07 +00:00
yura a3a318a8b4 forgot "cvs delete" 2006-07-22 19:39:59 +00:00