Commit Graph

461 Commits (0bda9e5cda47e3d11ebfd0c8e3be726f10a36c4f)
 

Author SHA1 Message Date
flatcap.org!flatcap b1548158c8 update configure script so it doesn't baulk at gcc 3.*
BKrev: 3e1cdccbPDPWhHlsndqJup2fKlyaEQ
2003-01-09 02:22:03 +00:00
flatcap.org!flatcap 13e52bbfbf horrendous regex to identify gcc 3.*
(Logical change 1.81)
2003-01-09 02:22:03 +00:00
flatcap.org!flatcap e860ea0ed4 three modes
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 87213d0c1c new: ntfscluster.[ch]
locate the owner of a given cluster
  this is just a quick hack, but quite a few bits should be reusable
new: utils.[ch]
  a first attempt to move some common routines into a shared place
  some should end up in the lib, others shouldn't
build updated with the above
code added to wipe
a few typos here and there

BKrev: 3e1cd37dx5Kmw9Eu-qzPoQIf9i1XuQ
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 6862599a67 minor typos
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 064da66ee4 ideas for undelete
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap e7dd03f9a4 add -Wall to normal build (not just debug)
add new files to build

(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 679206550b add -Wall to normal build (not just debug)
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 9597186a6b a bit of code added, some moved out into utils
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 9227c23f73 (Logical change 1.80) 2003-01-09 01:42:21 +00:00
flatcap.org!flatcap fde565d504 Initial revision 2003-01-09 01:42:21 +00:00
flatcap.org!flatcap ed1149f0a0 added a version option
simplified get_bitmap_data
added comment blocks

(Logical change 1.79)
2003-01-09 01:24:28 +00:00
flatcap.org!flatcap 60ac38315c A bit of minor tidying and lots of comments for resize
BKrev: 3e1ccf4cXHiCD11ZN0ZRJZfdlJb-Dg
2003-01-09 01:24:28 +00:00
cantab.net!aia21 57f0b7300e update copyright
(Logical change 1.78)
2003-01-08 10:48:09 +00:00
cantab.net!aia21 dc9c8b61e1 update
(Logical change 1.78)
2003-01-08 10:48:09 +00:00
cantab.net!aia21 312e98fd24 New API function: ntfs_attr_can_be_non_resident().
(Logical change 1.78)
2003-01-08 10:48:09 +00:00
cantab.net!aia21 44ed67cfde - New API function: ntfs_attr_can_be_non_resident().
- Check whether the attribute name needs moving when resizing the
  resident part of an attribute record.
- Create internal function ntfs_attr_find_in_attrdef().

BKrev: 3e1c01e9HmWONmXWbv5b3zbLAYdl1g
2003-01-08 10:48:09 +00:00
cantab.net!aia21 ea773ce760 - New API function: ntfs_attr_can_be_non_resident().
- Check whether the attribute name needs moving when resizing the
  resident part of an attribute record.
- Create internal function ntfs_attr_find_in_attrdef().

(Logical change 1.78)
2003-01-08 10:48:09 +00:00
cantab.net!aia21 7ee9338075 BKrev: 3e19feaavPbEuJqUb_dQmLe--jFPdg 2003-01-06 22:09:46 +00:00
cantab.net!aia21 cb8fc1b9e9 (Logical change 1.77) 2003-01-06 22:09:46 +00:00
cantab.net!aia21 cdcc968ac2 mft.c:
fix compile (thanks to Szaka)

BKrev: 3e19fe408ezU1nHbgzxf9oBHR5PcUA
2003-01-06 22:08:00 +00:00
cantab.net!aia21 8a3f5f4c00 fix compile (thanks to Szaka)
(Logical change 1.76)
2003-01-06 22:08:00 +00:00
cantab.net!aia21 75c2ef39f0 (Logical change 1.76) 2003-01-06 22:08:00 +00:00
cantab.net!aia21 09b1e1c2dc - 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.

BKrev: 3e103aaelA-DbuSxAZOuXF-SqZHIaA
2002-12-30 12:23:10 +00:00
cantab.net!aia21 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.

(Logical change 1.75)
2002-12-30 12:23:10 +00:00
cantab.net!aia21 f7e003fd49 update
(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21 be6376f85e New API provided by mft.[hc]:
ntfs_mft_record_alloc(), -- WIP
	ntfs_mft_record_free().

(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21 2dbb7c23a5 Fix erroneusly placed err = errno.
(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21 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.

(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21 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().

BKrev: 3e0f6b11PfOsUTFzT98-K2SKWj_qpg
2002-12-29 21:37:21 +00:00
cantab.net!aia21 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().

(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21 a9f6279e55 update
(Logical change 1.73)
2002-12-29 17:54:10 +00:00
cantab.net!aia21 84b007cf9c add export for ntfs_attr_size_bounds_check().
(Logical change 1.73)
2002-12-29 17:54:10 +00:00
cantab.net!aia21 36ee87eab4 Add new API ntfs_attr_size_bounds_check().
(Logical change 1.73)
2002-12-29 17:54:10 +00:00
cantab.net!aia21 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.

BKrev: 3e0f36c20ltAQdArVytoyFjeFUgbKA
2002-12-29 17:54:10 +00:00
cantab.net!aia21 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.

BKrev: 3e0ee7df1MNHgnJmH-0-5nWouWa6nQ
2002-12-29 12:17:35 +00:00
cantab.net!aia21 7bd63f4186 Uncomment still unused label.
(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 f75d0c5be5 Load the attribute definition table at mount time and free it at umount time.
(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 a86ad90a97 Finish off / fix ability to specify an attribute name.
2002/12/29 12:03:45+00:00 cantab.net!aia21
Add ability to specify an attribute name in addition to the attribute type.

(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 6258afc6dd Add attribute definition table to ntfs volume structure.
(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 0d45f0a690 Forgot the increment in the while loop. Thanks to Szaka for spotting this.
BKrev: 3e0e2572M2bMOll496m961dIX7EGlQ
2002-12-28 22:28:02 +00:00
cantab.net!aia21 998104321b Forgot the increment in the while loop. Thanks to Szaka for spotting this.
(Logical change 1.71)
2002-12-28 22:28:02 +00:00
cantab.net!aia21 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.

BKrev: 3e0e21f2-EOnVjpgx9hG0y9AKl047A
2002-12-28 22:13:06 +00:00
cantab.net!aia21 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.

(Logical change 1.70)
2002-12-28 22:13:06 +00:00
cantab.net!aia21 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.

BKrev: 3e0e054aZ_gETxMSUP_8y3be4ppXRg
2002-12-28 20:10:50 +00:00
cantab.net!aia21 4084c90c93 Remove silly and wrong sanity check.
(Logical change 1.69)
2002-12-28 20:10:50 +00:00
cantab.net!aia21 3d5d045fe4 Fix stupid typo bugs.
(Logical change 1.69)
2002-12-28 20:10:50 +00:00
cantab.net!aia21 722a3eb12f Fix stupid typo bug.
(Logical change 1.69)
2002-12-28 20:10:50 +00:00
cantab.net!aia21 ab8ae59c52 Fix debug output for offset.
Only dump attribute records for attribute being resized.

(Logical change 1.69)
2002-12-28 20:10:50 +00:00
cantab.net!aia21 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.

BKrev: 3e0df92901GVJpef7R3f7Aya7w0XSg
2002-12-28 19:19:05 +00:00