Erik Larsson
713fbb390e
Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0
...
Conflicts:
configure.ac
include/ntfs/Makefile.am
include/ntfs/attrib.h
include/ntfs/bitmap.h
include/ntfs/collate.h
include/ntfs/debug.h
include/ntfs/dir.h
include/ntfs/endians.h
include/ntfs/index.h
include/ntfs/inode.h
include/ntfs/layout.h
include/ntfs/logfile.h
include/ntfs/logging.h
include/ntfs/mft.h
include/ntfs/ntfstime.h
include/ntfs/runlist.h
include/ntfs/support.h
include/ntfs/types.h
include/ntfs/unistr.h
include/ntfs/volume.h
libntfs/Makefile.am
libntfs/attrib.c
libntfs/attrlist.c
libntfs/bitmap.c
libntfs/bootsect.c
libntfs/collate.c
libntfs/compress.c
libntfs/debug.c
libntfs/device.c
libntfs/device_io.c
libntfs/dir.c
libntfs/index.c
libntfs/inode.c
libntfs/lcnalloc.c
libntfs/logfile.c
libntfs/logging.c
libntfs/mft.c
libntfs/mst.c
libntfs/runlist.c
libntfs/security.c
libntfs/unistr.c
libntfs/unix_io.c
libntfs/volume.c
libntfs/win32_io.c
ntfsprogs/Makefile.am
ntfsprogs/mkntfs.c
ntfsprogs/ntfscat.c
ntfsprogs/ntfsclone.c
ntfsprogs/ntfscmp.c
ntfsprogs/ntfscp.c
ntfsprogs/ntfsinfo.c
ntfsprogs/ntfsmount.8.in
ntfsprogs/ntfsmount.c
ntfsprogs/ntfsundelete.c
ntfsprogs/upcase.c
2010-12-02 22:31:21 +01:00
Erik Larsson
5b9b4c7e49
Removing all references to the libntfs library version until we have such functionality in libntfs-3g.
2010-12-02 16:38:16 +01:00
Erik Larsson
f03d683fa0
Commented out all references to 'version.h' (which doesn't exist in libntfs-3g) and added a stub implementation of ntfs_libntfs_version in utils.h to allow things to compile.
2010-12-02 15:58:14 +01:00
Erik Larsson
1860eff1da
Updated all includes in the basic ntfsprogs utilities for libntfs-3g.
2010-12-02 15:57:58 +01:00
Yura Pakhuchiy
f7068cf989
ntfscp docs update
2007-09-24 21:58:02 +03:00
Yura Pakhuchiy
37476cf609
Introduce NTFS_MNT_FORCE instead of third parameter of utils_mount_volume
2007-09-15 18:12:32 +03:00
Yura Pakhuchiy
0d264b7d25
Introduce sparse endian annotations. Adopt library (also fix 2 real bugs) and progs (lots of bugs).
2007-06-08 13:47:57 +03:00
Yura Pakhuchiy
e6620be16d
Do not create holes in ntfs_attr_pwrite that will be instantiated right after creation
...
* Add new API: __ntfs_attr_truncate that allow user to select whether holes should be created or clusters allocated
* Update ntfs_attr_pwrite and ntfscp to use it.
2007-06-08 13:35:47 +03:00
yura
01dad951c2
minor cleanups
2007-03-13 18:39:47 +00:00
yura
2e44b6ca7c
fix some sparse warnings
...
btw, it looks like sparse loses it head when it see something like:
void foo(s64 *bar)
{
...
}
...
{
s64 baz;
foo(&baz);
...
}
2006-12-12 15:44:52 +00:00
aia21
5302d23f7b
- Empty the journal at mount time. (Anton)
...
- Set the volume dirty bit at mount time (if it is not set already and
clear it again at umount time but only if it was not set to start
with. (Anton)
2006-11-28 10:09:56 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
* Introduce NTFS_MNT_CASE_SENSITIVE.
2006-11-12 22:46:50 +00:00
uvman
b7b4c98633
Hil: Allow ntfscp to create the destination file if it does not already exists by calling ntfs_create().
2006-10-04 00:47:04 +00:00
yura
d15ed62ae4
a bit of cleanups
2006-08-14 03:52:56 +00:00
szaka
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +00:00
szaka
be823c7a1e
libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
...
copy-pastes to use them
2006-04-05 02:45:55 +00:00
flatcap
af6f7606e4
tidy evil roff usage
...
add/document missing options
add missing authors
standardise program usage()
standardise options look
update download and contact details
2005-11-21 21:25:14 +00:00
cha0smaster
0e808deef1
* update ntfsmount to new logging, remove all #ifdef #DEBUG, add debug option
...
* ntfsmount: enable kernel_cache for fuse >= 2.4.0 by default
* ntfscp fix style in code introduced by Rich
2005-11-14 12:19:39 +00:00
flatcap
2a8ae5c3fb
upgrade to use new logging
...
change stderror messages to ntfs_log_perror
2005-10-29 01:05:11 +00:00
cha0smaster
1ce16eddb7
minor cleanup
2005-10-27 20:42:10 +00:00
flatcap
8a584700c5
whitespace fixes - no code changes
2005-10-26 22:54:57 +00:00
flatcap
f4e427e91a
implement logging in libntfs
...
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
antona
0c293d0407
- Add API (actually renamed from what Rich/FlatCap did):
...
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
static const string of the libntfs verion, i.e. at the moment this is
"8.0.0". This required moving the version specifications from
libntfs/Makefile.am to configure.ac. This should hopefully have the
sideeffect that I will remember to increment it when incrementing the
ntfsprogs version number when making a release given the two are
right under one another. (Anton)
- Change ALL utilities to display the libntfs version they are running
on. This should make debugging easier in the case that people are
running mismatched utilities/library. (Anton)
2005-10-07 14:10:56 +00:00
antona
8db479a6b1
Patch from Christophe:
...
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
cha0smaster
3629d931c6
Fix resident attribute adding: Add @val to ntfs_attr_add and @val and @size to ntfs_resident_attr_record_add.
...
Still need to fix attribute lis entry adding. :-(
2005-09-16 14:28:18 +00:00
cha0smaster
0de66be9c0
ntfscp.c: fix bug intoduced by Anton in changeset 1.21
...
ntfsinfo: more info on index dumping
dir.c, layout.h: minor fixes
2005-07-25 22:05:27 +00:00
flatcap
7a142ef54c
got bored. don't read the diffs.
2005-07-06 22:47:01 +00:00
cha0smaster
1dce9cf4ea
NTFSCP: don't use printf inside signal handler.
2005-06-25 16:37:50 +00:00
cha0smaster
e5a90b161b
ntfscp: Fix signal handling.
2005-06-21 13:06:53 +00:00
antona
ca873f0474
Eeek. Someone did a commit just as I was about to commit so the commit
...
message was lost! )-:
Now again...
Monster commit from me due to lack of time. Sorry about that.
Features:
- Version to 1.10.0
- Update readme, etc ready for release.
- Update build system to suse linux 9.3 versions.
- Fix warnings appearing for me on suse 9.3 with --enable-warnings --enable-debug.
- Set attr_name to NULL in libntfs/attrib.c::__ntfs_attr_init() and fixup all
callers apropriately. Thanks to FlatCap/Rich for pointing this out.
- Determine endianness in ./configure and use that in addition to existing
mechanisms for determining endianness.
2005-06-20 14:31:30 +00:00
flatcap
949043ab36
Tidy whitespace: trailing space; <space><tab> at the beginning of lines
...
Fix warnings about sign differences
Fix warnings about unused parameters
Tidy a few functions that didn't have { on a new line
2005-06-19 21:09:40 +00:00
cha0smaster
e323ed6a03
Move utils_pathname_to_inode from to library (dir.c), adapt it for library, rename it to ntfs_pathname_to_inode, update all users.
2005-06-12 18:12:55 +00:00
cha0smaster
410432bc9d
- Fix bug in index.c pointed by Anton, many thanks to him.
...
- Small updates all over the place:
* NEWS
* ntfscp manual page
* ntfsinfo prints parent directory for FILE_NAME attribute
* year in ntfscp copyright
2005-06-05 23:48:55 +00:00
cha0smaster
4b000b3d13
- Implement FILE_NAME attributes update in index during inode sync and enable code that set/clean sparse bit. Also add new inode state bit FileNameDirty to indicate that FILE_NAME attributes need update. At least after attribute resize we leave absolutely consist volume.
...
- Bugfixes to collate.c and index.c.
- Minor formating fixed to ntfscp and ntfsinfo.
2005-06-05 14:55:08 +00:00
void!yura
1465436e8c
nftscp: add ability to specify directory as destination file
...
(Logical change 1.694)
2005-04-06 15:47:43 +00:00
void!yura
b8da6570e0
ntfscp: Added SIGINT (Ctrl+C) handler, improved error handling in
...
sync failed case. (Yura)
(Logical change 1.675)
2005-02-07 20:44:07 +00:00
void!yura
0a16746ca2
remove logfile reset
...
(Logical change 1.672)
2005-01-30 18:13:25 +00:00
void!yura
b03f4a6ec7
fix return value of ntfscp
...
(Logical change 1.668)
2005-01-27 13:53:02 +00:00
cantab.net!aia21
140a6d2479
Rename/move inode.[hc]::ntfs_inode_{add,rm}_attr() to
...
attrib.[hc]::ntfs_attr_{add,rm}(), respectively. (Anton)
(Logical change 1.646)
2004-12-22 14:22:09 +00:00
(none)!yura
377a40152c
small cleanup
...
(Logical change 1.625)
2004-11-05 13:54:34 +00:00
(none)!yura
f548a3a600
make it add attribute if it's not present
...
(Logical change 1.612)
2004-10-14 18:23:21 +00:00
(none)!yura
9af64b54ff
- Add --attibute, --attr-name and --inode attribute to ntfscp.
...
(Logical change 1.603)
2004-10-11 16:26:16 +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
(none)!yura
64fd09d1bd
ntfscp: Not longer update $FILE_NAME attributes, because Windows
...
doesn't update them unless a rename operation occur.
(Logical change 1.541)
2004-09-09 14:18:53 +00:00
(none)!yura
38a92b52ae
Make ntfscp update all $FILE_NAME attributes, not only first
...
(Logical change 1.535)
2004-09-08 11:39:55 +00:00
(none)!yura
52337e4d91
Made ntfscp update file size in $FILE_NAME(0x30) attribute
...
(Logical change 1.528)
2004-09-03 14:47:33 +00:00
!uv
fee4dcb145
Restore compile time dependencies at the appropriate level.
...
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
(none)!yura
d1ecde1e2d
Fix spelling
...
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura
1ce46a27b1
Initial revision
2004-07-30 13:00:24 +00:00
(none)!yura
6c71138294
(Logical change 1.465)
2004-07-30 13:00:24 +00:00