08ef32703a- Clear newly allocated space in ntfs_resident_attr_value_resize(). - Rename ntfs_resident_attr_shrink() to ntfs_resident_attr_resize() and make it resize upwards as well as downwards. - Change ntfs_attr_truncate() to allow resizing upwards of resident attributes.
cantab.net!aia21
2002-12-30 12:23:10 +0000
3bcc223bfdChange ntfs_inode_close() to disconnect extent inodes from their base inode when an extent inode is closed. This is needed byt ntfs_mft_record_free() in order to be able to free extent mft records.
cantab.net!aia21
2002-12-29 21:37:21 +0000
58f750c289- Change ntfs_inode_close() to disconnect extent inodes from their base inode when an extent inode is closed. This is needed byt ntfs_mft_record_free() in order to be able to free extent mft records. - New API provided by mft.[hc]: ntfs_mft_record_alloc(), -- WIP ntfs_mft_record_free().
cantab.net!aia21
2002-12-29 21:37:21 +0000
efe2271a30- Change ntfs_inode_close() to disconnect extent inodes from their base inode when an extent inode is closed. This is needed byt ntfs_mft_record_free() in order to be able to free extent mft records. - New API provided by mft.[hc]: ntfs_mft_record_alloc(), -- WIP ntfs_mft_record_free().
cantab.net!aia21
2002-12-29 21:37:21 +0000
84b007cf9cadd export for ntfs_attr_size_bounds_check().
cantab.net!aia21
2002-12-29 17:54:10 +0000
36ee87eab4Add new API ntfs_attr_size_bounds_check().
cantab.net!aia21
2002-12-29 17:54:10 +0000
cfa2dc3960Add new API attrib.[hc]::ntfs_attr_size_bounds_check() to verify a size against an attribute type for validity. We check the volume's attribute definitions table to do so.
cantab.net!aia21
2002-12-29 17:54:10 +0000
d24d73e13clibntfs/attrib.c Uncomment still unused label. ntfsprogs/ntfstruncate.c Add ability to specify an attribute name in addition to the attribute type. include/volume.h Add attribute definition table to ntfs volume structure. libntfs/volume.c Load the attribute definition table at mount time and free it at umount time.
cantab.net!aia21
2002-12-29 12:17:35 +0000
7bd63f4186Uncomment still unused label.
cantab.net!aia21
2002-12-29 12:17:35 +0000
f75d0c5be5Load the attribute definition table at mount time and free it at umount time.
cantab.net!aia21
2002-12-29 12:17:35 +0000
a86ad90a97Finish off / fix ability to specify an attribute name.
cantab.net!aia21
2002-12-29 12:17:35 +0000
0d45f0a690Forgot the increment in the while loop. Thanks to Szaka for spotting this.
cantab.net!aia21
2002-12-28 22:28:02 +0000
998104321bForgot the increment in the while loop. Thanks to Szaka for spotting this.
cantab.net!aia21
2002-12-28 22:28:02 +0000
ed19c0cf08Add test and comments for truncation of non-resident attributes to zero size. We should be converting such an attribute to a resident one instead of leaving a zero size non-resident attribute.
cantab.net!aia21
2002-12-28 22:13:06 +0000
7b2cb8211fAdd test and comments for truncation of non-resident attributes to zero size. We should be converting such an attribute to a resident one instead of leaving a zero size non-resident attribute.
cantab.net!aia21
2002-12-28 22:13:06 +0000
ff5a0d104dlibntfs/attrib.c Fix stupid typo bug. libntfs/bitmap.c Fix stupid typo bugs. libntfs/lcnalloc.c Remove silly and wrong sanity check. ntfsprogs/ntfstruncate.c Fix debug output for offset. Only dump attribute records for attribute being resized.
cantab.net!aia21
2002-12-28 20:10:50 +0000
4084c90c93Remove silly and wrong sanity check.
cantab.net!aia21
2002-12-28 20:10:50 +0000
ab8ae59c52Fix debug output for offset. Only dump attribute records for attribute being resized.
cantab.net!aia21
2002-12-28 20:10:50 +0000
f8c9d4a61dlibntfs/attrib.c Fix truncation of resident attributes (new attribute length calculation was incorrect). ntfsprogs/ntfstruncate.c Fix typos and correct a wrong sanity check which prevented truncation to zero size.
cantab.net!aia21
2002-12-28 19:19:05 +0000
844432eecaFix typos and correct a wrong sanity check which prevented truncation to zero size.
cantab.net!aia21
2002-12-28 19:19:05 +0000
65f89be321Fix truncation of resident attributes (new attribute length calculation was incorrect).
cantab.net!aia21
2002-12-28 19:19:05 +0000
ab04f3489a- Only resize resident attribute records if there is a sufficiently large change in the length of the attribute value. - Only deallocate clusters, truncate the runlist, and regenerate the mapping pairs array if the change in the non-resident attribute value is sufficiently large.
cantab.net!aia21
2002-12-28 12:04:07 +0000
cf827730eb- Only resize resident attribute records if there is a sufficiently large change in the length of the attribute value. - Only deallocate clusters, truncate the runlist, and regenerate the mapping pairs array if the change in the non-resident attribute value is sufficiently large.
cantab.net!aia21
2002-12-28 12:04:07 +0000
27f6b2df8dForce is -f not -F.
cantab.net!aia21
2002-12-27 23:44:01 +0000
9fd4cc17e3Do not perform the actual write on a read-only volume!
cantab.net!aia21
2002-12-27 23:44:01 +0000
b7270466fe- libntfs: Do not perform the actual write on a read-only volume! - ntfstruncate: Force is -f not -F.
cantab.net!aia21
2002-12-27 23:44:01 +0000
a447c17337Add ntfstruncate to the BitKeeper ignore list.
cantab.net!aia21
2002-12-27 23:15:23 +0000
98d1f0f5b3Add ntfstruncate to the BitKeeper ignore list.
cantab.net!aia21
2002-12-27 23:15:23 +0000
43c7dfa6afAdd ntfstruncate to manual build process.
cantab.net!aia21
2002-12-27 23:14:11 +0000
216ca068fd- Added new utility ntfstruncate, primarily to be able to test the new ntfs_attr_truncate() function, it is not compiled by default. Note, the library can currently only make attributes smaller and it only works on uncompressed, unencrypted inodes which do not contain attribute lists, i.e. on simple files, but that was quite a lot of new code in itself which needs a lot of testing! - ntfs_umount() now also does an fdatasync() on the device before closing it.
cantab.net!aia21
2002-12-27 23:14:11 +0000
ac10aa7709Setup the cluster and mft allocators.
cantab.net!aia21
2002-12-27 17:25:45 +0000
91597fe050Add variables used by the cluster and mft allocators.
cantab.net!aia21
2002-12-27 17:25:45 +0000
02a141c9c0- Add variables used bu the cluster and mft allocators to the ntfs_volume structure. - Setup the cluster and mft allocators.
cantab.net!aia21
2002-12-27 17:25:45 +0000
3bc805714eupdate todo
cantab.net!aia21
2002-12-27 16:48:52 +0000
78e207b2f9Change ntfs_rl_truncate() to take address of the runlist rather than the runlist to allow reallocation of the runlist buffer.
cantab.net!aia21
2002-12-27 16:48:52 +0000
eb98ae1dcaChange ntfs_rl_truncate() to take address of the runlist rather than the runlist to allow reallocation of the runlist buffer.
cantab.net!aia21
2002-12-27 16:48:52 +0000
5fe6d01c92- Move some run list related functions out of attrib.[hc] into runlist.[hc]. - Fix compile of bitmap.c.
cantab.net!aia21
2002-12-27 16:35:17 +0000
bccfbfbff4Add export for ntfs_bitmap_clear_run().
cantab.net!aia21
2002-12-27 16:18:10 +0000
f070801f38- Implement ntfs_cluster_free(). - New API function provided by bitmap.[hc]: ntfs_bitmap_clear_run().
cantab.net!aia21
2002-12-27 16:18:10 +0000
67ae4b9651Update comments for ntfs_cluster_free().
cantab.net!aia21
2002-12-26 20:36:52 +0000
c9ca9fd9b7- lowest_vcn is cpu endian not little endian in ntfs_external_attr_find(). - Implement ntfs_non_resident_attr_shrink() for inodes without extents.
cantab.net!aia21
2002-12-26 20:36:52 +0000
90623ee1a8- New API: ntfs_rl_truncate(). - lowest_vcn is cpu endian not little endian in ntfs_external_attr_find(). - Implement ntfs_non_resident_attr_shrink() for inodes without extents.
cantab.net!aia21
2002-12-26 20:36:52 +0000
d67cb08072Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs.
cantab.net!aia21
2002-12-26 14:03:28 +0000
6c8e401c53Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs.
cantab.net!aia21
2002-12-26 14:03:28 +0000
7781c8f5dfFix test_and_set_bit() as well as test_and_clear_bit().
cantab.net!aia21
2002-12-26 14:00:31 +0000
de1ed338e6- Implement ntfs_inode_sync(). - New bit operations NInoTestAndSetDirty() and NInoTestAndClearDirty(). - Fix test_and_set_bit() as well as test_and_clear_bit().
cantab.net!aia21
2002-12-26 14:00:31 +0000
9fd51dde62New API functions (mostly still WIP): attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate() inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync() lcnalloc.[hc]: ntfs_cluster_{alloc,free}() Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}().
cantab.net!aia21
2002-12-26 00:44:57 +0000
6b5c3e9079- New API functions (mostly still WIP): attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate() inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync() lcnalloc.[hc]: ntfs_cluster_{alloc,free}() - Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}(). - Adapt mkntfs to use library implementation of ntfs_resident_attr_value_resize() instead of its own. - Minor typo fixes and comment improvements.
cantab.net!aia21
2002-12-26 00:44:57 +0000