uvman
0dd0cdc6be
Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option().
2005-10-25 01:28:10 +00:00
flatcap
f4e427e91a
implement logging in libntfs
...
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
antona
85c866fcea
More endianness fixes!
2005-10-15 23:51:13 +00:00
antona
6803fa4b76
Fix endianness bug in ntfsinfo. (Anton)
2005-10-15 23:44:57 +00:00
antona
0c293d0407
- Add API (actually renamed from what Rich/FlatCap did):
...
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
static const string of the libntfs verion, i.e. at the moment this is
"8.0.0". This required moving the version specifications from
libntfs/Makefile.am to configure.ac. This should hopefully have the
sideeffect that I will remember to increment it when incrementing the
ntfsprogs version number when making a release given the two are
right under one another. (Anton)
- Change ALL utilities to display the libntfs version they are running
on. This should make debugging easier in the case that people are
running mismatched utilities/library. (Anton)
2005-10-07 14:10:56 +00:00
uvman
62579b84d4
compiler warnings fixes.
2005-10-04 20:36:42 +00:00
antona
8db479a6b1
Patch from Christophe:
...
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
antona
2a104d8eda
Megapatch!!! Check evecrything!!! I probably broke everything!!!
2005-09-24 22:54:55 +00:00
cha0smaster
9028a53dfc
Sorry it's very large commit (46K of diffs between my local tree and CVS HEAD
...
before commit), file and directory creation/deletion recursively requested many
changes. See ChangeLog for description of all changes.
2005-08-14 15:44:46 +00:00
antona
6124aafffb
Move timeconv to ntfstime, update changelog, and news for new release.
2005-08-04 09:59:39 +00:00
cha0smaster
0de66be9c0
ntfscp.c: fix bug intoduced by Anton in changeset 1.21
...
ntfsinfo: more info on index dumping
dir.c, layout.h: minor fixes
2005-07-25 22:05:27 +00:00
cha0smaster
b39a2a401f
- Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
...
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open. Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
antona
82fc3cd557
Fix compiler warning under Cygwin.
2005-07-18 20:38:33 +00:00
cha0smaster
9b483d4f42
ntfsinfo: add range check in EA dumping
...
ntfsmount: fix name in comment
2005-07-09 01:11:46 +00:00
cha0smaster
bfbb32f071
Dump every EA record only in verbose mode.
2005-07-09 00:59:30 +00:00
cha0smaster
0b060773f5
- layout.h: update info about EA's.
...
- ntfsinfo: dump EA and EA_INFORMATION attributes.
2005-07-09 00:09:53 +00:00
flatcap
7a142ef54c
got bored. don't read the diffs.
2005-07-06 22:47:01 +00:00
flatcap
949043ab36
Tidy whitespace: trailing space; <space><tab> at the beginning of lines
...
Fix warnings about sign differences
Fix warnings about unused parameters
Tidy a few functions that didn't have { on a new line
2005-06-19 21:09:40 +00:00
cha0smaster
e323ed6a03
Move utils_pathname_to_inode from to library (dir.c), adapt it for library, rename it to ntfs_pathname_to_inode, update all users.
2005-06-12 18:12:55 +00:00
cha0smaster
aae6371c9d
Move namespace dumping into separate function and use it in attribute and index dumping.
2005-06-09 13:08:23 +00:00
flatcap
e5c8b9606e
Cristi Klein - display the namespace of the file's name
2005-06-09 08:29:03 +00:00
cha0smaster
94cc7ff15f
Move flags dumping into the separate function.
2005-06-08 18:01:46 +00:00
antona
6bfbf20a19
Fix warnings. (Yuval)
2005-06-06 14:21:53 +00:00
cha0smaster
410432bc9d
- Fix bug in index.c pointed by Anton, many thanks to him.
...
- Small updates all over the place:
* NEWS
* ntfscp manual page
* ntfsinfo prints parent directory for FILE_NAME attribute
* year in ntfscp copyright
2005-06-05 23:48:55 +00:00
cha0smaster
4b000b3d13
- Implement FILE_NAME attributes update in index during inode sync and enable code that set/clean sparse bit. Also add new inode state bit FileNameDirty to indicate that FILE_NAME attributes need update. At least after attribute resize we leave absolutely consist volume.
...
- Bugfixes to collate.c and index.c.
- Minor formating fixed to ntfscp and ntfsinfo.
2005-06-05 14:55:08 +00:00
cha0smaster
7cd9b6b22d
Small formating fix to ntfsinfo.
2005-06-04 15:20:46 +00:00
void!yura
5180f05279
I completely forgot about mst protection when I was writing index dumping code. Fix this.
...
(Logical change 1.676)
2005-02-08 19:06:18 +00:00
void!yura
0a68326fc6
fix bug spotted bug gcc4 in error handling of ntfsinfo
...
(Logical change 1.661)
2005-01-17 12:04:37 +00:00
(none)!yura
88f940caed
ntfsinfo: dump flags names for STANDARD_INFORMATION and FILE_NAME.
...
(Logical change 1.647)
2004-12-22 14:22:58 +00:00
(none)!yura
ff195c0f84
ntfsinfo: print "file attributes" field for $FILE_NAME attribute.
...
(Logical change 1.643)
2004-11-27 11:20:32 +00:00
cantab.net!aia21
e461268d28
No need to allocate a copy of the attribute name to be passed to
...
ntfs_attr_open().
(Logical change 1.576)
2004-09-21 12:10:39 +00:00
cantab.net!aia21
b82469ba50
Remove vol->nr_mft_records and update all users. (Anton)
...
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
(none)!yura
72b5b3c6fb
ntfsinfo: make it display attribute instance and dump attribute list entries in verbose mode
...
(Logical change 1.545)
2004-09-11 16:23:34 +00:00
(none)!yura
3d8ff9eb46
- Added dumping of index records from $INDEX_ROOT and $INDEX_ALLOCATION
...
- Changed message for resident $INDEX_ALLOCION to print error, because it shouldn't be resident
(Logical change 1.536)
2004-09-08 16:27:54 +00:00
!uv
5ffea94d8d
Warning fixes: mixing declerations with code.
...
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
e7545d7e24
Reorder/pad struct members in order to align to 32 and 64 bit bounderies.
...
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
(none)!yura
5435e5faef
* endian fix
...
* indention fixes
(Logical change 1.446)
2004-07-06 19:53:05 +00:00
(none)!yura
ff0334f3c5
Output runlist for DATA attribute in verbose mode
...
(Logical change 1.435)
2004-06-22 17:55:38 +00:00
(none)!yura
c6f44798eb
Free runlist after use
...
(Logical change 1.433)
2004-06-21 22:44:47 +00:00
flatcap.org!ntfs
c90bc03ffd
missing credit
...
(Logical change 1.428)
2004-06-20 16:47:19 +00:00
flatcap.org!ntfs
3f9850d4cf
Auto merged
...
2004/06/18 16:24:15+01:00 cantab.net!aia21
Exclude
(Logical change 1.427)
2004-06-18 17:54:41 +00:00
flatcap.org!ntfs
4a82a887c3
Auto merged
...
2004/06/17 21:03:45+01:00 cantab.net!aia21
Auto merged
2004/06/17 21:03:28+01:00 cantab.net!aia21
Endianness fix.
(Logical change 1.423)
2004-06-17 20:09:32 +00:00
flatcap.org!ntfs
395cf1b994
sort out the folding after a botched merge
...
(Logical change 1.422)
2004-06-16 22:51:38 +00:00
flatcap.org!ntfs
08285f5f82
SCCS merged
...
2004/06/07 23:00:44+01:00 flatcap.org!ntfs
add size to index alloc,
change comments slightly to allow vim to fold
(Logical change 1.421)
2004-06-16 22:44:00 +00:00
flatcap.org!ntfs
2099f9392c
stop info crashing when it encounters a non-resident security attribute
...
(Logical change 1.420)
2004-06-16 22:16:30 +00:00
cantab.net!aia21
49b10c0f61
Remove compiler warnings about unused parameters by adding the
...
__attribute__((unused))
Note: these functions are still in the todo list at the top of the file,
so removing the warnings will not make it forgotten.
(Logical change 1.418)
2004-06-08 16:25:01 +00:00
cantab.net!aia21
53b60abae5
global miscellaneous cleanup.
...
(Logical change 1.417)
2004-06-08 16:17:51 +00:00
cantab.net!aia21
2dafbdd602
Remove irrelevant whitespace from output.
...
(Logical change 1.416)
2004-06-08 15:58:32 +00:00
cantab.net!aia21
0e46071eb0
Dump unknown attributes.
...
(Logical change 1.415)
2004-06-08 15:57:09 +00:00
cantab.net!aia21
99f61bb374
Indentation fixes.
...
(Logical change 1.414)
2004-06-08 15:55:55 +00:00
cantab.net!aia21
3d4c6f8bf7
Dump general info about an inode.
...
(Logical change 1.395)
2004-05-23 20:10:46 +00:00
cantab.net!aia21
3423a8a909
Rename uchar_t to ntfschar.
...
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21
eb6c561683
Add inode selection by path/filename to ntfsinfo. (Yuval)
...
(Logical change 1.386)
2004-05-02 08:46:37 +00:00
cantab.net!aia21
e39688c9ab
Big update from Yuval with some bits modified by me.
...
(Logical change 1.369)
2004-04-15 11:55:46 +00:00
elisa-laajakaista.fi!szaka
8c67ce1c36
Fix incorrect getopt_long() usage: converted argv[optind-1] to optarg
...
so utilities won't do bogus and unexpected things
(Logical change 1.366)
2004-04-15 00:42:33 +00:00
cantab.net!aia21
5e56debf45
Mostly rewrite ntfsinfo. (Yuval Fledel and some fixes by me)
...
(Logical change 1.356)
2004-04-05 08:44:32 +00:00
cantab.net!aia21
ae7789dcd0
Support the case where $Volume does not have a $VOLUME_NAME
...
attribute in ntfs_device_mount() and let ntfslabel create the
attribute when it is not present.
(Logical change 1.339)
2004-03-19 10:21:05 +00:00
cantab.net!aia21
95ab07c823
Forgot to include security.h...
...
2004/03/14 18:22:33+00:00 cantab.net!aia21
Implement dumping of object id attribute. (Yuval Fledel, me)
(Logical change 1.331)
2004-03-14 18:29:21 +00:00
cantab.net!aia21
49f8d5e364
Fix validation of STANDARD_INFORMATION attribute size in ntfsinfo.c
...
and remove relevant FIXME comments. (Yuval Fledel)
(Logical change 1.329)
2004-03-13 19:30:28 +00:00
cantab.net!aia21
cb3b41894a
Modify meaning of ntfs_volume->nr_mft_records to be the number of
...
initialized mft records, not total mft records. This makes far more
sense and in fact reflects how nr_mft_records is being used in both
libntfs and the utilities.
(Logical change 1.326)
2004-03-12 15:50:52 +00:00
cantab.net!aia21
9193cb6298
Update
...
Fix warnings on powerpc architecture where it would seem char is
unsigned so comparisons with -1 cause a warning that comparison is
always true/wrong. (Thanks to Ender for reporting.)
(Logical change 1.324)
2004-03-12 09:30:03 +00:00
cantab.net!aia21
717484f223
Missed this one.
...
(Logical change 1.307)
2004-03-09 15:27:10 +00:00
cantab.net!aia21
ddeee65b8d
Fix all occurences of printf with %ll length modifiers but 64 bit
...
arguments to typecast the arguments to (unsigned) long long to avoid
the warnings when compiling on 64 bit architectures.
(Logical change 1.306)
2004-03-09 14:47:34 +00:00
cantab.net!aia21
6c4c7b1721
Fix typo. (From SUSE LINUX)
...
(Logical change 1.303)
2004-03-08 17:04:17 +00:00
cantab.net!aia21
5fd2457c54
Fixup ntfsinfo a little bit and give its manpage a small update to
...
reflect reality a little better.
(Logical change 1.276)
2004-02-05 16:51:10 +00:00
cantab.net!aia21
aa3c49bc5b
Patch from Matthew Fanto with fixups from me.
...
(Logical change 1.259)
2004-01-09 12:38:56 +00:00
flatcap.org!ntfs
177ad3b693
slight rearrangement to group standard options
...
(Logical change 1.200)
2003-10-11 15:36:14 +00:00
cantab.net!aia21
e21db3b3a7
Make work on Cygwin. There is no 1 == non-option argument so have to use -d option instead.
...
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
5f82dd8d27
Add right character.
...
(Logical change 1.160)
2003-07-23 09:45:39 +00:00
flatcap.org!flatcap
550e506f29
Add -t (display all timestamps as Epoch) and -T (don't display timestamps at all). Usable for ignoring timestamps when diff'ing.
...
(Logical change 1.158)
2003-07-22 21:08:22 +00:00
flatcap.org!flatcap
4a3d5ec325
endian fixes
...
(Logical change 1.117)
2003-02-09 22:55:20 +00:00
flatcap.org!flatcap
94efdfe222
reformat the usage output
...
(Logical change 1.106)
2003-01-19 23:45:17 +00:00
flatcap.org!flatcap
3769e91274
standardise usage and version info
...
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap
e5b14ce5b6
use the utils
...
rearranged code a bit
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
cantab.net!aia21
de757075f4
mount read-only (Szaka)
...
(Logical change 1.86)
2003-01-10 17:00:47 +00:00
flatcap.org!flatcap
787420defe
[matt] new code
...
(Logical change 1.50)
2002-12-23 04:42:18 +00:00
cantab.net!aia21
69306cc493
new api renames to ntfs_object_action
...
(Logical change 1.36)
2002-12-10 11:53:41 +00:00
cantab.net!aia21
9e79b61437
start of renames to ntfs_object_action() format
...
(Logical change 1.34)
2002-12-09 09:42:12 +00:00
flatcap.org!flatcap
589c9b8678
minor build fix
...
(Logical change 1.28)
2002-12-02 01:57:17 +00:00
flatcap.org!flatcap
d789fd8385
tidy whitespace
...
(Logical change 1.27)
2002-12-01 18:54:13 +00:00
cantab.net!aia21
cd29ef7745
mvdir
...
(Logical change 1.23)
2002-11-29 12:16:35 +00:00
cantab.net!aia21
df7cae02e7
Initial revision
2002-11-29 12:16:35 +00:00