Commit Graph

734 Commits (f5961c075e348c283a32e69c9619100395909513)

Author SHA1 Message Date
flatcap 0e364b49aa ntfscat now works with attribute names
ntfscat now removes fixup from:
  $MFT/$DATA
  $MFTMirr/$DATA
  anydir/$INDEX_ALLOCATION
2005-06-20 14:24:53 +00:00
flatcap 949043ab36 Tidy whitespace: trailing space; <space><tab> at the beginning of lines
Fix warnings about sign differences
Fix warnings about unused parameters
Tidy a few functions that didn't have { on a new line
2005-06-19 21:09:40 +00:00
antona cc992ab0f6 Add more things to .cvsignore files. 2005-06-19 13:20:40 +00:00
cha0smaster 5becfe6c30 - Fix build without config.h.
- Fix gcc4 very large warning in ntfsrm.
2005-06-16 23:16:32 +00:00
cha0smaster e323ed6a03 Move utils_pathname_to_inode from to library (dir.c), adapt it for library, rename it to ntfs_pathname_to_inode, update all users. 2005-06-12 18:12:55 +00:00
szaka 6e1106fc79 - fix mangled formatting in ntfsclone: use more space for wipe statistics 2005-06-12 14:35:57 +00:00
szaka 532e1b71cf - fix bogus extra error message in ntfsresize 2005-06-12 13:44:34 +00:00
szaka 3517936355 - ntfsresize manual update 2005-06-12 13:39:23 +00:00
szaka b4a712b9e1 - Use consistent option and parameter naming convention 2005-06-12 11:02:50 +00:00
szaka 4fcd676f63 - More explanatory error message about failing to open a volume 2005-06-12 10:15:21 +00:00
szaka 8dae1da562 - Revised ntfsclone's usage() message 2005-06-12 09:55:45 +00:00
szaka 954b728dba - Rephrase ntfs_bugs: don't imply that tools have lots of bugs.
That's not true and it unnecessary worries people (originally the
ntfs_bugs idea was taken from the GNU coreutils that _DO_ have often
bugs but they aren't so critical concerning user's data integrity)
2005-06-12 09:24:11 +00:00
szaka dd0b3bdc7e - Add descriptions for the new command line options 2005-06-11 15:30:07 +00:00
cha0smaster aae6371c9d Move namespace dumping into separate function and use it in attribute and index dumping. 2005-06-09 13:08:23 +00:00
flatcap 554b27dd47 ignore built/generated files 2005-06-09 09:05:30 +00:00
flatcap e5c8b9606e Cristi Klein - display the namespace of the file's name 2005-06-09 08:29:03 +00:00
cha0smaster 94cc7ff15f Move flags dumping into the separate function. 2005-06-08 18:01:46 +00:00
antona 1aeb91827c Update build for changes to function detection in configure.ac. 2005-06-06 14:31:37 +00:00
antona b10eb4cb2d Minor cleanup 2005-06-06 14:29:47 +00:00
antona 6bfbf20a19 Fix warnings. (Yuval) 2005-06-06 14:21:53 +00:00
cha0smaster 410432bc9d - Fix bug in index.c pointed by Anton, many thanks to him.
- Small updates all over the place:
   * NEWS
   * ntfscp manual page
   * ntfsinfo prints parent directory for FILE_NAME attribute
   * year in ntfscp copyright
2005-06-05 23:48:55 +00:00
cha0smaster 4b000b3d13 - Implement FILE_NAME attributes update in index during inode sync and enable code that set/clean sparse bit. Also add new inode state bit FileNameDirty to indicate that FILE_NAME attributes need update. At least after attribute resize we leave absolutely consist volume.
- Bugfixes to collate.c and index.c.
- Minor formating fixed to ntfscp and ntfsinfo.
2005-06-05 14:55:08 +00:00
cha0smaster 7cd9b6b22d Small formating fix to ntfsinfo. 2005-06-04 15:20:46 +00:00
cha0smaster 2d8dc1736d - Port collate.[ch] from kernel to library and implement

							
						
