Erik Larsson
bcdc76f12d
Merge remote branch 'linux-ntfs/libntfs-3g_port-v2_0_0' into PERMISSION_HANDLING_BRANCH
...
Conflicts:
.cvsignore
AUTHORS
CREDITS
ChangeLog
NEWS
README
TODO.libntfs
autogen.sh
configure.ac
include/ntfs/Makefile.am
libntfs-3g/misc.c
libntfs/Makefile.am
libntfs/gnome-vfs-method.c
libntfs/gnome-vfs-module.c
ntfsprogs.spec.in
ntfsprogs/.cvsignore
ntfsprogs/mkntfs.c
ntfsprogs/ntfscat.8.in
ntfsprogs/ntfsclone.c
ntfsprogs/ntfscp.8.in
ntfsprogs/ntfsinfo.c
ntfsprogs/ntfsprogs.8.in
ntfsprogs/ntfsresize.c
ntfsprogs/ntfsrm.c
ntfsprogs/ntfsundelete.h
ntfsprogs/upcase.c
ntfsprogs/utils.c
test/Makefile.am
2010-12-17 09:04:01 +01:00
Erik Larsson
5a41022810
Removed the libntfs-gnomevfs module as it does not seem reasonable to keep maintaining it in ntfs-3g.
2010-12-16 10:08:27 +01:00
Erik Larsson
3efdd4cf0b
Merge remote branch 'linux-ntfs/libntfs-3g_port' into ntfsprogs_merge.redo
...
Conflicts:
configure.ac
2010-12-16 10:04:22 +01:00
Erik Larsson
2634f01ef0
Cleaned out some .cvsignore files that came from ntfsprogs.
2010-12-16 10:00:56 +01:00
Erik Larsson
f9c7a548c7
Removed tree.h/tree.c as it was only referenced by the 'rich' code.
2010-12-15 13:43:38 +01:00
Erik Larsson
066ef925b3
Changed references to libntfs in libntfs-gnomevfs.8.in, now reflecting that libntfs-3g is the underlying library and that libntfs is not included with this version of ntfsprogs.
2010-12-04 09:39:19 +01:00
Erik Larsson
86eb7504eb
gnome-vfs-method.c: Fixed one occurrence of NTFS_MNT_RDONLY.
2010-12-03 07:51:56 +01:00
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
ce6a516a56
Removed the 'rich' functionality including the ntfsrm tool.
...
This change should be reverted once the 'rich' stuff is ported to libntfs-3g, but right now it seems like too much work.
2010-12-02 17:10:57 +01:00
Erik Larsson
a0ee1d225d
Redirected libntfs includes in gnome-vfs-method.c to libntfs-3g. (And fixed Makefile.am accordingly.)
2010-12-02 16:38:39 +01:00
Erik Larsson
f893a421c2
Removed libntfs-specific sources.
2010-12-02 16:37:09 +01:00
Yura Pakhuchiy
eb8307dac3
Add libntfs sample config to EXTRA_DIST
2007-09-29 01:09:10 +03:00
Yura Pakhuchiy
2d645bae53
Apply latest CVS on top. I will rewrite history properly later.
2007-09-27 16:36:53 +03:00
Yura Pakhuchiy
2b1ef811e6
Add NTFS_MNT_INTERIX mount option to make libntfs recognize Interix files.
...
At present it influence only on ntfs_filldir(), but we can have ntfs_stat() and
other functions on which it will make more influence later.
2007-09-27 15:58:42 +03:00
Yura Pakhuchiy
c0005bfa0f
Add libntfs man page to build system
2007-09-26 22:51:41 +03:00
Yura Pakhuchiy
a92649480c
Add man-page for libntfs
2007-09-26 22:41:28 +03:00
Yura Pakhuchiy
1b5fb2693c
Introduce NTFS_ON_DEBUG macro to add one-liners which would be executed only if DEBUG is defined.
...
And use it to shut up valgrind crying about writing of unitialized buffer (we do not initialize part of attribute list left for padding)
2007-09-24 19:21:16 +03:00
Yura Pakhuchiy
36b8f621f9
libntfs: Sync and warn about not closed inodes in ntfs_umount
2007-09-23 00:36:18 +03:00
Yura Pakhuchiy
72ae9ade7e
ntfs_delete: Add sanity check for case when user tries to delete inode with several references
2007-09-22 23:19:09 +03:00
Yura Pakhuchiy
dcf72f1315
ntfs_inode_close: Document that @ni can be NULL.
2007-09-21 18:43:05 +03:00
Yura Pakhuchiy
673c23d74a
libntfs: Cache opened attributes.
2007-09-20 15:35:43 +03:00
Yura Pakhuchiy
038fea1b5b
Cleanup
...
We calloc() buffer for attribute, but better always set na->crypto to NULL
explicitly just for any case
2007-09-20 14:21:58 +03:00
Yura Pakhuchiy
c0e8e211f3
libntfs: Cache opened inodes.
2007-09-20 14:00:55 +03:00
Yura Pakhuchiy
dc4e093df0
Fix stupidness because of which we always wrote out MFT record on close
2007-09-18 23:08:21 +03:00
Yura Pakhuchiy
d6dc40150f
formatting
2007-09-18 22:57:19 +03:00
Yura Pakhuchiy
e5690b57d4
Allow mounting volumes with non-clean logfile with force mount option.
...
Volume left dirty upon umount. So, this is equal to running ntfsfix and then mounting with force option.
2007-09-16 00:15:46 +03:00
Yura Pakhuchiy
bf3a7442eb
ntfs_attr_pwrite: Write 4096 bytes blocks when possible. (David Fox, Szaka, Anton, Yura)
2007-09-15 23:09:20 +03:00
Yura Pakhuchiy
57cc7904c9
cleanups (Szaka)
2007-09-15 17:31:39 +03:00
Yura Pakhuchiy
5e4341c0ac
Do not refuse mount if there is garbadge in hiberfil.sys file. (Szabolcs Szakacsits)
2007-09-14 13:09:14 +03:00
Yura Pakhuchiy
e248e6b986
Make libntfs keep track number of free clusters and MFT records.
...
Thanks for idea to David Fox and Szabolcs Szakacsits.
2007-09-14 12:59:55 +03:00
Yura Pakhuchiy
f5b9888eb6
formatting
2007-09-13 23:05:18 +03:00
Yura Pakhuchiy
e9f9d9905f
Cleanup
2007-09-13 16:07:48 +03:00
Yura Pakhuchiy
3b99cee600
Fix directory corruption in index code. (Szaka)
...
TODO/FIXME: This hardly readable code definitely needs rewrite. Take index.c from 1.13.1 and implement all properly.
2007-09-11 16:58:01 +03:00
Yura Pakhuchiy
cc166f9f42
ntfs_readdir, ntfs_fuse_filler: return with error if FUSE filler failed. (Szaka)
2007-09-10 21:21:39 +03:00
Yura Pakhuchiy
a1103ccd61
Fix syslog logging handler to take in respect all logging flags.
...
This makes ntfs_log_perror, ntfs_log_trace, etc., behave correctly when
beeing used with it.
2007-09-10 18:38:29 +03:00
Yura Pakhuchiy
54d7899368
Workaround windows defragmentation tool bug.
...
Windows defragmentation tool do not update name offset correctly for unnamed
attributes, but chkdsk do not like when it negative, so do not change it at all
if it would become negative. (Szaka)
2007-09-07 15:50:29 +03:00
Yura Pakhuchiy
82df6c1fea
Rework time updates
...
- Library no longer perform time updates, only provide API for this
- Remove ntfs_inode_update_{a,}time() and introduce ntfs_inode_update_times()
- Make ntfsmount properly update times
- ntfs_delete() now takes pointer to pointer to ntfs_inode for while to delete and closes inode only in cases no more hard links left to file
2007-09-06 18:34:38 +03:00
Yura Pakhuchiy
a1124ce7f4
Fix recent denial of __ntfs_create in reparse point
2007-09-06 18:11:53 +03:00
Yura Pakhuchiy
9f51bdfd05
Catch and deny all junction/reparse point write operations. (Szaka)
2007-09-05 21:19:53 +03:00
Yura Pakhuchiy
7d6a8f2767
ntfs_ie_add(): cleanup (Szaka)
2007-09-05 21:00:16 +03:00
Yura Pakhuchiy
aec646eebc
Do not force debug output to be always shown even if --enable-debug specifiend during configure. Let user choose in runtime.
2007-09-05 16:47:03 +03:00
Yura Pakhuchiy
4679daa0af
Fix hole instantiating and new API ntfs_rl_fill_zero
...
Thanks to Szaka for finding this bug and idea of factoring out zero filling code.
2007-09-05 16:38:51 +03:00
Yura Pakhuchiy
219d353226
Fix corner case in hole instantiating in ntfs_attr_pwrite(). (Szaka)
2007-09-04 17:20:13 +03:00
Yura Pakhuchiy
95b044cff3
Small enchantments and cleanups from ntfs-3g
2007-09-03 19:51:13 +03:00
Yura Pakhuchiy
3b64a5a512
trailing spaces
2007-09-03 19:39:24 +03:00
Yura Pakhuchiy
c0b691ca17
Merge --enable-debug and --enable-debug-logging. Introduce --enable-sparse.
2007-08-22 21:29:19 +03:00
Yura Pakhuchiy
391929cff3
Export NTFS_EFS string
2007-08-22 19:31:24 +03:00
Yura Pakhuchiy
ad0c5f59c9
Transparently integrate reading of encrypted files into library
...
This adds crypto.[ch], several exported functions that you are not interested
to use and dependency on >=libconfig-1.0.1 to read list of PFX files with keys.
See libntfs/config for example configuration file.
2007-08-22 16:55:57 +03:00
Yura Pakhuchiy
09affc5d42
Whitespaces cleanup
2007-07-31 20:52:36 +03:00
Yura Pakhuchiy
ea4d352f7e
Fix sparse warnings from git HEAD version
2007-07-21 22:01:57 +03:00