Commit Graph

  • 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
  • f7e003fd49 update cantab.net!aia21 2002-12-29 21:37:21 +0000
  • be6376f85e 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
  • 2dbb7c23a5 Fix erroneusly placed err = errno. cantab.net!aia21 2002-12-29 21:37:21 +0000
  • 3bcc223bfd 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. 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
  • a9f6279e55 update cantab.net!aia21 2002-12-29 17:54:10 +0000
  • 84b007cf9c add export for ntfs_attr_size_bounds_check(). cantab.net!aia21 2002-12-29 17:54:10 +0000
  • 36ee87eab4 Add new API ntfs_attr_size_bounds_check(). cantab.net!aia21 2002-12-29 17:54:10 +0000
  • cfa2dc3960 Add 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
  • d24d73e13c libntfs/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
  • 7bd63f4186 Uncomment still unused label. cantab.net!aia21 2002-12-29 12:17:35 +0000
  • f75d0c5be5 Load the attribute definition table at mount time and free it at umount time. cantab.net!aia21 2002-12-29 12:17:35 +0000
  • a86ad90a97 Finish off / fix ability to specify an attribute name. cantab.net!aia21 2002-12-29 12:17:35 +0000
  • 6258afc6dd Add attribute definition table to ntfs volume structure. cantab.net!aia21 2002-12-29 12:17:35 +0000
  • 0d45f0a690 Forgot the increment in the while loop. Thanks to Szaka for spotting this. cantab.net!aia21 2002-12-28 22:28:02 +0000
  • 998104321b Forgot the increment in the while loop. Thanks to Szaka for spotting this. cantab.net!aia21 2002-12-28 22:28:02 +0000
  • ed19c0cf08 Add 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
  • 7b2cb8211f Add 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
  • ff5a0d104d libntfs/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
  • 4084c90c93 Remove silly and wrong sanity check. cantab.net!aia21 2002-12-28 20:10:50 +0000
  • 3d5d045fe4 Fix stupid typo bugs. cantab.net!aia21 2002-12-28 20:10:50 +0000
  • 722a3eb12f Fix stupid typo bug. cantab.net!aia21 2002-12-28 20:10:50 +0000
  • ab8ae59c52 Fix debug output for offset. Only dump attribute records for attribute being resized. cantab.net!aia21 2002-12-28 20:10:50 +0000
  • f8c9d4a61d libntfs/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
  • 844432eeca Fix typos and correct a wrong sanity check which prevented truncation to zero size. cantab.net!aia21 2002-12-28 19:19:05 +0000
  • 65f89be321 Fix 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
  • 42c62cc120 update cantab.net!aia21 2002-12-27 23:44:01 +0000
  • 27f6b2df8d Force is -f not -F. cantab.net!aia21 2002-12-27 23:44:01 +0000
  • 9fd4cc17e3 Do 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
  • a447c17337 Add ntfstruncate to the BitKeeper ignore list. cantab.net!aia21 2002-12-27 23:15:23 +0000
  • 98d1f0f5b3 Add ntfstruncate to the BitKeeper ignore list. cantab.net!aia21 2002-12-27 23:15:23 +0000
  • 8f80ecb2ba update cantab.net!aia21 2002-12-27 23:14:11 +0000
  • 19c9c5dff3 ntfs_umount() now also does an fdatasync() on the device before closing it. cantab.net!aia21 2002-12-27 23:14:11 +0000
  • a6c464ca4d (Logical change 1.64) cantab.net!aia21 2002-12-27 23:14:11 +0000
  • dafd0eefe3 Initial revision cantab.net!aia21 2002-12-27 23:14:11 +0000
  • 43c7dfa6af Add 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
  • dd92ef9b61 update cantab.net!aia21 2002-12-27 18:53:56 +0000
  • 66db0a4f86 Implement ntfs_rl_truncate(). cantab.net!aia21 2002-12-27 18:53:56 +0000
  • ebe9aa33f3 Implement ntfs_rl_truncate(). cantab.net!aia21 2002-12-27 18:53:56 +0000
  • a50496eca8 update cantab.net!aia21 2002-12-27 17:25:45 +0000
  • ac10aa7709 Setup the cluster and mft allocators. cantab.net!aia21 2002-12-27 17:25:45 +0000
  • 91597fe050 Add 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
  • 3bc805714e update todo cantab.net!aia21 2002-12-27 16:48:52 +0000
  • 78e207b2f9 Change 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
  • eb98ae1dca Change 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
  • 66fb584c1a Update todo. cantab.net!aia21 2002-12-27 16:35:17 +0000
  • 754a34b869 Update changelog. cantab.net!aia21 2002-12-27 16:35:17 +0000
  • 928eff2891 Move some run list related functions out of attrib.[hc] into runlist.[hc]. cantab.net!aia21 2002-12-27 16:35:17 +0000
  • e5d59f00f1 Fix compile. cantab.net!aia21 2002-12-27 16:35:17 +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
  • f89206c784 update changelog cantab.net!aia21 2002-12-27 16:18:10 +0000
  • ccf8a369a2 Update build process for bitmap.c. cantab.net!aia21 2002-12-27 16:18:10 +0000
  • 42338a8bee Typo fix. cantab.net!aia21 2002-12-27 16:18:10 +0000
  • 54cde7ab8e (Logical change 1.59) cantab.net!aia21 2002-12-27 16:18:10 +0000
  • 26a99e4db3 Initial revision cantab.net!aia21 2002-12-27 16:18:10 +0000
  • 5fe5494e4c Fix prototype. cantab.net!aia21 2002-12-27 16:18:10 +0000
  • d761ee8105 Fix compilation. cantab.net!aia21 2002-12-27 16:18:10 +0000
  • bccfbfbff4 Add 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
  • 67ae4b9651 Update comments for ntfs_cluster_free(). cantab.net!aia21 2002-12-26 20:36:52 +0000
  • 57e13d7537 Update changelog. cantab.net!aia21 2002-12-26 20:36:52 +0000
  • f8a7ee4a7e Typos. cantab.net!aia21 2002-12-26 20:36:52 +0000
  • 833db0bc4b Typo cantab.net!aia21 2002-12-26 20:36:52 +0000
  • 1dd01bf3c7 New API: ntfs_rl_truncate(). 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
  • d67cb08072 Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs. cantab.net!aia21 2002-12-26 14:03:28 +0000
  • 6c8e401c53 Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs. cantab.net!aia21 2002-12-26 14:03:28 +0000
  • 9920ebfb22 Update TODO.libntfs. cantab.net!aia21 2002-12-26 14:00:31 +0000
  • 2eddb7228e New bit operations NInoTestAndSetDirty() and NInoTestAndClearDirty(). cantab.net!aia21 2002-12-26 14:00:31 +0000
  • 4ad9d937a6 Implement ntfs_inode_sync(). cantab.net!aia21 2002-12-26 14:00:31 +0000
  • 7781c8f5df Fix 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
  • 9fd51dde62 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}(). 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
  • cd92a29ccb Typo. cantab.net!aia21 2002-12-25 20:18:29 +0000
  • 185a33e214 Sort out compilation. cantab.net!aia21 2002-12-25 20:18:29 +0000
  • 624000557c Sort out compilation. cantab.net!aia21 2002-12-25 20:18:29 +0000
  • 4cccbda4fc New files lcnalloc.[ch] to contain the cluster (de)allocator API. cantab.net!aia21 2002-12-25 20:18:29 +0000
  • 6d3d453c53 Initial revision cantab.net!aia21 2002-12-25 20:18:29 +0000
  • b7857b472b Add lcnalloc to build process. cantab.net!aia21 2002-12-25 20:18:29 +0000
  • 54a7163926 Typos. cantab.net!aia21 2002-12-25 19:25:39 +0000
  • 36635b8fdc Typos. cantab.net!aia21 2002-12-25 19:25:39 +0000
  • 0e871e83b2 New API function ntfs_ucsnlen(). cantab.net!aia21 2002-12-25 19:17:56 +0000
  • a8d091270f New API function ntfs_ucsnlen() and removal of mkntfs.c/ucsnlen(). cantab.net!aia21 2002-12-25 19:17:56 +0000
  • 16e4e8717a New API function ntfs_ucsnlen() and removal of mkntfs.c/ucsnlen(). cantab.net!aia21 2002-12-25 19:17:56 +0000
  • 83cf426360 ignore generated files flatcap.org!flatcap 2002-12-23 04:45:08 +0000
  • 4a70578e20 ignore generated files flatcap.org!flatcap 2002-12-23 04:45:08 +0000
  • e6c73a5203 [matt] new code flatcap.org!flatcap 2002-12-23 04:42:18 +0000
  • 787420defe [matt] new code flatcap.org!flatcap 2002-12-23 04:42:18 +0000
  • e37809b5a9 typo flatcap.org!flatcap 2002-12-23 04:40:25 +0000
  • 363b1bc4df qualify sf's name flatcap.org!flatcap 2002-12-23 04:40:25 +0000
  • 06584bb950 minor tweaks to man pages flatcap.org!flatcap 2002-12-23 04:40:25 +0000