Commit Graph

2295 Commits

Author SHA1 Message Date
flatcap
0e364b49aa ntfscat now works with attribute names
ntfscat now removes fixup from:
  $MFT/$DATA
  $MFTMirr/$DATA
  anydir/$INDEX_ALLOCATION
2005-06-20 14:24:53 +00:00
flatcap
09936e5c22 typos 2005-06-20 14:23:50 +00:00
flatcap
086fd4cc0c probably a bug in __ntfs_attr_init 2005-06-20 14:23:27 +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
antona
cc992ab0f6 Add more things to .cvsignore files. 2005-06-19 13:20:40 +00:00
antona
3a421dc96c Remove BitKeeper/etc/ignore file as it is no longer in use. 2005-06-17 10:44:55 +00:00
cha0smaster
5becfe6c30 - Fix build without config.h.
- Fix gcc4 very large warning in ntfsrm.
2005-06-16 23:16:32 +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
b1dfa2b306 - Fix memleak in ntfs_attr_pwrite
- Update layout.h a bit to be a kernel driver like.
2005-06-12 15:23:25 +00:00
szaka
6e1106fc79 - fix mangled formatting in ntfsclone: use more space for wipe statistics 2005-06-12 14:35:57 +00:00
szaka
532e1b71cf - fix bogus extra error message in ntfsresize 2005-06-12 13:44:34 +00:00
szaka
3517936355 - ntfsresize manual update 2005-06-12 13:39:23 +00:00
szaka
b4a712b9e1 - Use consistent option and parameter naming convention 2005-06-12 11:02:50 +00:00
szaka
4fcd676f63 - More explanatory error message about failing to open a volume 2005-06-12 10:15:21 +00:00
szaka
8dae1da562 - Revised ntfsclone's usage() message 2005-06-12 09:55:45 +00:00
szaka
954b728dba - Rephrase ntfs_bugs: don't imply that tools have lots of bugs.
That's not true and it unnecessary worries people (originally the
ntfs_bugs idea was taken from the GNU coreutils that _DO_ have often
bugs but they aren't so critical concerning user's data integrity)
2005-06-12 09:24:11 +00:00
szaka
dd0b3bdc7e - Add descriptions for the new command line options 2005-06-11 15:30:07 +00:00
cha0smaster
676d8782e8 - Update attribute definition handling. (Anton, Yura) 2005-06-09 22:09:39 +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
95c2b79c45 ignore built/generated files 2005-06-09 09:29:34 +00:00
flatcap
554b27dd47 ignore built/generated files 2005-06-09 09:05:30 +00:00
flatcap
e5c8b9606e Cristi Klein - display the namespace of the file's name 2005-06-09 08:29:03 +00:00
cha0smaster
373e47acb5 Fix coding style. 2005-06-08 18:02:29 +00:00
cha0smaster
94cc7ff15f Move flags dumping into the separate function. 2005-06-08 18:01:46 +00:00
antona
dd52588aae Use dynamic buffer in ntfs_device_win32_find_partition().
Based on patch from Yuval.
2005-06-06 14:51:09 +00:00
antona
1aeb91827c Update build for changes to function detection in configure.ac. 2005-06-06 14:31:37 +00:00
antona
62a4484a94 Finally fix the win32 write support problems. 2005-06-06 14:30:38 +00:00
antona
b10eb4cb2d Minor cleanup 2005-06-06 14:29:47 +00:00
antona
6bfbf20a19 Fix warnings. (Yuval) 2005-06-06 14:21:53 +00:00
antona
01ac8414ea Fix typo. 2005-06-06 09:18:33 +00:00
cha0smaster
d2ed58e6a2 Anyway, this extra check will not harm anybody, but in case windows support such names it's will be useful. 2005-06-06 04:26:28 +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
antona
26945d1e81 Add some offset comments. 2005-06-05 20:06:45 +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
cha0smaster
048a1857be Fix some bugs and warnings in code that I commited tonight. 2005-06-04 15:20:00 +00:00
cha0smaster
2d8dc1736d - Port collate.[ch] from kernel to library and implement
ntfs_collate_file_name. Thus we have new API's: ntfs_collate and
  ntfs_is_collation_rule_supported.  (Yura)
- Port index.[ch] from kernel to library. New API's: ntfs_index_lookup,
  ntfs_index_ctx_{get,put}, ntfs_index_entry_mark_dirty.  (Yura)

Just finished porting, it's 03:41 here, so this code should defenitely segfault or at least not work. Today after sleep I will integrate it to library and test it by the way.
2005-06-04 00:57:58 +00:00
antona
c4cb316418 mkntfs: Add new option -T which fakes the time to be 00:00:00 UTC,
Jan 1, 1970 instead of the current system time.
2005-06-03 22:22:12 +00:00
antona
8f45d909c1 Only output message that volume is being set dirty if we are actually setting
the dirty flag.  Otherwise the message is pointless.
2005-06-03 21:53:02 +00:00
antona
d530c02e49 Ooops. Forgot to actually use our fnSetFilePointerEx() instead of
SetFilePointerEx() directly...
2005-06-03 10:33:35 +00:00
antona
b8a543a27e Do dynamic run-time detection of SetFilePointerEx() instead of defunct
autoconf crap.
Also, fix a really stupid bug in the emulated SetFilePointerEx() which caused
the segfaults.  (It unconditionally wrote to a pointer even when it was NULL.)
2005-06-03 10:27:32 +00:00
szaka
683b707b43 Don't mark NTFS dirty if the backup boot sector could be created 2005-06-02 18:36:43 +00:00
szaka
6aa5cc17fe ntfsresize: fix segfault during fsck if $Bitmap was larger than expected 2005-05-24 21:13:51 +00:00
flatcap
0c72b6f242 Giang Nguyen - remove redundancy 2005-05-23 12:07:02 +00:00
antona
430c1c975d Remove some BK specific files. 2005-05-21 13:05:24 +00:00
antona
cf2646d607 Update 2005-05-19 21:54:59 +00:00
antona
4b0bc259ca Minor update to NEWS and remove BK specific ChangeSet file. 2005-05-19 21:51:12 +00:00
antona
56ca79a6d6 Force commits to fix permissions. 2005-05-19 21:49:44 +00:00
antona
1a76cc4821 Change pointer to bkbits to cvs on SF.net. 2005-05-19 21:34:18 +00:00
antona
104d4e6d21 Update copyright to include 2005. 2005-05-19 21:27:30 +00:00