Commit Graph

2487 Commits (c7eaee5a0fb29793a8ff23f860bf6c5fd65e90f0)
 

Author SHA1 Message Date
szaka f6c4797379 Fix in relocate_attributes(): don't stop processing of MFT record attributes
at AT_DATA of $BadClus and $Bitmap. In practice, there aren't non-resident
attributes after them so this recent bug shouldn't have caused data loss.
2005-07-24 09:06:55 +00:00
cha0smaster e48bd91bbf * Fix bug in index.c (see Changelog).
* Minor fixes to attr{ib,list}.c.
2005-07-23 00:50:31 +00:00
antona 00c7127551 First attempts at DesX decryption (not working yet!). 2005-07-22 23:45:32 +00:00
antona 93194b37a0 Add a function to ntfsprogs/decrypt.c that expands an on-disk desx key from 128
bits to the needed 192 bits so it can be used for {en,de}cryption.
Note I couldn't face using the completely insane libgcrypt api so I used
openssl's libcrypto instead...  Anyone feel free to swap once we have it
working.
2005-07-21 12:12:37 +00:00
cha0smaster b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
cha0smaster 0f4d02e9e4 ntfsls: not all files started with '$' are system files, check by inode number instead. 2005-07-20 16:04:40 +00:00
antona e55c6769e1 Apply some updates after doing some reverse engineering. 2005-07-20 10:59:06 +00:00
antona 0dac29a487 Update for 1.11.1 release. 2005-07-20 08:14:52 +00:00
cha0smaster 01946494c2 Fix typos in ChangeLog 2005-07-19 23:22:37 +00:00
cha0smaster c8cb65fcd9 Make @outs_len to be 0 when @**outs NULL in ntfs_ucstombs calls. Previous code
it correct since @outs_len is ingored when @**outs == NULL, but may confuse
because it was equal to @ins_len what is incorrect (eg. international utf8
characters).
2005-07-19 23:13:26 +00:00
cha0smaster 53a1ae67f9 * Fix similar bug in ntfs_fuse_getxattr.
* Update changelog.
2005-07-19 22:58:51 +00:00
cha0smaster 7b9cac2912 Update ChangeLog and auto scripts. 2005-07-19 21:36:07 +00:00
cha0smaster 37b4c63829 ntfsmount:
* Fix bug in inside ntfs_fuse_filler, it's sometimes allocated to small buffer.  (Thanks to Rich for finding this bug)
* Fix bug in error handling of ntfs_fuse_readdir.

ARGH, why we already had release?
2005-07-19 21:22:24 +00:00
antona 1fa9a39d9a Do the 1.11.0 release. 2005-07-19 09:59:51 +00:00
flatcap cc1f72948b fix careless mst write
move truncate out of the commit path
2005-07-19 01:56:41 +00:00
flatcap ad7821f458 remove some old code 2005-07-18 23:53:14 +00:00
flatcap 807e7e6dfc remove some old code 2005-07-18 23:42:40 +00:00
szaka a0580d00e1 Update ntfsresize TODO 2005-07-18 22:32:37 +00:00
szaka d016f808d5 Fix read-only shrinkage failure if new size was too small by relocating and
writing $Bitmap:$DATA only once. This also improves performance.
2005-07-18 22:09:47 +00:00
flatcap 50075bb971 fix some sloppy memory management
tidy up ie handling
2005-07-18 21:45:08 +00:00
cha0smaster b3e4bbcd57 Update TODOs for some things I probably will do someday. 2005-07-18 21:14:26 +00:00
antona 6292bc5d8f Fix compilation under Cygwin (and make sure it still works on Linux). 2005-07-18 20:47:48 +00:00
antona 82fc3cd557 Fix compiler warning under Cygwin. 2005-07-18 20:38:33 +00:00
szaka a3ac693fca Move the check for $Bitmap AT_ATTRIBUTE_LIST into resize constraints 2005-07-18 20:34:41 +00:00
flatcap 50c4959f1e root remove got size wrong
a few typos
2005-07-18 16:10:05 +00:00
antona 422b858af0 Oops. Made a cut and paste error when updating the spec file. Fix it. 2005-07-18 16:02:40 +00:00
antona f2ff3915a5 Update spec file for ntfsmount utility to be in separate rpm ntfsprogs-fuse. 2005-07-18 15:59:38 +00:00
antona 2fbe1a701c - Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC from configure.ac as we
do not provide replacement functions for them and they break cross
  compilation.  (Christophe)
