Commit Graph

136 Commits (97342d05bc7cdd82bf54fec85b9e0fe58c578acb)

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