Commit Graph

480 Commits

Author SHA1 Message Date
!uv
5ffea94d8d Warning fixes: mixing declerations with code.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
2e082893fe Warning fixes: missing const and mixing declerations with code.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
7a64dc8159 Warning fixes: change variable to unsigned.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
43b262ad58 Warning fix: shadowing a global variable.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
912044e09a printf format fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
0106f54ff0 printf format fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
d9f119eef3 Variable type fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
cb04792793 A printf format fix and a warnning fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
868e8aa002 A printf format fix and Variable type fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
89fee71920 Wrap macro definition with matching #ifndef.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv
fee4dcb145 Restore compile time dependencies at the appropriate level.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv
dc9c44c798 Reduce compile time dependencies.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv
b01733f10a Comment unused code with #if 0
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv
e7545d7e24 Reorder/pad struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv
97df123793 Reorder struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv
c3f683c497 Allow better error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
!uv
27bf9c0ea0 Allow better compiler optimization/error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21
d33e7eaae4 Fix fallout from previous error output changes.
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21
380f4f1ce1 Silence compiler warnings.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
flatcap.org!ntfs
9fd1edce61 Undelete in-use clusters as well
(Logical change 1.499)
2004-08-16 20:14:59 +00:00
flatcap.org!ntfs
a78b1c7b03 use the directory objects to lookup files
(Logical change 1.497)
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs
78e3bdfd76 find diverse objects
(Logical change 1.497)
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs
7b752dceda clear up everything on umount
(Logical change 1.496)
2004-08-13 12:02:34 +00:00
flatcap.org!ntfs
552a8e42be keep track of inodes
(Logical change 1.495)
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs
d25fa0b7c1 integrate ntfs_dir's into the volume and inodes
(Logical change 1.495)
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs
a61808707f minor build fix
(Logical change 1.494)
2004-08-12 13:33:25 +00:00
flatcap.org!ntfs
9b94d609cd default to -a so the user always gets some output
(Logical change 1.492)
2004-08-12 09:22:54 +00:00
cantab.net!aia21
4da9583aad make ntfslabel pay attention to the --no-action
command line switch. (Yuval)

(Logical change 1.490)
2004-08-12 08:15:25 +00:00
flatcap.org!ntfs
ac81ff1e9f fixes to recursion
(Logical change 1.486)
2004-08-11 09:09:56 +00:00
flatcap.org!ntfs
6646895a63 move structs from .c
(Logical change 1.484)
2004-08-09 16:36:18 +00:00
flatcap.org!ntfs
62d954e92c move out structs
regroup functions

2004/08/04 22:08:05+01:00 flatcap.org!ntfs
rebuild children list after alloc/root add
rearrange pointers and ascend in add2

2004/07/17 01:09:42+01:00 flatcap.org!ntfs
split node

2004/07/17 01:07:06+01:00 flatcap.org!ntfs
some add stuff: freespace, transfer

2004/07/14 23:59:50+01:00 flatcap.org!ntfs
start add file

2004/07/14 23:48:16+01:00 flatcap.org!ntfs
fix corruption in dt_root_remove

(Logical change 1.484)
2004-08-09 16:36:18 +00:00
cantab.net!aia21
95a799559c Change include from <> to "" for list.h
(Logical change 1.482)
2004-08-09 13:19:11 +00:00
flatcap.org!ntfs
acc1ae3a46 minor code tidy up
(Logical change 1.481)
2004-08-09 11:01:35 +00:00
flatcap.org!ntfs
82e5f43087 Giang: Add a recursive option to ls
(Logical change 1.480)
2004-08-08 22:47:46 +00:00
(none)!yura
03f1839241 add ntfscp to build
(Logical change 1.467)
2004-08-02 12:05:21 +00:00
(none)!yura
d1ecde1e2d Fix spelling
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura
1ce46a27b1 Initial revision 2004-07-30 13:00:24 +00:00
(none)!yura
6c71138294 (Logical change 1.465) 2004-07-30 13:00:24 +00:00
flatcap.org!ntfs
6968c5bc66 truncate option
(Logical change 1.464)
2004-07-15 18:28:05 +00:00
cantab.net!aia21
38314bb499 Fix compiler warning. (Yuval)
(Logical change 1.454)
2004-07-13 13:06:05 +00:00
cantab.net!aia21
dfde7adfd4 Add noreturn attribute to err_exit function. (Yuval)
(Logical change 1.453)
2004-07-13 13:04:02 +00:00
elisa-laajakaista.fi!szaka
87a2d1bfef added special image format support (Per Olofsson)
(Logical change 1.451)
2004-07-10 20:01:17 +00:00
elisa-laajakaista.fi!szaka
c329cb8c65 Enhancements, fixes, emphasize new imaging feature better
2004/07/10 17:40:52+03:00 elisa-laajakaista.fi!szaka
added special image format support  (Per Olofsson)

