Move timeconv to ntfstime, update changelog, and news for new release.
parent
41d459b15c
commit
6124aafffb
61
ChangeLog
61
ChangeLog
|
@ -1,36 +1,45 @@
|
|||
04/07/2005 - 1.11.2 - A lot of fixes and improvements.
|
||||
04/08/2005 - 1.11.2 - ntfsdecrypt now works and lots of fixes and improvements.
|
||||
|
||||
- ntfsls: fix showing not system files started with '$'. (Yura)
|
||||
- Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h. (Yura)
|
||||
- ntfsls: Fix display of non-system files whose name begins with the
|
||||
'$' character. (Yura)
|
||||
- Move ntfs2utc and utc2ntfs from utils.[ch] to ntfstime.h. (Yura,
|
||||
Anton)
|
||||
- Add [acm]time fields to struct ntfs_inode and set them during
|
||||
ntfs_inode_open. Update ntfsmount to use them. (Yura)
|
||||
- index.c::ntfs_index_lookup: fix bug when index context didn't point
|
||||
on index root in which entry located. (Yura)
|
||||
- ntfsresize: 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 bug,
|
||||
introduced in 1.11.0, shouldn't have ever caused data loss. (Szaka)
|
||||
- ntfsresize: support relocation of $MFT with $ATTRIBUTE_LIST. (Szaka)
|
||||
- ntfsresize: support resizing into the middle of a $MFT $DATA
|
||||
ntfs_inode_openi(). Update ntfsmount to use them. (Yura)
|
||||
- index.c::ntfs_index_lookup(): Fix bug when index context did not
|
||||
point to the index root in which the entry located. (Yura)
|
||||
- ntfsresize: relocate_attributes(): Do not stop processing MFT record
|
||||
attributes at AT_DATA of $BadClus and $Bitmap. In practice, there
|
||||
are no non-resident attributes after them so this is a bug which was
|
||||
introduced in 1.11.0 which should not have caused data loss. (Szaka)
|
||||
- ntfsresize: Support relocation of $MFT with $ATTRIBUTE_LIST. (Szaka)
|
||||
- ntfsresize: Support resizing into the middle of a $MFT $DATA
|
||||
extent. (Szaka)
|
||||
- ntfscp: fix attribute name parsing bug introduced in 1.10.0. (Yura)
|
||||
- ntfsinfo: dump more information for indexes. (Yura)
|
||||
- Fix unistr.c::ntfs_mbstoucs on systems with utf8 locale. (Yura)
|
||||
- Change errno and print more verbose message in case if logfile check
|
||||
failed. (Yura)
|
||||
- Fix random errno returned by ntfs_inode_open() if the MFT record
|
||||
wasn't in use. (Szaka)
|
||||
- Fix ntfs_attr_p{read,write} to not return less bytes if trapped on
|
||||
- ntfscp: Fix attribute name parsing bug introduced in 1.10.0. (Yura)
|
||||
- ntfsinfo: Dump more information about indexes. (Yura)
|
||||
- Fix unistr.c::ntfs_mbstoucs() on systems with utf8 locale. (Yura)
|
||||
- Change errno and print more verbose message in the case of a failing
|
||||
logfile check. (Yura)
|
||||
- Fix random errno returned by ntfs_inode_open() if the MFT record was
|
||||
not in use. (Szaka)
|
||||
- Fix ntfs_attr_p{read,write}() to not return less bytes if trapped on
|
||||
unmapped runlist region. (Yura)
|
||||
- Make find work correctly on volumes mounted by ntfsmount. (Yura)
|
||||
- Replaced all occurances of ENOTSUP to EOPNOTSUPP to be in better
|
||||
- Replaced all occurances of ENOTSUP with EOPNOTSUPP to be in better
|
||||
harmony with the kernel driver. (Szaka)
|
||||
- Fix ntfs_is_cb_compressed for nasty runlist merging case in which
|
||||
compression block was incorrectly treated as not compressed. (Yura)
|
||||
- ntfsresize: fix for ntfs_rl_truncate() EIO: always set the correct
|
||||
size for $BadClus:$Bad, even if Windows set it incorrectly. (Szaka)
|
||||
- Make ntfs_attr_open resolve attribute name for ntfs_attr struct
|
||||
- Fix ntfs_is_cb_compressed() for nasty runlist merging case in which
|
||||
compression block was incorrectly treated as not compressed. (Yura,
|
||||
Anton)
|
||||
- ntfsresize: Fix for ntfs_rl_truncate() EIO: Always set the correct
|
||||
size for $BadClus::$Bad, even if Windows set it incorrectly. (Szaka)
|
||||
- Make ntfs_attr_open() resolve attribute name for ntfs_attr struct
|
||||
in case NULL passed instead of name. (Yura)
|
||||
- ntfsdecrypt (make extra) is now fully functional under Windows/Cygwin
|
||||
using libgcrypt. It decrypts all types of compressed files that ntfs
|
||||
creates, i.e. DesX, AES-256, and 3Des. The only reason it only works
|
||||
on Windows is that it needs the user's private key to be able to
|
||||
decrypt the File Encryption Key so it can decrypt the file. (Yuval,
|
||||
Anton)
|
||||
|
||||
20/07/2005 - 1.11.1 - Fix several ntfsmount bugs.
|
||||
|
||||
|
|
6
NEWS
6
NEWS
|
@ -7,6 +7,9 @@ changing the file size and can read/write/add/remove named data streams via
|
|||
"file:stream" interface and list them via "ntfs.streams.list" extended
|
||||
attribute (this only if xattr support is enabled). (Yura Pakhuchiy)
|
||||
|
||||
Older news
|
||||
==========
|
||||
|
||||
Attribute resize code for normal and sparse files is completed. Thus, ntfscp
|
||||
should always successfully overwrite any normal or sparse file even if file
|
||||
size is changed. (Yura Pakhuchiy)
|
||||
|
@ -31,9 +34,6 @@ this modifies the command line options a little as well as the returned output
|
|||
so applications using ntfsresize might need modifications before they will
|
||||
work with the updated ntfsresize. (Szakacsits Szabolcs)
|
||||
|
||||
Older news
|
||||
==========
|
||||
|
||||
ntfsprogs now should ./configure and compile cleanly on SuSE as well as RedHat
|
||||
Linux.
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ linux_ntfsinclude_HEADERS = \
|
|||
runlist.h \
|
||||
security.h \
|
||||
support.h \
|
||||
timeconv.h \
|
||||
ntfstime.h \
|
||||
types.h \
|
||||
unistr.h \
|
||||
volume.h
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* timeconv.h - NTFS time conversion functions. Part of the Linux-NTFS project.
|
||||
* ntfstime.h - NTFS time related functions. Part of the Linux-NTFS project.
|
||||
*
|
||||
* Copyright (c) 2005 Anton Altaparmakov
|
||||
* Copyright (c) 2005 Yura Pakhuchiy
|
||||
*
|
||||
* This program/include file is free software; you can redistribute it and/or
|
||||
|
@ -19,11 +20,13 @@
|
|||
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef _NTFS_TIMECONV_H
|
||||
#define _NTFS_TIMECONV_H
|
||||
#ifndef _NTFS_NTFSTIME_H
|
||||
#define _NTFS_NTFSTIME_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#define NTFS_TIME_OFFSET ((s64)(369 * 365 + 89) * 24 * 3600 * 10000000)
|
||||
|
||||
/**
|
||||
|
@ -61,4 +64,4 @@ static __inline__ s64 utc2ntfs(time_t utc_time)
|
|||
return (s64)utc_time * 10000000 + NTFS_TIME_OFFSET;
|
||||
}
|
||||
|
||||
#endif /* _NTFS_TIMECONV_H */
|
||||
#endif /* _NTFS_NTFSTIME_H */
|
|
@ -38,7 +38,7 @@
|
|||
#include "lcnalloc.h"
|
||||
#include "index.h"
|
||||
#include "dir.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
/**
|
||||
* Internal:
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#include "mst.h"
|
||||
#include "runlist.h"
|
||||
#include "utils.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
|
||||
# error "No default device io operations! Cannot build mkntfs. \
|
||||
|
|
|
@ -393,5 +393,3 @@ int main (int argc, char *argv[])
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
#include "security.h"
|
||||
#include "mst.h"
|
||||
#include "dir.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsinfo";
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "utils.h"
|
||||
#include "dir.h"
|
||||
#include "list.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsls";
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "dir.h"
|
||||
#include "lcnalloc.h"
|
||||
#include "mft.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsrm";
|
||||
static struct options opts;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "device.h"
|
||||
#include "utils.h"
|
||||
#include "debug.h"
|
||||
#include "timeconv.h"
|
||||
#include "ntfstime.h"
|
||||
|
||||
static const char *EXEC_NAME = "ntfsundelete";
|
||||
static const char *MFTFILE = "mft";
|
||||
|
|
Loading…
Reference in New Issue