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
b86f4a41c1
introduce ntfs_[cm]alloc
2006-08-02 03:11:12 +00:00
yura
28a2b1f2b0
prepare to Szaka's code merge: remove not working Rich's index code
2006-07-17 11:49:52 +00:00
yura
5369c19613
support missing owner and group in sd
2006-07-13 02:35:32 +00:00
yura
dde61e1091
ntfsinfo: cosmetic fix in SDS dumping
2006-07-01 11:14:08 +00: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
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
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
0fccdd6be5
update ntfsmount man page
2006-02-20 17:11:24 +00:00
cha0smaster
a0d011018b
ntfsmount: add no_detach option
2006-02-20 00:32:01 +00:00
szaka
d533c39e36
Compare attribute headers as well. This nicely shows now that compression
...
and allocation sizes aren't set correctly for sparse files in libntfs.
2006-02-19 12:50:54 +00:00
szaka
eff628922a
Add a section about windows cloning
2006-02-18 20:36:33 +00:00
cha0smaster
32420ad699
implement POC of syslog logging handler, make ntfsmount to use it
2006-02-13 01:23:31 +00:00
szaka
e6a7600508
Restructure "Filesystem check failed!" message and have a more explanatory
...
one in the ERROR line because several front-ends show only this line, nothing
else, which greatly confused many users what's going on and what to do next.
2006-02-12 22:09:58 +00:00
szaka
67f0045637
Update obsolete description
2006-02-12 02:00:45 +00:00
szaka
45b78af9b2
Update credit
2006-02-12 01:30:34 +00:00
szaka
c87059fa77
Fix $BadClust:$Bad AT_ATTRIBUTE_LIST detection which bug was introduced
...
recently only in the CVS version of ntfsresize; add also more info about
bad sectors.
2006-02-11 19:55:05 +00:00
szaka
31cc1d2f45
Wiped timestamp data stats were off by 5% in general
2006-02-06 22:17:24 +00:00
szaka
43b4d8a4e1
--metadata sets timestamps to the Epoch time as mkntfs does with -T. This
...
increases the compressed image sizes by only 0.3-0.8% but ntfsclone creates
now the exact same metadata images as mkntfs, which fact can be used for QA.
2006-02-06 20:51:17 +00:00
szaka
f599394450
Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the
...
headers so it won't overwrite/overlap so easily with the update time in the
center if the @VERSION@ is too long (e.g. <VERSION>-WIP-<DATE>-<TIME>)
2006-02-06 01:05:01 +00:00
szaka
1e05dd5d9a
Note tar brokenness, update examples
2006-02-06 00:48:23 +00:00
szaka
fae8feea65
Explain dirty volume
2006-02-05 22:10:01 +00:00
szaka
16b8bc1fd4
Write MFT records with the same USN during metadata cloning. This eases
...
ntfsclone self-regression, which itself is going to validate other codes
2006-02-05 19:35:20 +00:00
szaka
31fac08864
Dump MFT Record Header fields which weren't yet
2006-02-05 18:56:04 +00:00
szaka
fefc3e5195
ntfsresize, ntfsclone: always use MS_NOATIME
2006-02-05 16:39:35 +00:00
szaka
c0e5461995
Credit Erik Sornes for implementing NTFS 3.x version support for mkntfs
2006-02-04 23:21:48 +00:00
szaka
a8a29084b5
Remove old, redundant g_mft_size calculation
2006-02-04 19:53:22 +00:00
szaka
9d51139377
Fix typo
2006-02-04 13:39:19 +00:00
szaka
c47236819d
Explain EBUSY if volume opening failed
2006-02-04 13:34:37 +00:00
antona
ca37cdb7f8
Don't do it at the end and do it as we go along instead as I am already doing
...
in the kernel driver.
2006-02-04 06:11:28 +00:00
antona
cd948e75c0
Fix upcase table to be little endian. With this bug fixed the volumes produced
...
by mkntfs on little and big endian machines are identical (except for the
volume serial number - probably ought to standardize that when using the -T
switch).
2006-02-04 06:06:04 +00:00