Commit Graph

211 Commits (a033e9dfa006276a8a5d9533f874e47208d02f95)

Author SHA1 Message Date
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