- Update everything for 1.11.0 release.
2005-07-18 13:51:16 +00:00
cha0smaster fc2382b742 libntfs/volume.c: fix ntfs_check_if_mounted to cope with dirrerent names of same file.
ntfsprogs/ntfsmount.c: don't put relative path to /etc/mtab.
2005-07-18 02:09:43 +00:00
antona d8b586c014 Add ntfsdecrypt to .cvsignore. 2005-07-16 18:19:17 +00:00
antona b48dae0c5f Make ntfsdecrypt compile under Linux. 2005-07-16 07:00:57 +00:00
antona 4ed406e68e Add new utility (make extra) - ntfsdecrypt. (Yuval) 2005-07-16 06:53:40 +00:00
cha0smaster 0b75b12544 ntfsmount:
* use mount function from utils.[ch]
* remove fsname option (need to support if volume already mounted)
* add force option to support mount from utils
* update manual page
* fix tiny memleak
2005-07-15 15:53:22 +00:00
flatcap 2c942cb3f4 tidy up dt rollback and commit 2005-07-13 22:55:01 +00:00
szaka 2b2e127d26 Fix segfault during $Bitmap shrinkage introduced very recently by not
differentiating shrinkage and enlargement
2005-07-13 19:37:51 +00:00
szaka 436b290d03 Fix one-time memory leak in relocate_attributes() 2005-07-13 17:47:37 +00:00
szaka c5e05165c9 Fix memory leak in ignore_bad_clusters() 2005-07-13 17:07:13 +00:00
flatcap 60f27a9a8f prevent a likely error from upsetting the info collection
fix a few error messages
2005-07-13 00:50:52 +00:00
szaka 8b148a061f ntfsresize: give more hint if an $MFT run should be split. This will be the
next most common restriction when $MFT with ATTRIBUTE_LIST will be supported
2005-07-12 22:03:13 +00:00
szaka 8be0570dab Prepare collect_resize_constraints() for $MFT with AT_ATTRIBUTE_LIST support 2005-07-12 21:46:40 +00:00
flatcap 5bfce5ff73 no code changes, merely reordered some functions 2005-07-12 17:58:47 +00:00
flatcap 0fc1835e47 fix some sloppy memory management
tidy up bmp handling
2005-07-12 17:13:29 +00:00
szaka 9f50872ec2 Spelling typos, Debian bug #300073 2005-07-12 16:18:10 +00:00
flatcap 40f00bd76b another bmp test
fix bmp handling again
fix dt commit for iroot
fix dt root replace
rm now cleanly removes last dir entry
2005-07-11 11:54:38 +00:00
szaka 4c2cfb2583 Rephrase mentioning "dirty" volumes so people hopefully won't think that
Windows repairs what ntfsresize damaged. The real function of leaving
the volume dirty is to make Windows create the backup boot sector because
we can't know where the partitioner will exactly resizes (they optionally
round to some cylinder boundary, defined by ad hoc, arbitrariy rules).
2005-07-10 23:09:02 +00:00
szaka d37968ee84 Update ntfsfix manual 2005-07-10 22:44:00 +00:00
antona f12ba9ab00 I am a muppet. I forgot to update the version number in configure.ac before
running autogen.sh last time.  )-:
2005-07-10 21:47:23 +00:00
antona 47b52b54e3 Update changelog, fox more mkntfs bugs (thanks Timur!) and update build system
to SuSE 9.3 again.
2005-07-10 21:42:39 +00:00
cha0smaster 48af715f60 * Add check to auto scripts for FUSE to be >= 2.3.0.
* Move ntfsmount back to standard programs set.
2005-07-10 12:38:46 +00:00
antona b942e2c03a Move ntfsmount to extra programs as it doesn't even approximate being
compilable!  (At least on my machine which has fuse 2.2.1.)
And I need a working snapshot for Timur.
2005-07-09 21:32:17 +00:00