Commit Graph

1297 Commits (31c61d34040b40dc6f52d23aeeae5abd2da9270c)
 

Author SHA1 Message Date
cantab.net!aia21 43c7dfa6af Add ntfstruncate to manual build process.
(Logical change 1.64)
2002-12-27 23:14:11 +00:00
cantab.net!aia21 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.

BKrev: 3e0cdec31tkln57-NXAcN4eNov_nBA
2002-12-27 23:14:11 +00:00
cantab.net!aia21 dd92ef9b61 update
(Logical change 1.63)
2002-12-27 18:53:56 +00:00
cantab.net!aia21 66db0a4f86 Implement ntfs_rl_truncate().
BKrev: 3e0ca1c4sg6ib1Q-gDWoTlzCiv1k0A
2002-12-27 18:53:56 +00:00
cantab.net!aia21 ebe9aa33f3 Implement ntfs_rl_truncate().
(Logical change 1.63)
2002-12-27 18:53:56 +00:00
cantab.net!aia21 a50496eca8 update
(Logical change 1.62)
2002-12-27 17:25:45 +00:00
cantab.net!aia21 ac10aa7709 Setup the cluster and mft allocators.
(Logical change 1.62)
2002-12-27 17:25:45 +00:00
cantab.net!aia21 91597fe050 Add variables used by the cluster and mft allocators.
(Logical change 1.62)
2002-12-27 17:25:45 +00:00
cantab.net!aia21 02a141c9c0 - Add variables used bu the cluster and mft allocators
to the ntfs_volume structure.
- Setup the cluster and mft allocators.

BKrev: 3e0c8d19gy-d4BTZdoMOn6CjRiL11w
2002-12-27 17:25:45 +00:00
cantab.net!aia21 3bc805714e update todo
(Logical change 1.61)
2002-12-27 16:48:52 +00:00
cantab.net!aia21 78e207b2f9 Change ntfs_rl_truncate() to take address of the runlist
rather than the runlist to allow reallocation of the runlist
buffer.

BKrev: 3e0c8474LNHF-sHxrKW2PvR56flIAw
2002-12-27 16:48:52 +00:00
cantab.net!aia21 eb98ae1dca Change ntfs_rl_truncate() to take address of the runlist
rather than the runlist to allow reallocation of the runlist
buffer.

(Logical change 1.61)
2002-12-27 16:48:52 +00:00
cantab.net!aia21 66fb584c1a Update todo.
(Logical change 1.60)
2002-12-27 16:35:17 +00:00
cantab.net!aia21 754a34b869 Update changelog.
(Logical change 1.60)
2002-12-27 16:35:17 +00:00
cantab.net!aia21 928eff2891 Move some run list related functions out of attrib.[hc] into runlist.[hc].
(Logical change 1.60)
2002-12-27 16:35:17 +00:00
cantab.net!aia21 e5d59f00f1 Fix compile.
(Logical change 1.60)
2002-12-27 16:35:17 +00:00
cantab.net!aia21 5fe6d01c92 - Move some run list related functions out of attrib.[hc] into runlist.[hc].
- Fix compile of bitmap.c.

BKrev: 3e0c8145BykcQw0WKZvJrJSaZyfmiQ
2002-12-27 16:35:17 +00:00
cantab.net!aia21 f89206c784 update changelog
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 ccf8a369a2 Update build process for bitmap.c.
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 42338a8bee Typo fix.
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 54cde7ab8e (Logical change 1.59) 2002-12-27 16:18:10 +00:00
cantab.net!aia21 26a99e4db3 Initial revision 2002-12-27 16:18:10 +00:00
cantab.net!aia21 5fe5494e4c Fix prototype.
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 d761ee8105 Fix compilation.
2002/12/27 16:03:18+00:00 cantab.net!aia21
Implement ntfs_cluster_free().

(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 bccfbfbff4 Add export for ntfs_bitmap_clear_run().
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21 f070801f38 - Implement ntfs_cluster_free().
- New API function provided by bitmap.[hc]: ntfs_bitmap_clear_run().

BKrev: 3e0c7d42HRZG_tWdMiPBwVY6SfiePg
2002-12-27 16:18:10 +00:00
cantab.net!aia21 67ae4b9651 Update comments for ntfs_cluster_free().
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 57e13d7537 Update changelog.
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 f8a7ee4a7e Typos.
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 833db0bc4b Typo
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 1dd01bf3c7 New API: ntfs_rl_truncate().
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 c9ca9fd9b7 - lowest_vcn is cpu endian not little endian in ntfs_external_attr_find().
- Implement ntfs_non_resident_attr_shrink() for inodes without extents.

(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 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.

BKrev: 3e0b6864kIQCHxlS8aBwkJRuaMCQfA
2002-12-26 20:36:52 +00:00
cantab.net!aia21 d67cb08072 Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs.
BKrev: 3e0b0c30hCnFLU5zDAjMi1eexzbjuQ
2002-12-26 14:03:28 +00:00
cantab.net!aia21 6c8e401c53 Correct Bitkeeper/etc/ignore with the renamed ntfstools directory to ntfsprogs.
(Logical change 1.57)
2002-12-26 14:03:28 +00:00
cantab.net!aia21 9920ebfb22 Update TODO.libntfs.
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21 2eddb7228e New bit operations NInoTestAndSetDirty() and NInoTestAndClearDirty().
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21 4ad9d937a6 Implement ntfs_inode_sync().
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21 7781c8f5df Fix test_and_set_bit() as well as test_and_clear_bit().
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21 de1ed338e6 - Implement ntfs_inode_sync().
- New bit operations NInoTestAndSetDirty() and NInoTestAndClearDirty().
- Fix test_and_set_bit() as well as test_and_clear_bit().

BKrev: 3e0b0b7fSCNq47YYpxs3AtmQdIl8yg
2002-12-26 14:00:31 +00:00
cantab.net!aia21 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}().

(Logical change 1.55)
2002-12-26 00:44:57 +00:00
cantab.net!aia21 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.

BKrev: 3e0a51091Ko5HHKjzCPC-hGmU3mhvQ
2002-12-26 00:44:57 +00:00
cantab.net!aia21 cd92a29ccb Typo.
(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21 185a33e214 Sort out compilation.
2002/12/25 19:51:31+00:00 cantab.net!aia21

(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21 624000557c Sort out compilation.
2002/12/25 19:48:37+00:00 cantab.net!aia21

(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21 4cccbda4fc New files lcnalloc.[ch] to contain the cluster (de)allocator API.
BKrev: 3e0a1295kAoeE-qht6uwYfrV44Z1Yg
2002-12-25 20:18:29 +00:00
cantab.net!aia21 6d3d453c53 Initial revision 2002-12-25 20:18:29 +00:00
cantab.net!aia21 b7857b472b Add lcnalloc to build process.
(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21 54a7163926 Typos.
BKrev: 3e0a0633wbqgRrbftLwhIcW9SkayDA
2002-12-25 19:25:39 +00:00
cantab.net!aia21 36635b8fdc Typos.
(Logical change 1.53)
2002-12-25 19:25:39 +00:00