Commit Graph

472 Commits (8b1c81fd6423cb093e44737ec808218c38206ffa)

Author SHA1 Message Date
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
flatcap.org!ntfs e4f970bfc1 no changes
2003/11/02 23:22:27+00:00 flatcap.org!ntfs
move cluster_find to separate source module
implement last option

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 100d6d7deb extra options
2003/10/28 15:48:10+00:00 flatcap.org!ntfs

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
flatcap.org!ntfs 86716d6d62 Initial revision 2004-03-06 17:42:28 +00:00
flatcap.org!ntfs 65182be272 Auto merged
2003/10/28 15:50:53+00:00 flatcap.org!ntfs
some cut'n'pasted code to wipe the pagefile and logfile

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
flatcap.org!ntfs c6b229f6d4 (Logical change 1.299) 2004-03-06 17:42:28 +00:00
cantab.net!aia21 e37d6644b2 Fix what seems to be a cut'n'paste error... bitmap_alloc instead of bitmap_free
2003/10/31 18:10:18+00:00 flatcap.org!ntfs
big reorganisation
extra options
will move any attributes now, including dirs
(prevented it touching metadata)

2003/10/29 18:13:30+00:00 flatcap.org!ntfs
move dump_mem to utils

2003/10/28 15:48:10+00:00 flatcap.org!ntfs

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 76364af60e Initial revision 2004-03-06 17:42:28 +00:00
cantab.net!aia21 6636c33a6d Fix signed/unsigned warnings.
2004/01/06 11:56:52+00:00 cantab.net!aia21
Add attribute and inode options to ntfscat (Szaka, modified by me).

2003/11/13 14:52:41+00:00 cantab.net!aia21
Merge

2003/10/28 15:50:53+00:00 flatcap.org!ntfs
prepare to cat other attributes

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 476ec32ef8 Auto merged
2004/03/04 17:05:35+00:00 cantab.net!aia21
manual merge fallout.

2004/03/04 17:04:08+00:00 cantab.net!aia21
Auto merged

2004/02/27 17:41:05+00:00 cantab.net!aia21
merge fall out

2004/02/27 17:36:16+00:00 cantab.net!aia21
Auto merged

2004/02/26 11:42:15+00:00 cantab.net!aia21
Auto merged

2004/02/25 14:45:54+00:00 cantab.net!aia21
update

2004/02/25 14:43:31+00:00 cantab.net!aia21
Auto merged

2004/01/26 11:20:15+00:00 cantab.net!aia21
merge

2004/01/26 11:18:38+00:00 cantab.net!aia21
Auto merged

2004/01/22 23:55:32+00:00 cantab.net!aia21
Auto merged

2004/01/21 12:36:41+00:00 cantab.net!aia21
Auto merged

2004/01/15 17:02:30+00:00 cantab.net!aia21
Run ./autogen.sh on SuSE 9.0.

2004/01/15 16:58:19+00:00 cantab.net!aia21
Auto merged

2003/11/19 16:05:20+00:00 cantab.net!aia21
Auto merged

2003/11/07 18:26:20+00:00 cantab.net!aia21
Auto merged

2003/11/07 10:16:23+00:00 cantab.net!aia21
Auto merged

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

2003/11/02 23:22:27+00:00 flatcap.org!ntfs
add cluster to the build

2003/10/28 15:48:10+00:00 flatcap.org!ntfs
add ntfsmove to the build

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 d55b3f83c5 Auto merged
2004/02/25 14:43:31+00:00 cantab.net!aia21
Auto merged

2003/11/19 16:05:20+00:00 cantab.net!aia21
Auto merged

2003/11/02 23:22:27+00:00 flatcap.org!ntfs
add cluster to the build

2003/10/28 15:48:10+00:00 flatcap.org!ntfs
add ntfsmove to the build

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 c4105e54e7 Auto merged
2004/01/07 15:48:41+00:00 cantab.net!aia21
Auto merged

2004/01/06 14:43:22+00:00 cantab.net!aia21
Auto merged

2003/11/19 00:40:18+00:00 flatcap.org!ntfs
Auto merged

2003/10/29 18:13:30+00:00 flatcap.org!ntfs
add dump_mem
remove junk that wasn't being used

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 d6c51bf64c Auto merged
2004/01/07 15:48:41+00:00 cantab.net!aia21
Auto merged

2003/11/02 23:22:27+00:00 flatcap.org!ntfs
declare [EQV]printf

