Commit Graph

61 Commits (1cefeefd61a0dd859b432bdb7242b6bb723ffd0e)

Author SHA1 Message Date
szaka 1cefeefd61 - hint to the user what to do if the partition is hibernated 2005-05-10 17:00:03 +00:00
cantab.net!aia21 12d49f4972 fix segfault during filesystem check if NTFS was corrupted
in a way that clusters were referenced outside of the volume.  (Szaka)

(Logical change 1.697)
2005-04-19 12:01:38 +00:00
cantab.net!aia21 8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +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
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
cantab.net!aia21 06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +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 be6c3651f6 make fsck related functions reusable: exit -> return conversations [ongoing]
(Logical change 1.437)
2004-06-23 14:18:45 +00:00
elisa-laajakaista.fi!szaka 75fe0ab100 Rename ntfs_fsck_t to ntfsck_t
(Logical change 1.399)
2004-05-26 04:20:29 +00:00
elisa-laajakaista.fi!szaka 0e3341d916 Eliminate the global opt.show_progress from progress_update() for code reuse
(Logical change 1.398)
2004-05-26 04:16:34 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
elisa-laajakaista.fi!szaka aadb68f43e eliminated the global ntfs_volume variable
(Logical change 1.389)
2004-05-09 01:43:45 +00:00
elisa-laajakaista.fi!szaka 6e0b4d5d32 remove not-used-anymore last_unsafe member from ntfs_resize_t
(Logical change 1.388)
2004-05-08 23:29:54 +00:00
elisa-laajakaista.fi!szaka 0d541c6791 prepare truncate_badclust_file() for global variables elimination
(Logical change 1.387)
2004-05-08 23:25:46 +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
elisa-laajakaista.fi!szaka fbd9efac4e Auto merged
2004/04/17 04:01:46+03:00 elisa-laajakaista.fi!szaka
Detached ntfs_fsck_t from ntfs_resize_t and use it for check_allocation_bitmap() [in progress]

(Logical change 1.377)
2004-04-17 01:02:42 +00:00
cantab.net!aia21 71c1fe3af8 Update
(Logical change 1.374)
2004-04-16 20:54:34 +00:00
elisa-laajakaista.fi!szaka 49bc22ac54 split walk_inodes() into check_allocation_bitmap() and set_resize_constrains() [in progress]
(Logical change 1.372)
2004-04-16 19:25:24 +00:00
elisa-laajakaista.fi!szaka cb7d91eb16 got rid of the global struct bitmap lcn_bitmap (some work towards code reuse)
(Logical change 1.364)
2004-04-14 01:23:36 +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 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 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
cantab.net!aia21 0acde67dde A few missed.
(Logical change 1.308)
2004-03-09 16:00:13 +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
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
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
flatcap.org!ntfs fafd832996 clear up a few minor build warnings
(Logical change 1.238)
2003-11-19 00:05:30 +00:00
flatcap.org!ntfs 64a627283d typo
(Logical change 1.197)
2003-10-11 15:23:42 +00:00
flatcap.org!ntfs d0cc759878 Updates from Szaka
(Logical change 1.191)
2003-10-09 07:56:06 +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 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 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 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 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
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
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 1f2fc42fa2 whitespace tidyup
(Logical change 1.105)
2003-01-19 22:01:18 +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 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
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