Yura Pakhuchiy
65a81e3563
ntfsclone do bad things about endians, so revert it to original state and put mark on it to not perform sparse bitwise checks
2007-08-23 17:58:52 +03:00
Yura Pakhuchiy
0d264b7d25
Introduce sparse endian annotations. Adopt library (also fix 2 real bugs) and progs (lots of bugs).
2007-06-08 13:47:57 +03:00
aia21
1a4fb3431c
- mkntfs: Generate a random DCE compliant UUID for the created volume
...
and include --with-uuid[=PFX] and --without-uuid options. (Anton)
- configure.ac: Set language to C. (Anton)
- mkntfs: Always set default cluster size to 4096 bytes regardless of
volume size. This is what Windows Vista does and it makes perfect
sense from a performance point of view. (Anton)
2006-12-13 00:11:50 +00:00
yura
10b22550cd
more sparse fixes
...
left only endianness and this stupid problems with s64
2006-12-12 19:00:00 +00:00
szaka
3cd5cb9c8a
Don't check free space if output file is FIFO (Andree Leidenfrost)
2006-12-03 18:26:58 +00:00
aia21
5302d23f7b
- Empty the journal at mount time. (Anton)
...
- Set the volume dirty bit at mount time (if it is not set already and
clear it again at umount time but only if it was not set to start
with. (Anton)
2006-11-28 10:09:56 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
uvman
15eb2c38a6
constify string argument.
2006-10-28 23:41:41 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +00:00
uvman
acb04c0435
Remove unneeded padding. The compiler will pad if it wan't to.
2006-10-18 14:41:41 +00:00
aia21
2afc70711a
Forgot to not apply endianness swapping for old style images when restoring...
2006-08-23 13:21:04 +00:00
aia21
35dcfaac9e
Fix endianness problems in both image restore and image create (and in metadata
...
cloning as well). (Anton)
2006-08-23 11:58:55 +00:00
aia21
cb35fe2fea
Make ntfsclone image format extensible. (Anton)
2006-08-23 11:22:07 +00:00
aia21
5128685d88
- ntfsclone: Define endianness safe image format. (Anton)
...
- ntfsclone: Redefine image format version number to be the image
format version and not the NTFS version of the imaged volume which is
totally useless. (Anton)
2006-08-23 10:18:34 +00:00
szaka
39b9061d8b
wipe_index_allocation_timestamps(): don't try to dump empty ia
2006-08-13 15:15:08 +00:00
szaka
5c0ce5407e
metadata cloning: write out extent records
2006-08-13 15:00:27 +00:00
szaka
58699ef91b
more detailed error messages
2006-08-13 14:52:19 +00:00
szaka
d727768a80
convert all malloc,calloc to ntfs_{malloc,calloc}
2006-08-13 14:49:35 +00:00
szaka
bd659977c2
don't create image files with executable bit set
2006-08-13 14:40:28 +00:00
szaka
0dae4a9c77
fix missing error outputs
2006-08-13 14:34:07 +00:00
szaka
f61d45b970
fix 64 bit destination size calculation on Mac OS X
2006-06-15 18:43:24 +00:00
szaka
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +00:00
szaka
6772bb4649
Fix ntfsclone idempotency
2006-04-05 02:50:44 +00:00
szaka
813933e1bc
libntfs: add ntfs_mft_usn_dec() and convert all copy-pastes to use them
2006-04-05 02:49:24 +00:00
szaka
be823c7a1e
libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
...
copy-pastes to use them
2006-04-05 02:45:55 +00:00
szaka
b4fa78dc58
ntfsclone: the --metadata option will wipe the timestamps in the
...
index allocation attributes as well. This further decreases the
compressed metadata image size by 10-25% and more importantly it
eliminates non-interesting ntfscmp differences.
2006-03-27 21:40:26 +00:00
szaka
31cc1d2f45
Wiped timestamp data stats were off by 5% in general
2006-02-06 22:17:24 +00:00
szaka
43b4d8a4e1
--metadata sets timestamps to the Epoch time as mkntfs does with -T. This
...
increases the compressed image sizes by only 0.3-0.8% but ntfsclone creates
now the exact same metadata images as mkntfs, which fact can be used for QA.
2006-02-06 20:51:17 +00:00
szaka
fae8feea65
Explain dirty volume
2006-02-05 22:10:01 +00:00
szaka
16b8bc1fd4
Write MFT records with the same USN during metadata cloning. This eases
...
ntfsclone self-regression, which itself is going to validate other codes
2006-02-05 19:35:20 +00:00
szaka
fefc3e5195
ntfsresize, ntfsclone: always use MS_NOATIME
2006-02-05 16:39:35 +00:00
szaka
c940df9079
remove usage of old logging macros
2005-11-27 12:31:39 +00:00
szaka
3db9973bcf
ntfsclone: --metadata also wipes out the timestamps in the $I30 and
...
in the /$Extend/$Quota:$Q index root attributes
2005-11-18 00:24:45 +00:00
szaka
2db620bda1
ntfsclone: check the available free space for --save-image too
2005-11-13 21:48:35 +00:00
szaka
caa0bf5c4b
metadata cloning: wipe metadata timestamps too
2005-11-07 21:38:58 +00:00
szaka
da654b4207
shortened opt.metadata_only to opt.metadata
2005-11-07 21:13:31 +00:00
szaka
594c23aff0
ntfsclone: check available free space on the destination
2005-11-07 20:49:18 +00:00
uvman
5b949d07fa
Fix comment formats.
2005-10-28 12:55:41 +00:00
flatcap
8a584700c5
whitespace fixes - no code changes
2005-10-26 22:54:57 +00:00
flatcap
1ee8d8b9e2
restore call to ntfs_set_locale
...
(utils only uses stderr, now)
2005-10-26 20:48:38 +00:00
uvman
0dd0cdc6be
Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option().
2005-10-25 01:28:10 +00:00
szaka
f9cdaed3db
temporary fix for the corrupted stdout due to the recent logging changes
2005-10-24 21:20:10 +00:00
flatcap
f4e427e91a
implement logging in libntfs
...
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
antona
f5961c075e
- Fix compilation on OSX in ntfsclone.c where stderr = stdout
...
is not legal (but happens to work on Linux) to do proper
low-level file descriptor mangling which is portable. (Anton)
- Add test/runlist-data to EXTRA_DIST so it gets included in the
distribution otherwise make test fails on released sources. Solution
is not perfect as it also adds the test/runlist-data/CVS directory
but it will do at least for me. (Anton)
2005-10-15 21:44:17 +00:00
flatcap
42de4cf905
tidy up some __attribute__ usage
2005-10-12 11:52:40 +00:00
antona
0c293d0407
- Add API (actually renamed from what Rich/FlatCap did):
...
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
static const string of the libntfs verion, i.e. at the moment this is
"8.0.0". This required moving the version specifications from
libntfs/Makefile.am to configure.ac. This should hopefully have the
sideeffect that I will remember to increment it when incrementing the
ntfsprogs version number when making a release given the two are
right under one another. (Anton)
- Change ALL utilities to display the libntfs version they are running
on. This should make debugging easier in the case that people are
running mismatched utilities/library. (Anton)
2005-10-07 14:10:56 +00:00
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