Yura Pakhuchiy
d059090386
info: nice LCN dumping
2007-06-08 13:48:28 +03:00
Yura Pakhuchiy
0d264b7d25
Introduce sparse endian annotations. Adopt library (also fix 2 real bugs) and progs (lots of bugs).
2007-06-08 13:47:57 +03:00
yura
2e44b6ca7c
fix some sparse warnings
...
btw, it looks like sparse loses it head when it see something like:
void foo(s64 *bar)
{
...
}
...
{
s64 baz;
foo(&baz);
...
}
2006-12-12 15:44:52 +00:00
aia21
5302d23f7b
- Empty the journal at mount time. (Anton)
...
- Set the volume dirty bit at mount time (if it is not set already and
clear it again at umount time but only if it was not set to start
with. (Anton)
2006-11-28 10:09:56 +00:00
yura
3cd59df400
bit more nice error messages
2006-11-25 18:38:47 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
yura
116a467dc0
* fix ntfsmount build
...
2006-11-05 14:42:46 +00:00
yura
1b1a135bbd
one more endian bug in ntfsinfo
2006-10-30 23:23:40 +00:00
uvman
87d87073c7
The periodic 'int is not neccessarily 32bit' fixes.
2006-10-28 23:45:22 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +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
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
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
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
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
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
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +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
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
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