Commit Graph

504 Commits

Author SHA1 Message Date
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