2005-06-04 00:57:58 +00:00
antona c4cb316418 mkntfs: Add new option -T which fakes the time to be 00:00:00 UTC,
Jan 1, 1970 instead of the current system time.
2005-06-03 22:22:12 +00:00
antona 8f45d909c1 Only output message that volume is being set dirty if we are actually setting
the dirty flag.  Otherwise the message is pointless.
2005-06-03 21:53:02 +00:00
szaka 683b707b43 Don't mark NTFS dirty if the backup boot sector could be created 2005-06-02 18:36:43 +00:00
szaka 6aa5cc17fe ntfsresize: fix segfault during fsck if $Bitmap was larger than expected 2005-05-24 21:13:51 +00:00
flatcap 0c72b6f242 Giang Nguyen - remove redundancy 2005-05-23 12:07:02 +00:00
szaka 1cefeefd61 - hint to the user what to do if the partition is hibernated 2005-05-10 17:00:03 +00:00
szaka 1a5e15bb5b - fix handle_undelete() declaration (compiler warning) 2005-05-10 16:37:01 +00:00
cantab.net!aia21 50bde64860 For a long while asked feature. The attached patch should be against the
latest ntfsprogs snapshot. Includes,

  - ntfsclone: --rescue works at the lowest, sector and not cluster level
    thus more data can be rescued. The contents of the unreadable sectors
    are filled by character '?' and the beginning of such sectors are
    marked as "BadSectoR\0". Thanks to Krishna Mohan Gundu for his help.

  - ntfsclone: fixed an off-by-one error during --metadata in function
    wipe_data().

Szaka

(Logical change 1.699)
2005-04-25 07:26:08 +00:00
cantab.net!aia21 12d49f4972 fix segfault during filesystem check if NTFS was corrupted
in a way that clusters were referenced outside of the volume.  (Szaka)

(Logical change 1.697)
2005-04-19 12:01:38 +00:00
cantab.net!aia21 ac13794c54 Update with SUSE 9.3 build tools.
(Logical change 1.696)
2005-04-19 12:00:26 +00:00
void!yura 1465436e8c nftscp: add ability to specify directory as destination file
(Logical change 1.694)
2005-04-06 15:47:43 +00:00
flatcap.org!ntfs 14cd02ffc1 Updates from Holger for regex undelete
Fix up code formatting

(Logical change 1.693)
2005-03-23 13:01:27 +00:00
flatcap.org!ntfs 1173ab9c98 Updates from Holger for regex undelete
(Logical change 1.693)
2005-03-23 13:01:27 +00:00
elisa-laajakaista.fi!szaka c5f5dfb4c3 Make --metadata work with the new $Logfile checking code.
Save at least the first 16 KiB of $Logfile (the two RSTR records
should always be included if present). Save also records used for
checking empty $Logfile. (Szaka)

(Logical change 1.691)
2005-03-05 19:08:57 +00:00
elisa-laajakaista.fi!szaka 52fa43efb8 Fix invalid mft records in $MFTMirr.
(Logical change 1.683)
2005-03-01 23:11:20 +00:00
elisa-laajakaista.fi!szaka f1780f9d64 Added a new option, --rescue. It ignores read errors so disks having
bad sectors (dying disks) can be rescued. The content of the cluster
having bad sectors is filled by character '2' and the start of the
cluster is marked by "BadClusteR".

(Logical change 1.682)
2005-03-01 21:48:00 +00:00
elisa-laajakaista.fi!szaka 1d176ad7e0 Added a new option, --ignore-fs-check. It can be used only with the --metadata option. The clusters causing the inconsistency are saved too.
(Logical change 1.681)
2005-02-28 19:23:20 +00:00
elisa-laajakaista.fi!szaka bef59fbd6e Empty journal and mark volume dirty for chkdsk if ntfs_mount failed. This makes read-write mounting of NTFS metadata images possible by
ntfsprogs and the kernel driver what were created by versions of ntfsclone previous than 2.0.0.

(Logical change 1.680)
2005-02-20 22:20:54 +00:00
elisa-laajakaista.fi!szaka f6a7caf21d use getopt, added --help and --version, some output cleanup
(Logical change 1.679)
2005-02-19 19:34:37 +00:00
elisa-laajakaista.fi!szaka e9159478ea ntfsfix: use getopt, added --help and --version, some output cleanup
(Logical change 1.679)
2005-02-19 19:34:37 +00:00
void!yura 5180f05279 I completely forgot about mst protection when I was writing index dumping code. Fix this.
(Logical change 1.676)
2005-02-08 19:06:18 +00:00
void!yura b8da6570e0 ntfscp: Added SIGINT (Ctrl+C) handler, improved error handling in
sync failed case.  (Yura)