(Logical change 1.451)
2004-07-10 20:01:17 +00:00
(none)!yura
d47c77cd32 More quietly cluster_find
(Logical change 1.450)
2004-07-09 14:48:47 +00:00
flatcap.org!ntfs
31b8e1ecd4 fix root_replace
finish off remove

(Logical change 1.449)
2004-07-08 23:47:42 +00:00
(none)!yura
631668c253 Added code to determine INDX record size from $INDEX_ROOT
(Logical change 1.448)
2004-07-08 20:19:52 +00:00
cantab.net!aia21
82a284b4ab Use libntfs/volume.c::ntfs_logfile_reset() instead of wipe_logfile() at the
end of ntfswipe.c.  Also, always do the reset (unless act == act_info) to
ensure windows can boot and so journal replay does not cause corruption.

(Logical change 1.447)
2004-07-07 12:49:45 +00:00
(none)!yura
5286770d63 * wipe_directory implementation
* don't force overwrite logfile with 0xFF for ntfs v3.1
* endian fix
* indention fixes
* cleanups
* bugfix ntfswipe_tail for compressed blocks followed by >1 sparse blocks

(Logical change 1.446)
2004-07-06 19:53:05 +00:00
(none)!yura
5435e5faef * endian fix
* indention fixes

(Logical change 1.446)
2004-07-06 19:53:05 +00:00
(none)!yura
3a41564173 Various cleanups and fixes
(Logical change 1.445)
2004-07-04 16:41:24 +00:00
(none)!yura
07ef30bdf6 wipe_tails:
* proper implementation of wipe_compressed_attribute
* various fixes

