Commit Graph

244 Commits (7b9cac2912d9f7c9302f7c84b836bd85a3c5fe05)

Author SHA1 Message Date
cha0smaster 7b9cac2912 Update ChangeLog and auto scripts. 2005-07-19 21:36:07 +00:00
antona 1fa9a39d9a Do the 1.11.0 release. 2005-07-19 09:59:51 +00:00
antona 2fbe1a701c - Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC from configure.ac as we
do not provide replacement functions for them and they break cross
  compilation.  (Christophe)
- Update everything for 1.11.0 release.
2005-07-18 13:51:16 +00:00
cha0smaster fc2382b742 libntfs/volume.c: fix ntfs_check_if_mounted to cope with dirrerent names of same file.
ntfsprogs/ntfsmount.c: don't put relative path to /etc/mtab.
2005-07-18 02:09:43 +00:00
antona 4ed406e68e Add new utility (make extra) - ntfsdecrypt. (Yuval) 2005-07-16 06:53:40 +00:00
szaka 9f50872ec2 Spelling typos, Debian bug #300073 2005-07-12 16:18:10 +00:00
szaka d37968ee84 Update ntfsfix manual 2005-07-10 22:44:00 +00:00
antona 47b52b54e3 Update changelog, fox more mkntfs bugs (thanks Timur!) and update build system
to SuSE 9.3 again.
2005-07-10 21:42:39 +00:00
antona 9cd8edce5f mkntfs: Fix backup bootsector creation. Thanks to Timur Amirkhanov
for pointing this stupidity out.  (We forgot to set the size before
doing it.)  (Anton)
2005-07-09 21:24:02 +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
szaka 2af728c6c4 ntfsresize: support bad clusters list ($BadClus:$Bad) 2005-07-03 23:21:01 +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 67731b14c8 Update changelog for changes that were lost after 1.10.0 release. 2005-07-02 18:30:46 +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
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
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 676d8782e8 - Update attribute definition handling. (Anton, Yura) 2005-06-09 22:09:39 +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 2d8dc1736d - Port collate.[ch] from kernel to library and implement

							
						
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 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
antona cf2646d607 Update 2005-05-19 21:54:59 +00:00
szaka fbbefe0c70 - read-write ntfs_mount() returns EPERM if the partition is hibernated 2005-05-10 16:53:48 +00:00
cantab.net!aia21 c4761f35bf Update
(Logical change 1.699)
2005-04-25 07:26:08 +00:00
cantab.net!aia21 b13242445a Update
(Logical change 1.698)
2005-04-22 13:52:16 +00:00
cantab.net!aia21 ac492c10bb update
(Logical change 1.697)
2005-04-19 12:01:38 +00:00
void!yura 9b0a58972a update
(Logical change 1.694)
2005-04-06 15:47:43 +00:00
elisa-laajakaista.fi!szaka da1b0e094b ntfsclone: make --metadata work with the new $Logfile checking code.
Save at least the first 16 KiB of $Logfile (the two RSTR records
should always be included if present). Save also records used for
checking empty $Logfile.

(Logical change 1.691)
2005-03-05 19:08:57 +00:00
cantab.net!aia21 19b8d3c7d1 Update
(Logical change 1.686)
2005-03-03 23:57:13 +00:00
elisa-laajakaista.fi!szaka 420c3cb606 ntfsfix: fix invalid mft records in $MFTMirr.
(Logical change 1.683)
2005-03-01 23:11:20 +00:00
elisa-laajakaista.fi!szaka cb2cd394b3 ntfsclone: added a new option, --rescue. It ignores read errors
so disks having bad sectors (dying disks) can be rescued. The content
of the cluster having bad sectors is filled by character '2' and the
start of the cluster is marked by "BadClusteR".

(Logical change 1.682)
2005-03-01 21:48:00 +00:00
elisa-laajakaista.fi!szaka 5d86dff231 ntfsclone: added a new option, --ignore-fs-check. It can be used only with
the --metadata option. The clusters causing the inconsistency are saved too.

(Logical change 1.681)
2005-02-28 19:23:20 +00:00
elisa-laajakaista.fi!szaka c65b34b709 ntfsfix: empty journal and mark volume dirty for chkdsk if ntfs_mount failed. This makes read-write mounting of NTFS metadata images possible by
ntfsprogs and the kernel driver what were created by versions of ntfsclone previous than 2.0.0.

(Logical change 1.680)
2005-02-20 22:20:54 +00:00
cantab.net!aia21 b6b7655c55 Update
(Logical change 1.677)
2005-02-17 17:03:50 +00:00
void!yura b8da6570e0 ntfscp: Added SIGINT (Ctrl+C) handler, improved error handling in
sync failed case.  (Yura)

(Logical change 1.675)
2005-02-07 20:44:07 +00:00
void!yura d5eac44ab9 update
(Logical change 1.672)
2005-01-30 18:13:25 +00:00
void!yura 1354e9b446 Update.
(Logical change 1.666)
2005-01-25 21:41:25 +00:00
(none)!yura 14db887f8e Rename NTFS_SECTOR_SIZE to NTFS_BLOCK_SIZE to keep in sync with kernel driver.
(Logical change 1.653)
2005-01-11 20:28:28 +00:00
(none)!yura b86f85b7f1 Update.
(Logical change 1.651)
2004-12-22 18:06:07 +00:00
cantab.net!aia21 cabfe89386 Manual merge
2004/12/22 12:40:19+02:00 (none)!yura
Update.

(Logical change 1.647)
2004-12-22 14:22:58 +00:00
cantab.net!aia21 19fbf5b490 Update
(Logical change 1.646)
2004-12-22 14:22:09 +00:00
cantab.net!aia21 b12041e518 Update
(Logical change 1.645)
2004-12-22 14:04:41 +00:00
(none)!yura a6258ef736 Rename layout.h::ATTR_RECORD::{compressed_non_,non_,}resident_attr_end
to more shorter {non_,}resident_end and compressed_end.

(Logical change 1.637)
2004-11-21 10:53:22 +00:00
(none)!yura 2a2aecdb2a Update.
(Logical change 1.632)
2004-11-12 17:09:24 +00:00
(none)!yura 77802ca092 Update
(Logical change 1.627)
2004-11-05 19:53:34 +00:00
(none)!yura 3cb8b787bd - Remove attrlist.[ch]::ntfs_attrlist_set because it was very bad idea to separate it from ntfs_attrlist_entry_{add,rm}.
- Update ntfs_attrlist_entry_{add,rm} and ntfs_inode_add_attrlist to work without it.
- Some other fixes, improvements and cleanups.

(Logical change 1.615)
2004-10-17 15:56:39 +00:00
(none)!yura c59b032f7e update
(Logical change 1.613)
2004-10-15 11:38:45 +00:00
(none)!yura 5d5f6497e9 update
(Logical change 1.612)
2004-10-14 18:23:21 +00:00