(Logical change 1.675)
2005-02-07 20:44:07 +00:00
elisa-laajakaista.fi!szaka 3244499edb document exit codes
(Logical change 1.674)
2005-02-02 22:40:59 +00:00
void!yura 0a16746ca2 remove logfile reset
(Logical change 1.672)
2005-01-30 18:13:25 +00:00
void!yura b03f4a6ec7 fix return value of ntfscp
(Logical change 1.668)
2005-01-27 13:53:02 +00:00
void!yura 39e6fa1339 Add logfile.c to build
(Logical change 1.665)
2005-01-25 19:46:51 +00:00
void!yura d162076f14 fix some complier warning in mkntfs
(Logical change 1.662)
2005-01-17 14:59:52 +00:00
void!yura 0a68326fc6 fix bug spotted bug gcc4 in error handling of ntfsinfo
(Logical change 1.661)
2005-01-17 12:04:37 +00:00
(none)!yura 1be3d9fe66 Update logfile.h to be sync with kernel. Update ntfsdump_logfile accordingly.
(Logical change 1.656)
2005-01-13 15:55:15 +00:00
cantab.net!aia21 a05c3cc3e1 Update to more recent build tools.
(Logical change 1.654)
2005-01-13 09:56:56 +00:00
(none)!yura 14db887f8e Rename NTFS_SECTOR_SIZE to NTFS_BLOCK_SIZE to keep in sync with kernel driver.
(Logical change 1.653)
2005-01-11 20:28:28 +00:00
(none)!yura 88f940caed ntfsinfo: dump flags names for STANDARD_INFORMATION and FILE_NAME.
(Logical change 1.647)
2004-12-22 14:22:58 +00:00
cantab.net!aia21 140a6d2479 Rename/move inode.[hc]::ntfs_inode_{add,rm}_attr() to
attrib.[hc]::ntfs_attr_{add,rm}(), respectively.  (Anton)

(Logical change 1.646)
2004-12-22 14:22:09 +00:00
cantab.net!aia21 db7c9da42f Move NAttr{Sparse,Compressed,Encrypted} to inode struct preserving
the previous interface.  (Yura, with fixes from Anton)

(Logical change 1.645)
2004-12-22 14:04:41 +00:00
cantab.net!aia21 003b867d71 Update build for change to configure.ac.
(Logical change 1.644)
2004-12-17 14:41:57 +00:00
(none)!yura ff195c0f84 ntfsinfo: print "file attributes" field for $FILE_NAME attribute.
(Logical change 1.643)
2004-11-27 11:20:32 +00:00
(none)!yura 0ba0971e01 Minor fix to ntfscp manual.
(Logical change 1.638)
2004-11-21 10:54:50 +00:00
(none)!yura 377a40152c small cleanup
(Logical change 1.625)
2004-11-05 13:54:34 +00:00
cantab.net!aia21 3009ea72ab Fix compiler warning.
(Logical change 1.617)
2004-10-18 10:24:25 +00:00
cantab.net!aia21 781e041a1f Change block to from unsigned long to unsigned long long in
append_to_bad_blocks() and mkntfs_fill_device_with_zeroes().

(Logical change 1.617)
2004-10-18 10:24:25 +00:00
(none)!yura f548a3a600 make it add attribute if it's not present
(Logical change 1.612)
2004-10-14 18:23:21 +00:00
(none)!yura d65e2dc5e8 change example in ntfscp manual page
(Logical change 1.609)
2004-10-13 10:25:35 +00:00
(none)!yura 488e4b5d30 move ntfscp from extra to standard program set
(Logical change 1.607)
2004-10-12 20:05:02 +00:00
(none)!yura 8267fcedca (Logical change 1.607) 2004-10-12 20:05:02 +00:00
(none)!yura 240634b7ed Initial revision 2004-10-12 20:05:02 +00:00
(none)!yura 9af64b54ff - Add --attibute, --attr-name and --inode attribute to ntfscp.
(Logical change 1.603)
2004-10-11 16:26:16 +00:00
flatcap.org!ntfs 8152150f91 commit dt and bmp
(Logical change 1.598)
2004-10-09 11:21:49 +00:00
elisa-laajakaista.fi!szaka ec00d338cb honor bad clusters list ($BadClus:$Bad), known bad sectors aren't tried to be saved anymore (Szaka)
(Logical change 1.587)
2004-09-30 18:16:48 +00:00
cantab.net!aia21 8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +00:00
elisa-laajakaista.fi!szaka e68a61101a - ntfsclone: save by using our, not NTFS cluster allocation bitmap.
This gives more control in the future what to save.

