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
flatcap.org!flatcap
363b1bc4df
qualify sf's name
...
(Logical change 1.49)
2002-12-23 04:40:25 +00:00
cantab.net!aia21
eb9ed096e2
remove comment as requested by Szaka
...
(Logical change 1.46)
2002-12-13 16:06:07 +00:00
cantab.net!aia21
69306cc493
new api renames to ntfs_object_action
...
(Logical change 1.36)
2002-12-10 11:53:41 +00:00
cantab.net!aia21
65b72f98e1
bug fix by Szaka
...
(Logical change 1.35)
2002-12-09 16:09:32 +00:00
cantab.net!aia21
9e79b61437
start of renames to ntfs_object_action() format
...
(Logical change 1.34)
2002-12-09 09:42:12 +00:00
cantab.net!aia21
030078ba24
update build
...
(Logical change 1.33)
2002-12-09 09:23:21 +00:00
cantab.net!aia21
9ff24501b2
remove unused variables
...
(Logical change 1.33)
2002-12-09 09:23:21 +00:00
cantab.net!aia21
c4eb64a730
Auto merged
...
2002/12/08 20:15:29+00:00 cantab.net!aia21
rename run{ ,_,-}list to runlist
(Logical change 1.31)
2002-12-08 20:36:02 +00:00