2003/10/29 18:13:30+00:00 flatcap.org!ntfs
added dump_mem

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 2da888cefe Auto merged
2003/12/03 18:23:31+00:00 flatcap.org!ntfs
fix: output option was being ignored

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 fdacd99518 Add attribute and inode options to ntfscat (Szaka, modified by me).
(Logical change 1.299)
2004-03-06 17:42:28 +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 a2e4ff7cb6 Rename INCLUDES to AM_CPPFLAGS.
(Logical change 1.294)
2004-03-05 11:04:40 +00:00
cantab.net!aia21 a6629ede03 And another compiler warning.
(Logical change 1.292)
2004-03-04 17:03:27 +00:00
cantab.net!aia21 6b66bce89d update
(Logical change 1.291)
2004-03-04 16:59:58 +00:00
cantab.net!aia21 852af74c58 Fix mkntfs for large volumes where the number of clusters would
exceed the maximum of 32 bits and mkntfs would segfault.  Now we
increase the cluster size until the number of clusters no longer
exceeds 32 bits or the maximum cluster size is reached.  We then
exit with an appropriate error message.  (Thanks to Szaka for the
bug report.)
Also fix some compiler warnings in mkntfs with --enable-maintainer-mode.

(Logical change 1.291)
2004-03-04 16:59:58 +00:00
cantab.net!aia21 743f2c3632 Fix compiler warning with --enable-maintainer-mode.
(Logical change 1.291)
2004-03-04 16:59:58 +00:00
cantab.net!aia21 ddc702a582 Update to 1.8.6-WIP.
(Logical change 1.289)
2004-02-29 14:20:03 +00:00
cantab.net!aia21 40261dcd62 Update.
(Logical change 1.287)
2004-02-27 16:44:10 +00:00
cantab.net!aia21 6eb9812220 - Fix a duplicated free() in mkntfs. (Andras Erdei)
- Fix option display in mkntfs. (Andras Erdei)