(Logical change 1.582)
2004-09-28 23:43:15 +00:00
cantab.net!aia21 e461268d28 No need to allocate a copy of the attribute name to be passed to
ntfs_attr_open().

(Logical change 1.576)
2004-09-21 12:10:39 +00:00
cantab.net!aia21 75bc06b8c7 Make output fit on 80-column-wide screen.
(Logical change 1.559)
2004-09-16 10:10:20 +00:00
cantab.net!aia21 9c86b21e87 (Logical change 1.558) 2004-09-16 09:32:23 +00:00
cantab.net!aia21 5d703b9636 Initial revision 2004-09-16 09:32:23 +00:00
cantab.net!aia21 abf32ee708 Add ntfsmftalloc to extra build.
(Logical change 1.558)
2004-09-16 09:32:23 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
(none)!yura 72b5b3c6fb ntfsinfo: make it display attribute instance and dump attribute list entries in verbose mode
(Logical change 1.545)
2004-09-11 16:23:34 +00:00
(none)!yura 64fd09d1bd ntfscp: Not longer update $FILE_NAME attributes, because Windows
doesn't update them unless a rename operation occur.

(Logical change 1.541)
2004-09-09 14:18:53 +00:00
cantab.net!aia21 a085e4b501 Update build to SuSE 9.2 beta 1 tools (autoconf,automake,libtool,...).
(Logical change 1.540)
2004-09-09 13:57:31 +00:00
(none)!yura 3d8ff9eb46 - Added dumping of index records from $INDEX_ROOT and $INDEX_ALLOCATION
- Changed message for resident $INDEX_ALLOCION to print error, because it shouldn't be resident

(Logical change 1.536)
2004-09-08 16:27:54 +00:00
(none)!yura 38a92b52ae Make ntfscp update all $FILE_NAME attributes, not only first
(Logical change 1.535)
2004-09-08 11:39:55 +00:00
cantab.net!aia21 06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +00:00
elisa-laajakaista.fi!szaka da2a82fbf2 rewrote most of the examples, minor corrections
(Logical change 1.530)
2004-09-03 21:16:56 +00:00
elisa-laajakaista.fi!szaka 0b2c6586d8 Fix ntfsclone crash when --restore-image was used for block device outputs (Masaru Kawashima, Szaka)
(Logical change 1.529)
2004-09-03 20:00:47 +00:00
(none)!yura 52337e4d91 Made ntfscp update file size in $FILE_NAME(0x30) attribute
(Logical change 1.528)
2004-09-03 14:47:33 +00:00
cantab.net!aia21 0647ddffc5 Fix a warning.
(Logical change 1.526)
2004-09-03 13:48:30 +00:00
cantab.net!aia21 453d87b43f Update for 1.9.3 release.
(Logical change 1.520)
2004-09-03 09:30:16 +00:00
cantab.net!aia21 abe69f1964 Fix memory leaks (Christophe).
(Logical change 1.516)
2004-08-30 20:41:14 +00:00
cantab.net!aia21 377ffc3311 Fix memory leak. (Christophe)
(Logical change 1.516)
2004-08-30 20:41:14 +00:00
flatcap.org!ntfs 75c90dd7a0 keep track of the deleted file's parent
(Logical change 1.514)
2004-08-23 22:54:51 +00:00
flatcap.org!ntfs 02745a21f1 identify the deleted file's parent
(Logical change 1.514)
2004-08-23 22:54:51 +00:00
!uv 5a4b6c9eaa Refactor ntfsdump_logfile.c: split main() into multiple functions.
(Logical change 1.513)
2004-08-20 17:50:58 +00:00
flatcap.org!ntfs 813fd36687 Auto merged
2004/08/18 19:59:42+01:00 flatcap.org!ntfs
track memory usage

2004/08/18 19:58:56+01:00 flatcap.org!ntfs
commit/rollback filled out a bit

2004/08/15 23:53:28+01:00 flatcap.org!ntfs
start reassembling remove

2004/08/15 23:04:56+01:00 flatcap.org!ntfs
keep the bitmap info on the volume

2004/08/15 21:12:15+01:00 flatcap.org!ntfs
vol's private data now points to the root directory

2004/08/15 18:32:35+01:00 flatcap.org!ntfs
fix memory leak

2004/08/14 17:03:01+01:00 flatcap.org!ntfs
extract file details

(Logical change 1.512)
2004-08-20 17:27:24 +00:00
flatcap.org!ntfs f49c5bc704 Auto merged
2004/08/18 19:59:42+01:00 flatcap.org!ntfs
track memory usage

