uvman
62579b84d4
compiler warnings fixes.
2005-10-04 20:36:42 +00:00
szaka
54891f3112
Emphasize Windows needs to be rebooted twice after chkdsk /f
2005-09-30 20:29:58 +00:00
szaka
ab2ad80ae7
Accept incorrect $Bitmap size if it covers the entire volume
2005-09-29 23:30:15 +00:00
antona
8db479a6b1
Patch from Christophe:
...
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
szaka
431258997d
Fix saving by sectors during --rescue
2005-09-25 21:42:47 +00:00
antona
2a104d8eda
Megapatch!!! Check evecrything!!! I probably broke everything!!!
2005-09-24 22:54:55 +00:00
szaka
99e18269b7
Hint user the --rescue option if they have bad sectors
2005-09-24 21:36:51 +00:00
szaka
c5e05165c9
Fix memory leak in ignore_bad_clusters()
2005-07-13 17:07:13 +00:00
szaka
60d0ed80a5
Detect and hint users if the destination fs doesn't support sparse files
2005-06-27 21:03:06 +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
szaka
6e1106fc79
- fix mangled formatting in ntfsclone: use more space for wipe statistics
2005-06-12 14:35:57 +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
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
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
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
cantab.net!aia21
3009ea72ab
Fix compiler warning.
...
(Logical change 1.617)
2004-10-18 10:24:25 +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
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
b82469ba50
Remove vol->nr_mft_records and update all users. (Anton)
...
(Logical change 1.549)
2004-09-13 10:28:54 +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
!uv
9747580a05
Warning fixes: printf complains, so add a cast.
...
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
0106f54ff0
printf format fix.
...
(Logical change 1.507)
2004-08-20 12:18:22 +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
27bf9c0ea0
Allow better compiler optimization/error checking.
...
(Logical change 1.504)
2004-08-20 11:58:24 +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
b6d50b08ad
Fix message, mount -t smbfs doesn't understand 'lfs', only smbmount
...
(Logical change 1.411)
2004-06-04 08:59:26 +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
cantab.net!aia21
71c1fe3af8
Update
...
(Logical change 1.374)
2004-04-16 20:54:34 +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
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
omakaista.fi!szaka
37cf1d9b38
Added some diagnostic and explanatory messages to ntfsclone.
...
(Logical change 1.354)
2004-04-01 21:30:42 +00:00
omakaista.fi!szaka
5154256c62
- Check the mount state of the output device in ntfsclone.
...
- Correct a too strong sanity check in ntfsclone that prevented
cloning from larger device to a smaller one but the NTFS image
could have fit fully.
(Logical change 1.344)
2004-03-23 02:00:56 +00:00
cantab.net!aia21
60231ba412
- Fix to include sys/ioctl.h.
...
- Define the ioctls we use if they are not defined, as it is done
in device.c.
(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21
cf419787bd
Use sizeof(MFT_RECORD) instead of sizeof(MFT_RECORD) + 6 as MFT_RECORD now
...
includes the NTFS 3.1+ specific fields.
(Logical change 1.333)
2004-03-15 11:34:30 +00:00
cantab.net!aia21
9193cb6298
Update
...
Fix warnings on powerpc architecture where it would seem char is
unsigned so comparisons with -1 cause a warning that comparison is
always true/wrong. (Thanks to Ender for reporting.)
(Logical change 1.324)
2004-03-12 09:30:03 +00:00
cantab.net!aia21
43280fed03
Auto merged
...
2004/03/09 14:38:50+00:00 cantab.net!aia21
Fix all occurences of printf with %ll length modifiers but 64 bit
arguments to typecast the arguments to (unsigned) long long to avoid
the warnings when compiling on 64 bit architectures.
(Logical change 1.306)
2004-03-09 14:47:34 +00:00
cantab.net!aia21
654f3b7721
Rename 'opt' struct member stdout to std_out because stdout is a
...
macro on Cygwin and compilation fails. (Yuval Fledel)
(Logical change 1.296)
2004-03-05 11:27:01 +00:00
cantab.net!aia21
a033e9dfa0
Add use of BLKGETSIZE64 and fix typos in debug output.
...
(Logical change 1.278)
2004-02-17 14:01:22 +00:00
omakaista.fi!szaka
46f0709d29
BLKGETSIZE ioctl uses unsigned long, not long for the size parameter.
...
Thus the maximum supported device is 2 TB on 32 bit platforms
instead of only 1 TB.
(Logical change 1.277)
2004-02-17 03:40:22 +00:00
cantab.net!aia21
401c8ebf7d
apply patch from Szaka:
...
- all warnings fixed for maintainer mode for ntfsresize and ntfsclone
- added 'const' to ntfs_ucstombs()'s first parameter
- 'fsync' also after metadata-only cloning
- fixed forced metadata-only, dirty ntfs cloning (only one -f needed)
(Logical change 1.264)
2004-01-15 17:07:57 +00:00
cantab.net!aia21
c9076ef627
- Apply patch from Szaka to fix all %L to %ll.
...
- Fix remaining %L ti %ll (compress.c).
- Run ./autogen.sh on SuSE 9.0.
(Logical change 1.263)
2004-01-15 16:57:10 +00:00
cantab.net!aia21
6651abe322
More updates from Christophe Grenier for DJGPP and FreeBSD.
...
(Logical change 1.253)
2004-01-07 10:22:51 +00:00
flatcap.org!ntfs
fafd832996
clear up a few minor build warnings
...
(Logical change 1.238)
2003-11-19 00:05:30 +00:00
cantab.net!aia21
7af52becdd
common functions moved from diks_io.h to device.h
...
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
flatcap.org!flatcap
a688307452
typo
...
(Logical change 1.179)
2003-09-07 18:20:00 +00:00
cantab.net!aia21
05befe33eb
ntfsclone patch from Szaka:
...
This fixes all known issues I knew about or wanted to add to ntfsclone.
So it's declared ready and basically works for me for half a year. Future
work is only based on requests/needs. I only want to write the manual, if
ever have time.
Changes:
- support block device as output file
- handle partial read/write
- show progress bar during cloning
- significant cloning performance improvement
- detect ReiserFS & warn about its extremely poor ftruncate performance
- no error if fsync() gives EINVAL (pipe)
- several sanity checks added
- some cleanup, spelling corrections
(Logical change 1.151)
2003-07-11 12:35:05 +00:00
cantab.net!aia21
cc9c0f3153
Adapt to library changes.
...
(Logical change 1.140)
2003-06-03 11:10:57 +00:00
cantab.net!aia21
44c49c55e5
Initial revision
2003-04-11 13:08:52 +00:00
cantab.net!aia21
f1ff1790ea
(Logical change 1.134)
2003-04-11 13:08:52 +00:00