Commit Graph

299 Commits (dd71d5915a1647983fea2c55f97289b08a3b799f)

Author SHA1 Message Date
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
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
omakaista.fi!szaka 8f77300f3a - recommend chkdsk /f if mapping pairs decoding fails with EIO (Kent B. Larsen)
- use corrupt_volume_msg in all relevant cases
- explain "bad sectors" a bit better

(Logical change 1.342)
2004-03-22 09:09:44 +00:00
cantab.net!aia21 ae7789dcd0 Support the case where $Volume does not have a $VOLUME_NAME
attribute in ntfs_device_mount() and let ntfslabel create the
attribute when it is not present.

(Logical change 1.339)
2004-03-19 10:21:05 +00:00
cantab.net!aia21 93acd345a7 Update
(Logical change 1.338)
2004-03-17 16:53:29 +00:00
cantab.net!aia21 08bd36ca62 Provide a new command line option "-p" to allow the user to specify
the partition start sector manually.

(Logical change 1.336)
2004-03-17 12:22:03 +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 d05932849c - Add new API device.[hc]::ntfs_device_partition_start_sector_get() and
make mkntfs use it.
- Provide a new command line option "-p" to allow the user to specify
  the partition start sector manually.
- Add include sys/ioctl.h to fix sector size detection.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 2bd298bc2d Add new API mft.[hc]::ntfs_mft_record_{layout,format}() and make
mkntfs use it.

(Logical change 1.335)
2004-03-15 12:50:18 +00:00
cantab.net!aia21 9bb30a0601 Ooops, forgot to test make extra when changing ntfs_get_attribute_value().
(Logical change 1.334)
2004-03-15 11:36:21 +00:00
cantab.net!aia21 ab2da48e25 Use sizeof(MFT_RECORD_OLD) instead of sizeof(MFT_RECORD) 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 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 95ab07c823 Forgot to include security.h...
2004/03/14 18:22:33+00:00 cantab.net!aia21
Implement dumping of object id attribute.  (Yuval Fledel, me)

(Logical change 1.331)
2004-03-14 18:29:21 +00:00
cantab.net!aia21 49f8d5e364 Fix validation of STANDARD_INFORMATION attribute size in ntfsinfo.c
and remove relevant FIXME comments.  (Yuval Fledel)

(Logical change 1.329)
2004-03-13 19:30:28 +00:00
cantab.net!aia21 cb3b41894a Modify meaning of ntfs_volume->nr_mft_records to be the number of
initialized mft records, not total mft records.  This makes far more
sense and in fact reflects how nr_mft_records is being used in both
libntfs and the utilities.

(Logical change 1.326)
2004-03-12 15:50:52 +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 9b3652469c Update with SuSE 9.1 beta 1 versions of GNU build system.
(Logical change 1.322)
2004-03-11 15:33:34 +00:00
cantab.net!aia21 d7f7475b58 Update
(Logical change 1.321)
2004-03-10 23:41:00 +00:00
cantab.net!aia21 c446b5b7c0 Update
(Logical change 1.320)
2004-03-10 23:37:54 +00:00
cantab.net!aia21 94036606c8 Update
(Logical change 1.319)
2004-03-10 23:32:43 +00:00
cantab.net!aia21 c86e4174a9 Manual merge.
2004/03/10 21:54:24+00:00 cantab.net!aia21
 Typo fixes (Ender)

(Logical change 1.317)
2004-03-10 22:03:54 +00:00
cantab.net!aia21 41c90506c5 Auto merged
2004/03/10 21:54:27+00:00 cantab.net!aia21
 Typo fixes (Ender)

(Logical change 1.317)
2004-03-10 22:03:54 +00:00
cantab.net!aia21 5dda848553 Auto merged
2004/03/10 21:54:13+00:00 cantab.net!aia21
 Typo fixes (Ender)

(Logical change 1.317)
2004-03-10 22:03:54 +00:00
cantab.net!aia21 3c429be664 Typo fixes (Ender)
(Logical change 1.317)
2004-03-10 22:03:54 +00:00
cantab.net!aia21 f19081ab43 Update for 1.9.0 release.
(Logical change 1.316)
2004-03-10 21:52:35 +00:00
cantab.net!aia21 c5847ae8cf Fix two bugs, a->name_length is 8 bit not 16 bit...
(Logical change 1.313)
2004-03-10 09:36:44 +00:00
omakaista.fi!szaka c90976e023 hand merged
2004/03/10 10:13:38+02:00 omakaista.fi!szaka
- Added warnings about not modifying text messages external tools use
- Options -i -s together aren't supported anymore, if needed use -n -v -s instead
- Usage() cleanup
- Some endianness fixes
- Suggest chkdsk /f if mount fails with EIO (Paul A. Steckler)
- Removed BETA and STABLE hints, now there is only one STABLE
- The --info option estimates the theoretically smallest shrunken size   thus the message changed from "You ccould resize ..." to   "You might resize ...".

(Logical change 1.312)
2004-03-10 09:28:44 +00:00
omakaista.fi!szaka bf67069b3f Spelling fixes and update
(Logical change 1.312)
2004-03-10 09:28:44 +00:00
cantab.net!aia21 6b7c265ea8 Update
(Logical change 1.311)
2004-03-10 09:28:31 +00:00
cantab.net!aia21 95d653045f Auto merged
2004/03/10 09:26:25+00:00 cantab.net!aia21
Move AC_GNU_SOURCE before AC_PROG_CC...

(Logical change 1.310)
2004-03-10 09:26:51 +00:00
cantab.net!aia21 728eff0614 Auto merged
2004/03/10 09:20:50+00:00 cantab.net!aia21
Update.

(Logical change 1.309)
2004-03-10 09:21:53 +00:00
cantab.net!aia21 0acde67dde A few missed.
(Logical change 1.308)
2004-03-09 16:00:13 +00:00
cantab.net!aia21 717484f223 Missed this one.
(Logical change 1.307)
2004-03-09 15:27:10 +00:00
cantab.net!aia21 8b9213603f Manual merge.
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 ddeee65b8d 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 6dea839252 Auto merged
2004/03/09 14:38:51+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