(Logical change 1.285)
2004-02-26 13:48:16 +00:00
cantab.net!aia21 42e3faba21 Fix the fix. (-:
(Logical change 1.284)
2004-02-26 12:08:23 +00:00
cantab.net!aia21 f0ad8c7ed0 Update
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 6cecd0e726 Detect NO_NTFS_DEVICE_DEFAULT_IO_OPS and #error appropriately.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 536b80cb56 Fix bug in stoucs(). Thanks to Andras Erdei.
(Logical change 1.281)
2004-02-25 17:14:40 +00:00
cantab.net!aia21 1f2547829c Update for move of include files.
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 441947337e Include config.h before any other non-ntfs headers.
(Logical change 1.279)
2004-02-20 14:44:16 +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 5fd2457c54 Fixup ntfsinfo a little bit and give its manpage a small update to
reflect reality a little better.

(Logical change 1.276)
2004-02-05 16:51:10 +00:00
cantab.net!aia21 0dc21e3d77 Start 1.8.5-WIP.
(Logical change 1.274)
2004-01-26 10:19:35 +00:00
cantab.net!aia21 26fbe3a101 Update for latest libtool/autoconf/automake.
(Logical change 1.273)
2004-01-26 09:53:57 +00:00
cantab.net!aia21 cf2c13e079 Start 1.8.4-WIP
(Logical change 1.271)
2004-01-22 15:43:54 +00:00
cantab.net!aia21 892f097d8c Change Lode's email address.
(Logical change 1.270)
2004-01-22 14:56:39 +00:00
cantab.net!aia21 b260aaa7fc Build update.
(Logical change 1.269)
2004-01-21 12:33:31 +00:00
cantab.net!aia21 7aa67cb5bf Update.
(Logical change 1.267)
2004-01-19 16:28:03 +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 cabb6dc25b Update Matthew's email address.
(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21 aa3c49bc5b Patch from Matthew Fanto with fixups from me.
(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21 a7a6c5cfe5 Fix the previous update...
2004/01/09 10:50:25+00:00 cantab.net!aia21
Update for newer glibc.

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21 3244f17522 Enable lots of compiler warnings and fix warning from libntfs.
(Logical change 1.257)
2004-01-07 15:03:17 +00:00
cantab.net!aia21 e691e34ae7 Missed a bit from Christophe's patch.
(Logical change 1.255)
2004-01-07 10:48:24 +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
cantab.net!aia21 3fea49b48c - Compile fixes for DJGPP. (Chrisophe Grenier, me)
- Add compatibility for building on FreeBSD. (Christophe Grenier)

(Logical change 1.249)
2004-01-06 14:31:21 +00:00
cantab.net!aia21 e92992ed63 Cleanup build system with respect to CFLAGS so they are consistent throughout and
the right flags get added for the right things and move all of this in one place in
configure.ac removing everything from the Makefile.am files.

(Logical change 1.239)
2003-11-19 10:31:21 +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 0803017bb6 Fix warnings.
(Logical change 1.235)
2003-11-18 18:00:31 +00:00
cantab.net!aia21 0cef8dcd86 Make ntfscat show all messages to stderr so output (on stdout) isn't corrupted. (Szaka)
(Logical change 1.234)
2003-11-13 14:51:43 +00:00
flatcap.org!ntfs 12317ec4a8 s/sf/sourceforge/g
(Logical change 1.233)
2003-11-12 18:05:56 +00:00
cantab.net!aia21 d9bf0f8f6e Make building of libntfs-gnomevfs optional. (Jan Kratochvil)
(Logical change 1.231)
2003-11-07 18:25:26 +00:00
cantab.net!aia21 912e86e813 Split off ntfsprogs-gnomevfs in separate rpm and move glib/gnome
dependencies to it.

(Logical change 1.230)
2003-11-07 10:16:00 +00:00
cantab.net!aia21 50fb15960e Add man page for libntfs-gnomevfs and other man page updates.
(Logical change 1.227)
2003-11-06 16:30:56 +00:00
cantab.net!aia21 205c79accf Update build for ntfs gnome vfs
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21 05bf546cb0 Now file_size is signed.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21 3b25f96395 Fix signed warnings.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21 75519695ef Update from Szaka
(Logical change 1.217)
2003-10-29 13:33:42 +00:00
cantab.net!aia21 4ddd73798c Fix what must be a logic inverting typo...
(Logical change 1.215)
2003-10-27 15:17:17 +00:00
flatcap.org!ntfs 50df3a4189 adding errnos for bad calling
(Logical change 1.214)
2003-10-26 12:40:40 +00:00
flatcap.org!ntfs 9312550eaa add reference to ntfscat
(Logical change 1.214)
2003-10-26 12:40:40 +00:00
cantab.net!aia21 3b2953e8c4 Ooops. It's an ENUM not a DEFINE. Hopte this always works...
(Logical change 1.212)
2003-10-23 12:41:17 +00:00
cantab.net!aia21 9f07090763 Fixes from Lode to make it work on Cygwin.
(Logical change 1.211)
2003-10-23 12:28:44 +00:00
cantab.net!aia21 b44276e3f1 Add -quiet and -verbose options to ntfscat.
(Logical change 1.209)
2003-10-17 15:43:14 +00:00
flatcap.org!ntfs 6913945435 extra/extras target
(Logical change 1.208)
2003-10-16 21:11:12 +00:00
flatcap.org!ntfs 9cc93c1479 extra target to make extra programs
(Logical change 1.207)
2003-10-16 21:06:19 +00:00
flatcap.org!ntfs 3234ada8a2 wipe the tails of mft records that are in use
(Logical change 1.206)
2003-10-12 23:11:03 +00:00
flatcap.org!ntfs 6be430ea08 wipe the mft slack space
(Logical change 1.205)
2003-10-12 17:38:05 +00:00
flatcap.org!ntfs 7c7dd07807 new man page
(Logical change 1.204)
2003-10-12 17:22:04 +00:00
flatcap.org!ntfs ff9c58f35e typo
(Logical change 1.203)
2003-10-12 12:48:46 +00:00
flatcap.org!ntfs 5420628b1d wipe unused space seems to work
(Logical change 1.202)
2003-10-12 12:45:23 +00:00
flatcap.org!ntfs 9e26482dd5 mem leak in error path
(Logical change 1.201)
2003-10-11 21:47:38 +00:00
flatcap.org!ntfs def94f5b0c typo
(Logical change 1.200)
2003-10-11 15:36:14 +00:00
flatcap.org!ntfs 177ad3b693 slight rearrangement to group standard options
(Logical change 1.200)
2003-10-11 15:36:14 +00:00
flatcap.org!ntfs 1bd078c21a gather info using mft search contexts
(Logical change 1.200)
2003-10-11 15:36:14 +00:00
flatcap.org!ntfs ecbe65ac6b first draft of mft search contexts
(Logical change 1.199)
2003-10-11 15:31:25 +00:00
flatcap.org!ntfs 64a627283d typo
(Logical change 1.197)
2003-10-11 15:23:42 +00:00
flatcap.org!ntfs 2fe2986b6e add ntfscat to the build
(Logical change 1.196)
2003-10-11 00:13:17 +00:00
flatcap.org!ntfs 8f1f232253 add ntfscat to the build
(Logical change 1.195)
2003-10-10 23:22:23 +00:00
flatcap.org!ntfs f28338e40c Initial revision 2003-10-10 23:22:23 +00:00
flatcap.org!ntfs cfacfc10a5 (Logical change 1.195) 2003-10-10 23:22:23 +00:00
flatcap.org!ntfs c536fe31da minor bugfix
(Logical change 1.194)
2003-10-10 21:53:32 +00:00
flatcap.org!ntfs 6a9c6ada8f replace ucstos with ntfs_ucstombs
replace stoucs with ntfs_mbstoucs
adapt routine to convert a path to an inode (now in utils)
fix memory leaks in error paths

(Logical change 1.193)
2003-10-10 21:50:49 +00:00
flatcap.org!ntfs 904b95f03d added utils_pathname_to_inode based on Lode's version from ntfsls
in __metadata
  the root directory is definitely metadata now (rationale: stuff the user cannot delete)
  check for extent inodes of metadata files

(Logical change 1.192)
2003-10-10 21:42:48 +00:00
flatcap.org!ntfs 127d183ef8 added MAX_PATH (for ntfsls)
(Logical change 1.192)
2003-10-10 21:42:48 +00:00
flatcap.org!ntfs d0cc759878 Updates from Szaka
(Logical change 1.191)
2003-10-09 07:56:06 +00:00
flatcap.org!ntfs fcd4a314f3 add a helper to determine if an inode represents metadata
(Logical change 1.189)
2003-10-06 18:52:00 +00:00
flatcap.org!ntfs ecb1673d0e Auto merged
2003/09/28 14:57:05+01:00 flatcap.org!ntfs
add a helper to determine if an inode represents metadata

(Logical change 1.189)
2003-10-06 18:52:00 +00:00
flatcap.org!flatcap f0c141023b display more info
(Logical change 1.189)
2003-10-06 18:52:00 +00:00
cantab.net!aia21 f49930c0f4 ntfs_device_disk_io_ops is now ntfs_device_default_io_ops.
(Logical change 1.188)
2003-10-06 11:38:25 +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
cantab.net!aia21 e21db3b3a7 Make work on Cygwin. There is no 1 == non-option argument so have to use -d option instead.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21 b8872ed7ad FIXME: utils_valid_device() doesn't work on Cygwin. For now just don't do it.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21 9016aed815 Add -i parameter to syntax output of ntfsls.
(Logical change 1.185)
2003-09-30 10:32:09 +00:00
flatcap.org!flatcap f433b68d83 typo which made ntfslabel read only
(Logical change 1.183)
2003-09-28 13:00:38 +00:00
cantab.net!aia21 f7c342dafe Auto merged
2003/09/24 14:13:09+01:00 cantab.net!aia21
The workaround for the bug in ntfs_attr_lookup() no longer needed as the bug should be fixed.

(Logical change 1.182)
2003-09-24 13:16:33 +00:00
cantab.net!aia21 9d296e3dc6 Update
(Logical change 1.181)
2003-09-17 11:54:16 +00:00
cantab.net!aia21 94230f694e Manual merge
2003/09/06 00:05:07+01:00 flatcap.org!flatcap
makefile wasn't cleaning up ntfscluster.8

2003/09/05 23:58:15+01:00 flatcap.org!flatcap
added ntfscluster.8 to the build

(Logical change 1.180)
2003-09-17 11:51:25 +00:00
flatcap.org!flatcap a688307452 typo
(Logical change 1.179)
2003-09-07 18:20:00 +00:00
flatcap.org!flatcap 982e358711 draft man page for clone
(Logical change 1.179)
2003-09-07 18:20:00 +00:00
flatcap.org!flatcap 12fccd7990 makefile wasn't cleaning up ntfsls.8, ntfsclone.8 or ntfscluster.8
(Logical change 1.178)
2003-09-05 21:55:12 +00:00
flatcap.org!flatcap 74d5b2a492 work around what's probably a bug in ntfs_attr_lookup
(with some extent inodes, ntfs_attr_lookup keeps returning the same attribute)
need more time to investigate

(Logical change 1.177)
2003-09-05 21:37:08 +00:00
flatcap.org!flatcap 9f0d02f8ea start documenting things
(Logical change 1.177)
2003-09-05 21:37:08 +00:00
flatcap.org!flatcap 72ac9ba05b a couple of bugfixes
start on info

(Logical change 1.177)
2003-09-05 21:37:08 +00:00
cantab.net!aia21 3e00ceca93 Update for ntfsclone and ntfscluster man pages.
(Logical change 1.176)
2003-08-29 16:17:15 +00:00
cantab.net!aia21 0d4c8d197b Initial revision 2003-08-29 16:17:15 +00:00
cantab.net!aia21 644142fbe7 Fix a bug with the display of mft reference numbers.
Update display to match /bin/ls.

(Logical change 1.175)
2003-08-29 13:01:46 +00:00
cantab.net!aia21 c606599117 Finish the manpage for ntfsls.
(Logical change 1.175)
2003-08-29 13:01:46 +00:00
flatcap.org!flatcap 90eafc8faf an extra note for undelete
(Logical change 1.174)
2003-08-28 09:36:26 +00:00
cantab.net!aia21 e16ad7372f (Logical change 1.173) 2003-08-26 13:05:16 +00:00
cantab.net!aia21 d17ac3693e Initial revision 2003-08-26 13:05:16 +00:00
cantab.net!aia21 66d9310d87 Cleanup option parsing, help text, etc so they are all consistent with each other.
Also remove unused options.

(Logical change 1.173)
2003-08-26 13:05:16 +00:00
cantab.net!aia21 73e0cb25b2 Add ntfsls man page.
(Logical change 1.173)
2003-08-26 13:05:16 +00:00
flatcap.org!flatcap 515eab7cfb mem leak
typo

(Logical change 1.172)
2003-08-12 10:17:18 +00:00
cantab.net!aia21 03918d9878 Auto merged
2003/08/11 22:56:10+01:00 flatcap.org!flatcap
make default fillbyte 0
flags logic bug

(Logical change 1.172)
2003-08-12 10:17:18 +00:00
cantab.net!aia21 1e9ef6afae Build ntfscluster and ntfsls as /bin programs by default and ntfsclone as /sbin
program by default.

(Logical change 1.170)
2003-08-08 11:29:04 +00:00
cantab.net!aia21 7130beb807 - Some code tidyups.
- Display file when the specified path includes a file name
  at the end rather than a directory.

(Logical change 1.168)
2003-08-03 14:54:06 +00:00
cantab.net!aia21 c4c50f1270 __LINUX__ no longer works. Use linux instead.
(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21 af45ca7579 Cleanup ntfsls:
- formatting
- some error checking
- memory leaks (close inodes and release search contexts)
- add lots of FIXMEs where work is needed

(Logical change 1.165)
2003-07-30 13:45:37 +00:00
cantab.net!aia21 5f82dd8d27 Add right character.
(Logical change 1.160)
2003-07-23 09:45:39 +00:00
cantab.net!aia21 7411e15d6a Remove unused line.
(Logical change 1.159)
2003-07-23 09:33:40 +00:00
flatcap.org!flatcap 550e506f29 Add -t (display all timestamps as Epoch) and -T (don't display timestamps at all). Usable for ignoring timestamps when diff'ing.
(Logical change 1.158)
2003-07-22 21:08:22 +00:00
flatcap.org!flatcap d836725248 added ntfsls
(Logical change 1.157)
2003-07-22 20:41:19 +00:00
flatcap.org!flatcap 6820c2d110 Lode: smarter way to get the filesize
2003/07/22 21:28:05+01:00 flatcap.org!flatcap
Lode: find the file size from the data attribute

2003/07/22 21:08:43+01:00 flatcap.org!flatcap

(Logical change 1.157)
2003-07-22 20:41:19 +00:00
flatcap.org!flatcap 7f4c7ac959 Initial revision 2003-07-22 20:41:19 +00:00
cantab.net!aia21 163d414c9f Can't use vol->dev->d_name before it is allocated! D'oh!
Thanks to Szaka for reporting this.

(Logical change 1.152)
2003-07-11 14:35:49 +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
flatcap.org!flatcap 302c627270 A few typos - thanks to Pete Ware for spotting them
(Logical change 1.150)
2003-06-07 17:30:03 +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 7c5b6a5d15 Auto merged
2003/06/03 12:06:46+01:00 cantab.net!aia21
Adapt to changes in library.

(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21 e94dd2e634 Adapt to library changes.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21 33c6acd353 Adapt to changes in library.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21 6d9dd71bbc Update.
(Logical change 1.137)
2003-05-26 13:00:36 +00:00
cantab.net!aia21 b1e0c54b44 Manual merge.
2003/05/25 20:40:26+01:00 cantab.net!aia21
Add -fms-extensions when compiling with gcc-3.2+.

(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21 6aef27ab97 Auto merged
2003/05/25 20:40:26+01:00 cantab.net!aia21
Add -fms-extensions when compiling with gcc-3.2+.

(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21 44c49c55e5 Initial revision 2003-04-11 13:08:52 +00:00
cantab.net!aia21 f6f76eb44d Add ntfsclone to build.
(Logical change 1.134)
2003-04-11 13:08:52 +00:00
cantab.net!aia21 f1ff1790ea (Logical change 1.134) 2003-04-11 13:08:52 +00:00
cantab.net!aia21 969a7bcc0d patch from Szaka:
- Shrink contrains refactored for incremental cluster relocation
  support and to get closer for parted integration
  (ped_file_system_get_resize_constraint)

(Logical change 1.133)
2003-04-07 10:55:25 +00:00
cantab.net!aia21 5f681b6ca0 ntfsresize patch from Szaka:
- option -i collects info about resizing conditions
- if options -i and -s are used together then show needed relocations
- option -P added to disable progress bars
- walk_inodes(): delete redundant MFT_RECORD_IN_USE check
- code refactorings, preparations to move relevant codes to library

(Logical change 1.131)
2003-03-24 13:36:19 +00:00
cantab.net!aia21 fb7a94516e Typo fix...
(Logical change 1.124)
2003-02-25 18:57:15 +00:00
cantab.net!aia21 46225e5bdb urgent bug fixes to ntfsresize from Szaka:
- compare_bitmaps(): fix another bug reporting the correct cluster mismatch
- walk_inodes(): fix leaking ntfs_inode in certain cases
- delete redundant and unused MFT_RECORD *mrec from ntfs_resize_t

(Logical change 1.120)
2003-02-13 09:42:26 +00:00
cantab.net!aia21 63f4498e3c Update for 1.7.0 release.
(Logical change 1.119)
2003-02-12 16:39:32 +00:00
cantab.net!aia21 a95864329a ntfsresize bugfix from Szaka:
- if a corresponding byte differed in the two cluster bitmaps then the
  matching ones were reported as mismatches and vice versa.

(Logical change 1.118)
2003-02-10 12:03:24 +00:00
flatcap.org!flatcap 3987a55edd minor tidyup
(Logical change 1.117)
2003-02-09 22:55:20 +00:00
flatcap.org!flatcap 4a3d5ec325 endian fixes
(Logical change 1.117)
2003-02-09 22:55:20 +00:00
flatcap.org!flatcap 582b8303be endian fix
minor tidyup

(Logical change 1.117)
2003-02-09 22:55:20 +00:00
cantab.net!aia21 73b5b028ca ntfsresize patch from Szaka: Cluster account reporting fix
(Logical change 1.116)
2003-02-06 17:03:02 +00:00
cantab.net!aia21 cf2d62f84a ntfsresize patch from Szaka to allow binary prefixes.
(Logical change 1.115)
2003-02-06 16:47:06 +00:00
cantab.net!aia21 e8fccbf21b ntfsresize update from Szaka:
- fix mapping pairs generation with multiply extents
- support volume enlargement with multiply extents in $Bitmap
- support volume shrinking with multiply extents in $Bitmap
- more verbose multiply referenced clusters reporting
- better hints when filesystem is inconsistent

(Logical change 1.114)
2003-02-06 15:21:53 +00:00
cantab.net!aia21 d7b23b6494 ntfsresize patch from Szaka:
- calling fdatasync when appropriate
- always print program version
- uncommented not yet used program options

(Logical change 1.108)
2003-01-21 09:46:19 +00:00
cantab.net!aia21 c8dae5156c cleanup flatcaps changes (reverting a few) as well as add new option
(Logical change 1.107)
2003-01-20 11:08:14 +00:00
cantab.net!aia21 daae2d00c5 add new options
(Logical change 1.107)
2003-01-20 11:08:14 +00:00
flatcap.org!flatcap ea7b422e70 use the utils
standardise usage and version info

(Logical change 1.106)
2003-01-19 23:45:17 +00:00
flatcap.org!flatcap 94efdfe222 reformat the usage output
(Logical change 1.106)
2003-01-19 23:45:17 +00:00
flatcap.org!flatcap 5fd45f8c76 ntfsresize now uses the utils
(Logical change 1.106)
2003-01-19 23:45:17 +00:00
flatcap.org!flatcap 1f2fc42fa2 whitespace tidyup
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap fad40b9b78 standardise usage and version info
comment blocks

(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap 3769e91274 standardise usage and version info
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap 327bd2b2bc mkntfs and ntfstruncate now use the utils
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap ad1e482a7b minor layout tweaks
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap 4fb575b3cc comment blocks
standardise usage and version info

(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap e5b14ce5b6 use the utils
rearranged code a bit

(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 31cb10fb23 three strings: ntfs_bugs, ntfs_home and ntfs_gpl
2003/01/14 23:44:46+00:00 flatcap.org!flatcap
Change mode to -rw-rw-r--

(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 7f2714f906 three strings: ntfs_bugs, ntfs_home and ntfs_gpl
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 563fc17118 start using utils
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap bfb9a428eb start using the utils
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 070c787a27 standardise on Qprintf for Quietable output
2003/01/14 23:44:46+00:00 flatcap.org!flatcap
Change mode to -rw-rw-r--

(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 9b24931503 standardise on Qprintf for Quietable output
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 1cf51ca7fb ntfslabel now uses the utils
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 84947d2fa0 added a few standard command line options
used the utils

(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 1d72ba4c99 use global Dprintf
(Logical change 1.103)
2003-01-19 11:32:24 +00:00
flatcap.org!flatcap 41854fb250 include our dependencies
(Logical change 1.103)
2003-01-19 11:32:24 +00:00
flatcap.org!flatcap be23ca327d Auto merged
2003/01/14 23:41:16+00:00 flatcap.org!flatcap
fix a few endian problems
add a few comment blocks

(Logical change 1.103)
2003-01-19 11:32:24 +00:00
cantab.net!aia21 ef273e8804 really final tidyings
(Logical change 1.102)
2003-01-18 16:02:37 +00:00
cantab.net!aia21 e56f73d5ed fix compilation of ntfswipe
(Logical change 1.98)
2003-01-16 17:28:20 +00:00
cantab.net!aia21 47f8702fdd typo fix
(Logical change 1.96)
2003-01-16 17:20:46 +00:00
cantab.net!aia21 5fb3e94ccb - eliminated get_bitmap_data ()
- eliminated struct bitmap on_disk_lcn_bitmap
- speeded up compare_bitmaps()
- speeded up advise_on_resize()
- ntfs_mapping_pairs_build() prints reason if error happens
- print cluster size, device size and more onging operations

(Logical change 1.96)
2003-01-16 17:20:46 +00:00
flatcap.org!flatcap fe038bd2dc move code to utils
check that at least one cluster is in use, before starting

(Logical change 1.95)
2003-01-14 20:48:15 +00:00
flatcap.org!flatcap fa39b3f421 more stuff moved to utils
(Logical change 1.95)
2003-01-14 20:48:15 +00:00
flatcap.org!flatcap 54d3f226c6 more migrated code
(Logical change 1.95)
2003-01-14 20:48:15 +00:00
flatcap.org!flatcap c6dcb0afee moved get_inode_name and get_attr_name to utils
(Logical change 1.93)
2003-01-13 20:05:15 +00:00
flatcap.org!flatcap 379692221b get_inode_name & get_attr_name moved from ntfscluster
(Logical change 1.93)
2003-01-13 20:05:15 +00:00
cantab.net!aia21 416ce477d3 Szaka:
- more manual update
- read-only checks are pushed down to the library
- checking ntfs_get_size_for_mapping_pairs return values
- relaxing/fixing mapping_pairs overflow conditions
Szaka:
- more manual update
- read-only checks are pushed down to the library
- checking ntfs_get_size_for_mapping_pairs return values
- relaxing/fixing mapping_pairs overflow conditions

(Logical change 1.91)
2003-01-12 19:21:06 +00:00
cantab.net!aia21 b171354223 Szaka:
- more manual update
- read-only checks are pushed down to the library
- checking ntfs_get_size_for_mapping_pairs return values
- relaxing/fixing mapping_pairs overflow conditions

(Logical change 1.91)
2003-01-12 19:21:06 +00:00
cantab.net!aia21 dbd2bc132e (Logical change 1.91) 2003-01-12 19:21:06 +00:00
cantab.net!aia21 3580d984fb man page update from Szaka
(Logical change 1.89)
2003-01-11 11:25:17 +00:00
flatcap.org!flatcap 4633bcf2de one include and 256 lines shed
(Logical change 1.88)
2003-01-11 02:09:53 +00:00
flatcap.org!flatcap 986c523c33 make undelete use the utils
(Logical change 1.88)
2003-01-11 02:09:53 +00:00
flatcap.org!flatcap 930cf0f712 two new helpers, one to generate pathnames, the other for attribute names
(Logical change 1.87)
2003-01-11 00:26:41 +00:00
cantab.net!aia21 a3e3e66651 update from Szaka modified by me:
new API disk_io.[hc]: ntfs_device_size_get() ported from mkntfs.c

(Logical change 1.86)
2003-01-10 17:00:47 +00:00
cantab.net!aia21 ce45772a9c update from Szaka hand applied by me
(Logical change 1.86)
2003-01-10 17:00:47 +00:00
cantab.net!aia21 de757075f4 mount read-only (Szaka)
(Logical change 1.86)
2003-01-10 17:00:47 +00:00
flatcap.org!flatcap 7d20cb5376 start to work on the program's behaviour
(Logical change 1.85)
2003-01-10 01:06:19 +00:00
flatcap.org!flatcap 6d5ba60378 some functions moved to utils
(Logical change 1.85)
2003-01-10 01:06:19 +00:00
flatcap.org!flatcap bf6cff53f5 more general purpose functions
(Logical change 1.85)
2003-01-10 01:06:19 +00:00
flatcap.org!flatcap 96f8b84e55 tidy
(Logical change 1.82)
2003-01-09 16:30:59 +00:00
flatcap.org!flatcap 4a763bc970 a typos left over from the big rename
(Logical change 1.82)
2003-01-09 16:30:59 +00:00
flatcap.org!flatcap e860ea0ed4 three modes
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 6862599a67 minor typos
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap e7dd03f9a4 add -Wall to normal build (not just debug)
add new files to build

(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 9597186a6b a bit of code added, some moved out into utils
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
flatcap.org!flatcap 9227c23f73 (Logical change 1.80) 2003-01-09 01:42:21 +00:00
flatcap.org!flatcap fde565d504 Initial revision 2003-01-09 01:42:21 +00:00
flatcap.org!flatcap ed1149f0a0 added a version option
simplified get_bitmap_data
added comment blocks

(Logical change 1.79)
2003-01-09 01:24:28 +00:00
cantab.net!aia21 a86ad90a97 Finish off / fix ability to specify an attribute name.
2002/12/29 12:03:45+00:00 cantab.net!aia21
Add ability to specify an attribute name in addition to the attribute type.

(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 ab8ae59c52 Fix debug output for offset.
Only dump attribute records for attribute being resized.

(Logical change 1.69)
2002-12-28 20:10:50 +00:00
cantab.net!aia21 844432eeca Fix typos and correct a wrong sanity check which prevented truncation
to zero size.

(Logical change 1.68)
2002-12-28 19:19:05 +00:00
cantab.net!aia21 27f6b2df8d Force is -f not -F.
(Logical change 1.66)
2002-12-27 23:44:01 +00:00
cantab.net!aia21 a6c464ca4d (Logical change 1.64) 2002-12-27 23:14:11 +00:00
cantab.net!aia21 dafd0eefe3 Initial revision 2002-12-27 23:14:11 +00:00
cantab.net!aia21 43c7dfa6af Add ntfstruncate to manual build process.
(Logical change 1.64)
2002-12-27 23:14:11 +00:00
cantab.net!aia21 f8a7ee4a7e Typos.
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21 9fd51dde62 New API functions (mostly still WIP):
attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate()
   inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync()
   lcnalloc.[hc]: ntfs_cluster_{alloc,free}()
Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}().

(Logical change 1.55)
2002-12-26 00:44:57 +00:00
cantab.net!aia21 16e4e8717a New API function ntfs_ucsnlen() and removal of mkntfs.c/ucsnlen().
(Logical change 1.52)
2002-12-25 19:17:56 +00:00
flatcap.org!flatcap 787420defe [matt] new code
(Logical change 1.50)
2002-12-23 04:42:18 +00:00
flatcap.org!flatcap e37809b5a9 typo
(Logical change 1.49)
2002-12-23 04:40:25 +00:00