2004/08/18 19:58:56+01:00 flatcap.org!ntfs
a cache for a non-altered bitmap

2004/08/15 23:53:28+01:00 flatcap.org!ntfs
not needed

2004/08/15 21:12:15+01:00 flatcap.org!ntfs
typo

(Logical change 1.512)
2004-08-20 17:27:24 +00:00
cantab.net!aia21 388972a4bb Revert some of Yuval's changes and fix the putative warnings differently.
(Logical change 1.511)
2004-08-20 15:26:18 +00:00
!uv 067797a112 Warning fixes: variable type changeses.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv d1b5859785 Warning fixes: shadowing variables.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 9747580a05 Warning fixes: printf complains, so add a cast.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!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
flatcap.org!ntfs 7d26680bff (Logical change 1.400) 2004-05-26 07:41:00 +00:00
elisa-laajakaista.fi!szaka 75fe0ab100 Rename ntfs_fsck_t to ntfsck_t
(Logical change 1.399)
2004-05-26 04:20:29 +00:00
elisa-laajakaista.fi!szaka 0e3341d916 Eliminate the global opt.show_progress from progress_update() for code reuse
(Logical change 1.398)
2004-05-26 04:16:34 +00:00
cantab.net!aia21 3d4c6f8bf7 Dump general info about an inode.
(Logical change 1.395)
2004-05-23 20:10:46 +00:00
cantab.net!aia21 37dab5f6a5 Update
(Logical change 1.394)
2004-05-21 22:01:03 +00:00
cantab.net!aia21 31a22bc88f Fix out of source tree build of utilities by changing $top_srcdir to
$top_builddir in the references to the build library in the makefile
template ntfsprogs/Makefile.am.  (Yuval)

(Logical change 1.394)
2004-05-21 22:01:03 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21 1ab9841661 Update a little for the new ntfsinfo functionality.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
cantab.net!aia21 dd001233ff Minor off by one bug fix.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
elisa-laajakaista.fi!szaka aadb68f43e eliminated the global ntfs_volume variable
(Logical change 1.389)
2004-05-09 01:43:45 +00:00
elisa-laajakaista.fi!szaka 6e0b4d5d32 remove not-used-anymore last_unsafe member from ntfs_resize_t
(Logical change 1.388)
2004-05-08 23:29:54 +00:00
elisa-laajakaista.fi!szaka 0d541c6791 prepare truncate_badclust_file() for global variables elimination
(Logical change 1.387)
2004-05-08 23:25:46 +00:00
cantab.net!aia21 eb6c561683 Add inode selection by path/filename to ntfsinfo. (Yuval)
(Logical change 1.386)
2004-05-02 08:46:37 +00:00
cantab.net!aia21 411835bca3 Fix warnings by renaming some variables. (Yuval)
(Logical change 1.383)
2004-04-24 20:24:28 +00:00
cantab.net!aia21 1e637d3709 Remove global rl as it was used only in one place. (Yuval, Anton)
(Logical change 1.382)
2004-04-23 14:27:09 +00:00
cantab.net!aia21 123b1028ec Fix lots of warnings about no prototypes by adding
the 'static' keyword.  (Yuval)

(Logical change 1.381)
2004-04-23 13:55:49 +00:00
cantab.net!aia21 f90c2cd5b9 Fix some compiler warnings. (Yuval)
(Logical change 1.379)
2004-04-23 10:12:49 +00:00
cantab.net!aia21 d990c89479 - Make endian safe. (Anton)
- Fix some compiler warnings.  (Yuval)

(Logical change 1.379)
2004-04-23 10:12:49 +00:00
elisa-laajakaista.fi!szaka 62a4991b9a Renamed the last ntfstools reference to ntfsprogs
(Logical change 1.378)
2004-04-20 21:19:45 +00:00
elisa-laajakaista.fi!szaka fbd9efac4e Auto merged
2004/04/17 04:01:46+03:00 elisa-laajakaista.fi!szaka
Detached ntfs_fsck_t from ntfs_resize_t and use it for check_allocation_bitmap() [in progress]