(Logical change 1.444)
2004-06-28 23:05:50 +00:00
flatcap.org!ntfs
a1805f9212 make mft modifications in memory
(Logical change 1.443)
2004-06-27 01:05:48 +00:00
flatcap.org!ntfs
6b1670837c make bitmap alterations in memory
(Logical change 1.442)
2004-06-26 10:35:23 +00:00
(none)!yura
9d0b3d8069 wipe_tails:
* disable of handling compressed DATA attribute (it isn't safe now), until I implement it properly
* fixed bug in handling very fragmented files

(Logical change 1.441)
2004-06-25 17:08:20 +00:00
flatcap.org!ntfs
f961d41277 tidier version of add_root/alloc
(Logical change 1.440)
2004-06-24 18:03:37 +00:00
flatcap.org!ntfs
2adcb49e33 jazzed up dump mem
(Logical change 1.439)
2004-06-24 13:08:28 +00:00
flatcap.org!ntfs
9b00923dd5 cleaner versions of remove root/alloc
(Logical change 1.439)
2004-06-24 13:08:28 +00:00
(none)!yura
0f0a8013fc wipe_tails:
* Support of very fragmented files (runlist don't fit one mft record)
* Code restructure
* Minor bugfixes

(Logical change 1.438)
2004-06-23 23:20:53 +00:00
elisa-laajakaista.fi!szaka
be6c3651f6 make fsck related functions reusable: exit -> return conversations [ongoing]
(Logical change 1.437)
2004-06-23 14:18:45 +00:00
flatcap.org!ntfs
a18ae8d3c4 replace non-leaf node with its successor
(Logical change 1.436)
2004-06-22 22:13:52 +00:00
(none)!yura
d09e6a7f4a wipe_tails implementation for compressed, encrypted and sparce files.
(Logical change 1.435)
2004-06-22 17:55:38 +00:00
(none)!yura
ff0334f3c5 Output runlist for DATA attribute in verbose mode
(Logical change 1.435)
2004-06-22 17:55:38 +00:00
(none)!yura
c6f44798eb Free runlist after use
(Logical change 1.433)
2004-06-21 22:44:47 +00:00
flatcap.org!ntfs
4764e7ad65 start manipulating keys on delete
(Logical change 1.432)
2004-06-21 22:43:07 +00:00
flatcap.org!ntfs
546750a4f5 add an index entry to an index root
(Logical change 1.431)
2004-06-21 19:00:00 +00:00
flatcap.org!ntfs
2bd3dc1596 add an index entry to an index
(Logical change 1.429)
2004-06-20 23:15:53 +00:00
flatcap.org!ntfs
fb1cdc8825 wipe file tails
(Logical change 1.428)
2004-06-20 16:47:19 +00:00
flatcap.org!ntfs
c90bc03ffd missing credit
(Logical change 1.428)
2004-06-20 16:47:19 +00:00
flatcap.org!ntfs
3f9850d4cf Auto merged
2004/06/18 16:24:15+01:00 cantab.net!aia21
Exclude

(Logical change 1.427)
2004-06-18 17:54:41 +00:00
flatcap.org!ntfs
acef9d58b3 routines to add/remove a name and add/remove a vcn
(Logical change 1.426)
2004-06-18 17:51:59 +00:00
flatcap.org!ntfs
9847ef4fcc create an index entry from scratch
(Logical change 1.425)
2004-06-17 23:22:44 +00:00
flatcap.org!ntfs
6219eecc7b start some index entry manipulation routines
(Logical change 1.424)
2004-06-17 21:49:42 +00:00
flatcap.org!ntfs
4a82a887c3 Auto merged
2004/06/17 21:03:45+01:00 cantab.net!aia21
Auto merged

2004/06/17 21:03:28+01:00 cantab.net!aia21
Endianness fix.

(Logical change 1.423)
2004-06-17 20:09:32 +00:00
flatcap.org!ntfs
395cf1b994 sort out the folding after a botched merge
(Logical change 1.422)
2004-06-16 22:51:38 +00:00
flatcap.org!ntfs
53cdde3dda dump an index
2004/06/06 19:47:06+01:00 flatcap.org!ntfs
make the find's more similar.
stop crash if file not found.
stop reading entire index.

(Logical change 1.421)
2004-06-16 22:44:00 +00:00
flatcap.org!ntfs
08285f5f82 SCCS merged
2004/06/07 23:00:44+01:00 flatcap.org!ntfs
add size to index alloc,
change comments slightly to allow vim to fold

(Logical change 1.421)
2004-06-16 22:44:00 +00:00
flatcap.org!ntfs
2099f9392c stop info crashing when it encounters a non-resident security attribute
(Logical change 1.420)
2004-06-16 22:16:30 +00:00
cantab.net!aia21
49b10c0f61 Remove compiler warnings about unused parameters by adding the
__attribute__((unused))
Note: these functions are still in the todo list at the top of the file,
so removing the warnings will not make it forgotten.

(Logical change 1.418)
2004-06-08 16:25:01 +00:00
cantab.net!aia21
53b60abae5 global miscellaneous cleanup.
(Logical change 1.417)
2004-06-08 16:17:51 +00:00
cantab.net!aia21
2dafbdd602 Remove irrelevant whitespace from output.
(Logical change 1.416)
2004-06-08 15:58:32 +00:00
cantab.net!aia21
0e46071eb0 Dump unknown attributes.
(Logical change 1.415)
2004-06-08 15:57:09 +00:00
cantab.net!aia21
99f61bb374 Indentation fixes.
(Logical change 1.414)
2004-06-08 15:55:55 +00:00
flatcap.org!ntfs
1649de2d46 Change mode to -rw-rw-r--
(Logical change 1.413)
2004-06-06 14:17:26 +00:00
flatcap.org!ntfs
8c3a38b818 split remove into remove_alloc and remove_root,
added function to resize an attribute,
now it can delete root entries

(Logical change 1.412)
2004-06-06 13:51:54 +00:00
elisa-laajakaista.fi!szaka
b6d50b08ad Fix message, mount -t smbfs doesn't understand 'lfs', only smbmount
(Logical change 1.411)
2004-06-04 08:59:26 +00:00
flatcap.org!ntfs
f550ce88fe delete non-resident files too
(Logical change 1.410)
2004-06-02 22:07:18 +00:00
flatcap.org!ntfs
d840a80df9 start working on non-resident files
(Logical change 1.409)
2004-06-01 20:21:57 +00:00
flatcap.org!ntfs
6995b610d3 Allow undelete to recover a set / range of inodes
(Logical change 1.408)
2004-06-01 20:20:24 +00:00
flatcap.org!ntfs
a892a133ee remove my email address
(Logical change 1.407)
2004-06-01 20:07:35 +00:00
cantab.net!aia21
b2ce5e087c Update a forgotten comment.
(Logical change 1.406)
2004-06-01 16:29:45 +00:00
flatcap.org!ntfs
1782b0a8cb refuse any resident attributes,
commit changes to mft record, mft bitmap and index record.
Delete works!

(Logical change 1.405)
2004-05-31 19:17:15 +00:00
flatcap.org!ntfs
489ceda90f another case to ignore,
remove unused code,
mark mft rec as unused

(Logical change 1.404)
2004-05-31 13:11:55 +00:00
flatcap.org!ntfs
79b403acca tidy warnings
(Logical change 1.403)
2004-05-30 17:26:50 +00:00
flatcap.org!ntfs
9886424982 fix non-res check
(Logical change 1.402)
2004-05-30 16:52:00 +00:00
flatcap.org!ntfs
ef75cd263f make output human-readable
(Logical change 1.401)
2004-05-29 14:21:50 +00:00
flatcap.org!ntfs
e9008c8617 fix rest of mem problems,
remove debug code

(Logical change 1.401)
2004-05-29 14:21:50 +00:00
flatcap.org!ntfs
a522a0437f uchar_t -> ntfschar
2004/05/12 00:29:05+01:00 flatcap.org!ntfs
actually remove the entry from the index alloc

2004/05/10 22:59:11+01:00 flatcap.org!ntfs
cope with variable sized indexes,
recurse directories,
ignore things that are hard to delete

2004/05/10 16:34:57+01:00 flatcap.org!ntfs
find the dt that needs and entry deleting

2004/05/10 00:01:11+01:00 flatcap.org!ntfs
recursively descend a directory tree

2004/05/09 22:02:10+01:00 flatcap.org!ntfs
fix mem leaks

2004/05/09 21:21:13+01:00 flatcap.org!ntfs
recursive mapping of one directory's index

2004/05/09 13:01:51+01:00 flatcap.org!ntfs
mapping of dir and first-level dt work

2004/05/08 11:45:27+01:00 flatcap.org!ntfs
happy with structures

2004/02/16 00:25:33+00:00 flatcap.org!ntfs

(Logical change 1.400)
2004-05-26 07:41:00 +00:00
flatcap.org!ntfs
1938117fd0 Initial revision 2004-05-26 07:41:00 +00:00
flatcap.org!ntfs
fe07034fc3 Auto merged
2004/05/03 15:42:34+01:00 flatcap.org!ntfs
put ntfsrm back in the build

2004/05/03 15:41:18+01:00 flatcap.org!ntfs
build process changes from the main line

2004/03/11 00:03:56+00:00 flatcap.org!flatcap
Auto merged

2004/02/16 00:25:33+00:00 flatcap.org!ntfs
add ntfsrm to the build

(Logical change 1.400)
2004-05-26 07:41:00 +00:00
flatcap.org!ntfs
2bb3b959a1 Auto merged
2004/05/03 15:41:18+01:00 flatcap.org!ntfs
build process changes from the main line

2004/03/11 00:03:56+00:00 flatcap.org!flatcap
Auto merged

2004/02/16 00:25:33+00:00 flatcap.org!ntfs
add ntfsrm to the build

(Logical change 1.400)
2004-05-26 07:41:00 +00:00