Commit Graph

290 Commits (17f7990e20edb4e4a4a552a19c3414a9e969c606)

Author SHA1 Message Date
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
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 8a26e04bb3 Auto merged
2004/03/09 12:38:19+00:00 cantab.net!aia21
Update.

(Logical change 1.305)
2004-03-09 12:38:51 +00:00
cantab.net!aia21 6c4c7b1721 Fix typo. (From SUSE LINUX)
(Logical change 1.303)
2004-03-08 17:04:17 +00:00
cantab.net!aia21 7e83a08c1e update
(Logical change 1.300)
2004-03-06 18:08:14 +00:00
omakaista.fi!szaka fa02ef73bf Almost completely rewritten, extended with the data relocation
related issues.

2003/11/04 13:06:21+00:00 cantab.net!aia21
Auto merged

2003/10/29 13:34:28+00:00 cantab.net!aia21
Auto merged

2003/10/29 13:30:17+00:00 flatcap.org!ntfs
updates from Szaka

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
omakaista.fi!szaka 278d707401 Added some related utils to "SEE ALSO".
2003/11/12 18:16:17+00:00 flatcap.org!ntfs
Auto merged

2003/11/04 13:06:21+00:00 cantab.net!aia21
Auto merged

2003/10/29 13:34:28+00:00 cantab.net!aia21
Auto merged

2003/10/29 13:30:17+00:00 flatcap.org!ntfs
updates from Szaka

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
omakaista.fi!szaka 7d763a6b29 Added relocation support with the continuous help of Miguel Lastra
and his collegues at the University of Granada, Dewey M. Sasser,
Erik Meade, Martin Fick, Sandro Hawke, Dave Croal, Lorrin Nelson,
Geert Hendrickx, Robert Bjorkman and Richard Burdick.

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
flatcap.org!ntfs 0e41f6aab1 remove unnecessary values for enum
struct for saving last used cluster

2003/10/29 10:25:42+00:00 flatcap.org!ntfs
display cluster info about a file / inode

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
flatcap.org!ntfs 3a6065e753 one more sign problem
2003/11/02 23:22:27+00:00 flatcap.org!ntfs

(Logical change 1.299)
2004-03-06 17:42:28 +00:00