(Logical change 1.377)
2004-04-17 01:02:42 +00:00
cantab.net!aia21 12639f64b7 Update
(Logical change 1.376)
2004-04-16 21:00:27 +00:00
cantab.net!aia21 b1a398abfb Update
(Logical change 1.375)
2004-04-16 20:58:20 +00:00
cantab.net!aia21 71c1fe3af8 Update
(Logical change 1.374)
2004-04-16 20:54:34 +00:00
cantab.net!aia21 4a5abe3242 Split up into multiple functions. (Yuval)
(Logical change 1.373)
2004-04-16 20:43:28 +00:00
elisa-laajakaista.fi!szaka 49bc22ac54 split walk_inodes() into check_allocation_bitmap() and set_resize_constrains() [in progress]
(Logical change 1.372)
2004-04-16 19:25:24 +00:00
cantab.net!aia21 e39688c9ab Big update from Yuval with some bits modified by me.
(Logical change 1.369)
2004-04-15 11:55:46 +00:00
elisa-laajakaista.fi!szaka 8c67ce1c36 Fix incorrect getopt_long() usage: converted argv[optind-1] to optarg
so utilities won't do bogus and unexpected things

(Logical change 1.366)
2004-04-15 00:42:33 +00:00
elisa-laajakaista.fi!szaka 61ea0f59d8 ntfsclone --metadata also saves at least the first 8 KiB of the $LogFile
(Logical change 1.365)
2004-04-14 23:31:11 +00:00
elisa-laajakaista.fi!szaka cb7d91eb16 got rid of the global struct bitmap lcn_bitmap (some work towards code reuse)
(Logical change 1.364)
2004-04-14 01:23:36 +00:00
elisa-laajakaista.fi!szaka 443662a5d6 destination device must be opened O_RDWR because device_size_get() might need to read()
(Logical change 1.363)
2004-04-13 22:56:11 +00:00
elisa-laajakaista.fi!szaka 2a97938898 Fix the incorrect usage example.
(Logical change 1.360)
2004-04-08 08:00:53 +00:00
cantab.net!aia21 5e56debf45 Mostly rewrite ntfsinfo. (Yuval Fledel and some fixes by me)
(Logical change 1.356)
2004-04-05 08:44:32 +00:00
cantab.net!aia21 80cb606d36 Big update. (Not finished yet.)
(Logical change 1.355)
2004-04-05 08:42:10 +00:00
omakaista.fi!szaka 1d17c6e429 Update, corrections and removed all mentions of the buggy cp --sparse=always that could corrupt data
if the destination is block device (though GNU cp was fixed after we reported the problem).

(Logical change 1.354)
2004-04-01 21:30:42 +00:00
omakaista.fi!szaka 37cf1d9b38 Added some diagnostic and explanatory messages to ntfsclone.
(Logical change 1.354)
2004-04-01 21:30:42 +00:00
cantab.net!aia21 527d7780cb Make it compile...
(Logical change 1.353)
2004-03-31 15:01:05 +00:00
cantab.net!aia21 a111528d7c Add ability to use a file as the logfile source rather than a ntfs volume
containing device, i.e. you can now grab a copy of $LogFile and use
ntfsdump_logfile -f mylogfilecopy.

(Logical change 1.352)
2004-03-31 14:47:08 +00:00
cantab.net!aia21 7e2b0aad08 Move declaration of variable to beginning of block. Thanks to Alexei Alexandrov for the fix.
(Logical change 1.350)
2004-03-30 14:00:35 +00:00
cantab.net!aia21 78922e89fa Update to automake 1.8.3.
(Logical change 1.349)
2004-03-26 14:50:33 +00:00
cantab.net!aia21 d224481da9 Make it compile with changes in logfile.h.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 61fe186d21 Use more libntfs APIs and other cleanups.
(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 ad18c0bac9 Update
(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 163f9002b7 Remove dumplog utility as it was unnecessary and duplicated the
functionality of ntfsdump_logfile.

(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 d37f75cfde Delete: ntfsprogs/dumplog.c
}(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 16bc6199a6 - Provide a new command line option "-H" to mkntfs to allow the user to
specify the number of heads manually.
- Provide a new command line option "-S" to mkntfs to allow the user to
  specify the number of sectors per track manually.

(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21 c5a065d048 - Add new API device.[hc]::ntfs_device_heads_get() and make mkntfs use it.
- Provide a new command line option "-H" to mkntfs to allow the user to
  specify the number of heads manually.
- Add new API device.[hc]::ntfs_device_sectors_per_track_get() and make
  mkntfs use it.
- Provide a new command line option "-S" to mkntfs to allow the user to
  specify the number of sectors per track manually.

(Logical change 1.345)
2004-03-24 10:36:31 +00:00