Commit Graph

3084 Commits (188cbd9a41dbaccdfefe7414d6ac58c16d55277c)
 

Author SHA1 Message Date
aia21 3d56b14bca fix a packing bug 2006-10-20 19:54:22 +00:00
aia21 49559ce57c fix a silly bug. 2006-10-20 19:53:50 +00:00
uvman cc12bccc05 Allow reusing ntfs_device after close. 2006-10-18 14:44:23 +00:00
uvman 6efbbabba6 Spelling fix. 2006-10-18 14:43:04 +00:00
uvman acb04c0435 Remove unneeded padding. The compiler will pad if it wan't to. 2006-10-18 14:41:41 +00:00
aia21 9aa76186f3 Update ChangeLog... 2006-10-10 10:29:53 +00:00
aia21 0c86fccdc9 Fix GUID to string conversion to follow documentation (details: it is not
little endian at all, it is a binary sequence)...

See remarks section at:

http://windowssdk.msdn.microsoft.com/en-us/library/96ff78dc.aspx
2006-10-10 10:29:11 +00:00
uvman 911c577e07 Hil: Allow ntfscp to create the destination file if it does not already exists by calling ntfs_create(). 2006-10-04 20:57:03 +00:00
uvman b7b4c98633 Hil: Allow ntfscp to create the destination file if it does not already exists by calling ntfs_create(). 2006-10-04 00:47:04 +00:00
uvman 8cfa94abc3 Remove code that was already marked as broken and commented out. 2006-09-25 17:03:48 +00:00
uvman a117a21941 Comment documentation fixes. 2006-09-25 16:58:38 +00:00
aia21 2afc70711a Forgot to not apply endianness swapping for old style images when restoring... 2006-08-23 13:21:04 +00:00
aia21 35dcfaac9e Fix endianness problems in both image restore and image create (and in metadata
cloning as well).  (Anton)
2006-08-23 11:58:55 +00:00
aia21 cb35fe2fea Make ntfsclone image format extensible. (Anton) 2006-08-23 11:22:07 +00:00
aia21 5128685d88 - ntfsclone: Define endianness safe image format. (Anton)
- ntfsclone: Redefine image format version number to be the image
  format version and not the NTFS version of the imaged volume which is
  totally useless.  (Anton)
2006-08-23 10:18:34 +00:00
aia21 280c74470f Print both decimal and hexadecimal in ntfsinfo.
(This follows several patches where we kept switching things from decimal
to hex to decimal because different people apparently use different number
systems in their heads.  I am on the hex front myself so I added hex output
which was taken out recently by Szaka so he probably is on the dec front...
In any case having both should make us all happy...)
2006-08-16 09:24:19 +00:00
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