Commit Graph

2319 Commits

Author SHA1 Message Date
cha0smaster
58f7b6b345 Forgot to commit ntfsmount itself. :-) 2005-07-03 00:35:48 +00:00
cha0smaster
3727a729c2 - Add new utility - ntfsmount. It's a FUSE module that rely on libntfs. So,
you need FUSE to compile it, xattr is also highly recommended. This module
support file overwrite changing it size and can list/read/write/add/remove
named data streams via xattr interface.
- Update auto{make,conf} stuff respectively.
2005-07-03 00:18:37 +00:00
cha0smaster
3adc040305 Add change protype of ntfs_attr_pwrite: make @b const. 2005-07-02 19:16:18 +00:00
cha0smaster
67731b14c8 Update changelog for changes that were lost after 1.10.0 release. 2005-07-02 18:30:46 +00:00
cha0smaster
9deb743974 Optimize a bit previous ntfs_inode_close fix. 2005-07-02 17:48:59 +00:00
cha0smaster
b8e1188102 Fix memory managament error in ntfs_inode_close. ntfs_extent_inode_open
allocates buffer for up to 4 extent inodes, to prevent many reallocates.
But ntfs_inode_close always reallocate buffer to store exactly @nr_extents
inodes. Bug will arise in following scenario:
1) ntfs_extent_inode_open (1 extent, allocate buffer for 4)
2) ntfs_extent_inode_open (2 extents, use already allocated buffer)
3) ntfs_inode_close(extent_ni) (1 extent, reallocate buffer for 1 extent)
4) ntfs_extent_inode_open (2 extents, don't reallocate buffer because it should be for 4 elements, but really it's for 1, write to unitialized space, segfault)
2005-07-02 13:58:02 +00:00
cha0smaster
fbe45ebac6 Fix valgrind varning about writing unitialized buffer. 2005-07-02 13:47:29 +00:00
szaka
3f7c609ab2 truncate_bitmap_data_attr(): no need to distinguish shrinkage & enlargement 2005-06-30 21:13:34 +00:00
szaka
fa2e20b14b ntfsclone man: examples use gzip instead of bzip2; some clarifications 2005-06-28 21:09:35 +00:00
szaka
5e6227da65 Version is 1.10.1-WIP. Feel free to ./autogen.sh 2005-06-28 20:53:13 +00:00
szaka
307c9b43e2 ntfsresize: show device name -- useful for bug reports 2005-06-27 21:18:40 +00:00
szaka
60d0ed80a5 Detect and hint users if the destination fs doesn't support sparse files 2005-06-27 21:03:06 +00:00
szaka
70530ad551 ntfs_inode_close(): ElectricFence is unhappy with realloc(x,0) as free(x)
thus we distinguish these two cases
2005-06-27 20:30:09 +00:00
szaka
666619ff85 Trying to better guide lost people to the solutions of the non-ntfs
related partition table corruptions
2005-06-26 20:43:21 +00:00
szaka
f8dad91b81 Added ntfsclone's rescue capability 2005-06-26 20:11:03 +00:00
szaka
2afa525533 Added ntfscp
Updated ntfsfix and ntfsclone
Added Yuval Fledel and Yura Pakhuchiy to the list of authors
2005-06-26 20:09:26 +00:00
cha0smaster
1dce9cf4ea NTFSCP: don't use printf inside signal handler. 2005-06-25 16:37:50 +00:00
szaka
d8dd64d425 Correct ntfs_inode_sync_file_name comment typos 2005-06-25 13:15:12 +00:00
flatcap
31c31a244d ntfsrm:
fix a couple of crashes
	slightly simplify bitmap logic
	wasn't using mst pwrite for INDX
	rm works again
	bmp commit was overwriting end of attr
	strip down bitmap set
	bitmaps: handle cluster boundaries correctly
	overhaul the bitmap code
	ntfs_binary_print
2005-06-23 18:55:03 +00:00
cha0smaster
e5a90b161b ntfscp: Fix signal handling. 2005-06-21 13:06:53 +00:00
antona
39b759ee99 Fix compiler warnings under cygwin. 2005-06-21 09:57:22 +00:00
antona
31a8750c4d Fix compiler warnings in libntfs when compiling under cygwin. 2005-06-21 09:55:15 +00:00
antona
fb7586c5ac Update todo files with usnjrnl stuff. 2005-06-20 14:44:45 +00:00
antona
ca873f0474 Eeek. Someone did a commit just as I was about to commit so the commit
message was lost!  )-:

Now again...

Monster commit from me due to lack of time.  Sorry about that.

Features:

- Version to 1.10.0
- Update readme, etc ready for release.
- Update build system to suse linux 9.3 versions.
- Fix warnings appearing for me on suse 9.3 with --enable-warnings --enable-debug.
- Set attr_name to NULL in libntfs/attrib.c::__ntfs_attr_init() and fixup all
  callers apropriately.  Thanks to FlatCap/Rich for pointing this out.
- Determine endianness in ./configure and use that in addition to existing
  mechanisms for determining endianness.
2005-06-20 14:31:30 +00:00
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