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
6922b7c8d0
Disabled installation of the remaining (internal) headers when doing a 'make install'.
2010-12-04 09:41:30 +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
f893a421c2
Removed libntfs-specific sources.
2010-12-02 16:37:09 +01:00
Jean-Pierre André
48caa7a45e
Took care of alignments needed on some processors
2010-11-09 09:43:31 +01:00
Jean-Pierre André
351aec3f7a
Enabled renaming of system extended attributes
2010-10-26 08:59:52 +02:00
Jean-Pierre André
1898b11481
Improved appending data to fragmented files
2010-10-26 08:59:51 +02:00
Jean-Pierre André
a92c57735b
Added an extended attribute name for creation time
2010-10-26 08:59:51 +02:00
Jean-Pierre André
13b578d9b1
Added a big endian extended attribute name for attrib and times
2010-10-26 08:59:51 +02:00
Jean-Pierre André
9c0e3a7b4e
Enabled use of fuse cacheing in lowntfs-3g under conditions
2010-10-26 08:59:51 +02:00
Jean-Pierre André
e1ef554dd2
Grouped system extended attributes functions into a dedicated module
2010-10-26 08:59:51 +02:00
Jean-Pierre André
1afaf16912
Implemented the sync mount option
2010-10-26 08:59:51 +02:00
Jean-Pierre André
ecbc2b9103
Implemented fsync() and fsyncdir()
2010-10-26 08:59:51 +02:00
Jean-Pierre André
dd4910b935
Forced alignment on cached structs
2010-10-26 08:59:51 +02:00
Jean-Pierre André
07e686a744
Made sure Posix ACLs are not padded by compiler
2010-10-01 10:38:35 +02:00
Jean-Pierre André
654568a1d1
Removed the signature of deprecated ntfs_file_values_compare()
2010-08-06 21:33:47 +02:00
Jean-Pierre André
09df7eade5
Fixed creating empty encrypted extended attributes
2010-07-22 14:46:01 +02:00
Jean-Pierre André
b1de6e16fb
Fixed compressed attribute made non resident to leave space for another one
2010-06-18 14:02:58 +02:00
Jean-Pierre André
15c4d282ce
Enable/disable compression according to option
2010-06-03 10:11:42 +02:00
Jean-Pierre André
a192775e2a
developed overwriting compressed files
2010-05-25 10:25:31 +02:00
Jean-Pierre André
693aa8780d
enabled case insensitive file names in lowntfs-3g
2010-05-25 10:12:44 +02:00
Jean-Pierre André
2e86428fc0
redefined a default user mapping (a few changes in mount options)
2010-05-25 10:05:10 +02:00
Jean-Pierre André
3745d0a1e3
marked files whose name has a dot initial as "hidden" if option hide_dot_files
2010-05-25 09:58:36 +02:00
Jean-Pierre André
74134fc76d
fixed alignment of cached data
2010-05-25 09:49:52 +02:00
Jean-Pierre André
84c93479d8
fixed a compilation issue with uClibc
2010-04-19 10:53:31 +02:00
jpandre
31abc47c7c
Secured against use of external fuse not patched for UTIME_NOW
2010-01-16 09:35:24 +00:00
jpandre
da39179421
Merged Anton's patch for $TXF_DATA attribute
2010-01-08 11:15:46 +00:00
jpandre
d78add4e8f
Developed time stamping up to 100ns resolution
2010-01-04 08:24:44 +00:00
jpandre
393af928d9
Prevented TXF_DATA attribute from being made non-resident
2010-01-04 08:07:29 +00:00
jpandre
800ffca71a
Relocated fuse flags (avoid alignment)
2010-01-04 08:02:59 +00:00
jpandre
17a629229d
Developed selective timestamp setting for utimensat(2)
2009-12-23 14:51:07 +00:00
jpandre
9f92518396
Grouped permission mode setting in the parameter file
2009-12-18 10:31:42 +00:00
jpandre
9dd9daeb6d
Implemented low-level interface to fuse
2009-12-18 08:43:45 +00:00
jpandre
6072a95591
Cached looked-up inodes for subsequent use
2009-12-18 08:27:05 +00:00
jpandre
d75f69d80e
Cached inode data for subsequent use
2009-12-18 08:12:23 +00:00
jpandre
41a371f4a7
Redesigned caches for indexing cached entries
2009-12-17 17:36:06 +00:00
jpandre
7c88ccb95b
Grouped parameters affecting the global behavior in a specific file
2009-12-17 15:24:02 +00:00
jpandre
c1adbc1787
Implemented getting/setting/removing object ids
2009-12-17 09:07:56 +00:00
jpandre
d990f7996c
Changed the interfaces to use extended attributes
2009-12-17 08:24:13 +00:00
jpandre
7bea2202d7
Made direct calls to collation functions
2009-12-16 10:20:57 +00:00
jpandre
195945cdc0
Evaluated file names collations in a single parsing
2009-12-16 09:45:28 +00:00
jpandre
2f8ced2ddd
Kept junctions points absolute or relative as specified
2009-12-15 09:25:36 +00:00
jpandre
c5c51ec1fe
Simplified interfaces for checking permissions
2009-12-14 17:23:12 +00:00
jpandre
758a99ea87
Avoided double copy of dir when closing a file in an open dir
2009-12-10 10:04:53 +00:00
jpandre
20fb2395fd
Simplified tracking of forced time stamps
2009-11-26 13:34:42 +00:00
jpandre
a75724fea8
Fixed a few misleading endianness types
2009-11-24 14:18:53 +00:00
jpandre
3af7bebe7b
Mac OS X Unicode normalization form conversion (Erik Larsson)
2009-11-05 11:40:44 +00:00
jpandre
b78d895575
Added indexing of reparse data into $Extend/$Reparse
2009-11-03 14:35:53 +00:00
szaka
b3cbe9e4bd
remove unused version.c version.h
2009-10-04 02:02:04 +00:00
szaka
34ac269f49
add missing fuse-lite files
2009-10-03 07:19:30 +00:00
jpandre
b46c8daad5
Enabled Posix ACLs with older kernels
2009-09-18 19:40:59 +00:00
jpandre
c085f70be1
Developed the removal of a DOS name
2009-08-14 14:46:46 +00:00
jpandre
b725b77e88
Inserted conditions on fuse patches to avoid constraints on older kernels
2009-07-30 13:11:50 +00:00
jpandre
5e650c0c91
Developped getting and setting NTFS times
2009-07-09 15:20:14 +00:00
jpandre
06e553b04d
Fixed permissions of created files when parent directory has a default ACL
2009-07-04 19:14:56 +00:00
jpandre
9a4672ca65
Developped getting and setting DOS names (short 8+3 names)
2009-07-01 19:45:59 +00:00
jpandre
3ddbce3ea6
Changed conditions to activate protection modes
2009-07-01 19:35:04 +00:00
jpandre
f259fb44df
Improved cluster allocation on volumes too filled
2009-07-01 19:16:33 +00:00
jpandre
c79b3777ca
Implemented backup/restoring of encrypted files (by Martin Bene)
2009-05-20 14:17:31 +00:00
jpandre
d898b64a04
Changed interface for translating permissions to avoid a version dependency
2009-04-10 07:10:04 +00:00
jpandre
2fbaecd759
Extended transparent compression support to sequential writing to compressed files
2009-04-03 13:33:24 +00:00
jpandre
2a1d75a3da
Adapted to ntfs-3g.2009.3.8
2009-03-27 09:10:00 +00:00
jpandre
a13ee0c82c
Fed the free spaces in context for calls from security API
2009-03-27 08:36:07 +00:00
jpandre
aa54558345
Fixed wrong size (quota_charged, usn)
2009-03-23 16:09:24 +00:00
jpandre
ddfb2175a9
Improved creating gaps in sparse files
2009-02-13 10:37:53 +00:00
jpandre
93b695f1cc
Adapted to ntfs-3g-2009.2.1
2009-02-12 20:32:21 +00:00
jpandre
2dc7362ba9
Improved computation of runlist for fragmented files O(n) instead of O(n*n)
2009-02-03 17:12:04 +00:00
jpandre
11216c6942
Adapted to ntfs-3g-2009.1.1
2009-01-23 11:11:44 +00:00
jpandre
9b996d31b9
Relocated code for setting/retrieving NTFS attribs
2009-01-17 08:37:17 +00:00
jpandre
ca6466c6bb
Mapped a few NTFS internal data to extended attributes
2009-01-05 13:56:05 +00:00
jpandre
d3f3a19866
Adapted to ntfs-3g.1.5222-RC
2009-01-05 13:28:06 +00:00
szaka
50702ea690
add --disable-posix-acl configure option
2008-12-06 12:34:37 +00:00
jpandre
6faf38df12
Adapted to ntfs-3g.1.5130
2008-12-01 15:29:23 +00:00
jpandre
c4c3c8f90f
Fixed inclusion of two functions whatever ACL option selected
2008-12-01 15:07:49 +00:00
jpandre
ee37dcab6d
Interpreted symbolic links created by Vista as symbolic links
2008-11-26 15:57:20 +00:00
jpandre
751483b465
Inserted the new files reparse.c and reparse.h in the build process
2008-11-04 13:39:02 +00:00
jpandre
33bccc53c9
Implemented an interpretation of junction points
2008-11-02 09:14:57 +00:00
jpandre
cbca88095d
Fixed type of argument for file creation
2008-09-21 17:27:21 +00:00
jpandre
e5286c09d6
Adapted to ntfs-3g.1.2926-RC
2008-09-19 13:39:38 +00:00
jpandre
f857740a4d
Renamed inode_cache to xinode_cache for easier reference
2008-09-19 13:27:55 +00:00
jpandre
a675f60863
Declared mapping data as const in a few interfaces
2008-09-09 15:26:38 +00:00
jpandre
cb59654f39
Implemented an extended attribute interface to get/set NTFS ACLs
2008-09-01 16:24:54 +00:00
jpandre
6bfd3ed546
Fixed a stupid name prefixing
2008-08-30 10:31:40 +00:00
jpandre
fd60178d8f
Made possible to mention root as a designated user or group
2008-08-27 08:35:53 +00:00
jpandre
d3da724466
Redefined the options to activate the levels of permissions checking
2008-08-25 09:11:43 +00:00
jpandre
13552eba52
Integrated full utf-8 to utf-16le conversions, based on code by Berhard Kaindl
2008-08-21 12:04:51 +00:00
jpandre
62780e137b
Cleaned and fixed endianness conversions
2008-08-21 11:02:35 +00:00
jpandre
713e6349c8
Redefined the options to activate the levels of checking
2008-08-21 10:42:03 +00:00
jpandre
7f42da0b07
Reorganized and split the security source file, a few interfaces changed
2008-08-21 10:27:46 +00:00
jpandre
6a47056d18
Merged the Posix ACL code, now it is a compile-time option
2008-08-21 10:08:20 +00:00
jpandre
499e106341
Adapted to ntfs-3g.1.2812
2008-08-16 15:17:47 +00:00
jpandre
ca9e62559a
Added entries in security API to process user mappings and Win32 attribs
2008-08-16 15:15:28 +00:00
szaka
a6d8c6b1a6
new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
...
and convert the most commonly used functions
2008-06-30 00:13:23 +00:00
szaka
1098244bbf
copyright update
2008-06-29 23:13:32 +00:00
jpandre
7c05f13884
Adapted to ntfs-3g-1.2531
2008-05-30 07:40:22 +00:00
szaka
5e1c95de2c
fix packaging: always distribute headers (Alon Bar-Lev)
2008-05-20 19:35:37 +00:00
szaka
6a59ac3583
fix: support build in a separate directory (Alon Bar-Lev)
2008-05-19 17:40:34 +00:00
jpandre
5e30e6f204
Extended cacheing to any variable type
2008-04-17 13:26:52 +00:00
jpandre
b929b94aaa
Fixed trailing '/' circumstances and simplified path normalization
2008-04-17 10:26:15 +00:00
szaka
69423166cb
fix: symlink failed or the size was truncated at modulo 256 if the target was over 255 bytes
2008-04-02 10:29:22 +00:00
szaka
2f85653372
Fix build. libfuse-lite and include/fuse-lite must be symlinks to the
...
respective fuse lite directories.
2008-03-28 22:26:24 +00:00
jpandre
e4a835076a
Updating the source directory tree
2008-03-28 14:42:50 +00:00
jpandre
be365af93b
Made implicit user mapping more general and improved checks
2008-03-12 16:15:52 +00:00
jpandre
3fb950c590
Implemented dynamic groups and a generic user mapping
2008-03-11 15:36:40 +00:00
jpandre
53fa335624
Adapted to ntfs-3g.1.2310
2008-03-10 15:35:54 +00:00
jpandre
8cc3d7d7b2
Improved consistency checks related to $Secure
2008-03-06 11:26:23 +00:00
jpandre
a38b79897d
Adapted to ntfs-3g.1.2216
2008-02-18 15:15:13 +00:00
jpandre
427c0dc48f
Adapted to ntfs-3g-1.2129
2008-01-30 11:03:22 +00:00
jpandre
2ff8218406
Adapted to ntfs-3g-1.2121-RC
2008-01-23 08:16:23 +00:00
jpandre
31d414ca1d
Implemented an option to designate a user mapping file
2008-01-15 17:41:46 +00:00
jpandre
038156ba82
Reengineered LRU caches, made generic, and applied to finding inode numbers
2008-01-10 17:32:55 +00:00
jpandre
59a21e6110
Reengineered permissions cache
2007-12-13 09:14:51 +00:00
jpandre
0f40622012
Developped processing of static supplementary groups
2007-12-07 20:07:17 +00:00
jpandre
d78230bb7f
Fixed audit functions
2007-11-24 09:25:22 +00:00
jpandre
1e8eed2e92
Adjusted to v 1.1120
2007-11-20 10:58:22 +00:00
szaka
906637db9e
posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits)
2007-11-13 00:11:51 +00:00
jpandre
7f9fd9f4ea
Reorganized file creation to avoid temporary settings (continued)
2007-10-31 07:29:56 +00:00
jpandre
a8dc8655d0
Adjusted to v 1.1030
2007-10-29 16:28:33 +00:00
jpandre
b31b4cb124
Returned the securid and size even if short buffer in security API
2007-10-24 06:37:52 +00:00
jpandre
0c15d089ef
Implemented cache extension for legacy directories
2007-10-20 12:40:22 +00:00
jpandre
a597c1c608
Implemented special protection modes : sticky, setuid, setgid
2007-10-19 15:18:55 +00:00
jpandre
6886650afc
Fixed several endianness errors
2007-10-19 07:16:21 +00:00
jpandre
86084908e2
Reorganized ACL inheritance to allow inheritance in directories with a
...
2007-10-18 14:56:18 +00:00
jpandre
5c1d979b88
Defined interface to a function giving next entry in an index
...
2007-10-12 12:53:06 +00:00
jpandre
3d52f33763
Added a field for security options
2007-10-12 12:51:03 +00:00
jpandre
eb1839d187
Defined a security API
...
2007-10-12 12:49:58 +00:00
jpandre
a8a33f0bc3
Reverted back relay for free() and consequences on const ptrs
2007-10-09 13:33:11 +00:00
jpandre
44326c40b7
reverted back relay for free()
2007-10-09 13:27:35 +00:00
jpandre
728a9c1aad
added a ntfs_free(const void*)
2007-10-09 07:40:53 +00:00
jpandre
f5b7ac0905
Cleaned code
...
2007-10-09 07:32:12 +00:00
jpandre
78c14e05a8
Cleaned code (added a few const to arguments where useful)
2007-10-09 07:30:40 +00:00
szaka
4206ceddce
fix warnings
2007-10-08 22:03:31 +00:00
jpandre
fe10799d0f
New fields to store handles to $Secure
...
2007-10-06 14:32:12 +00:00
jpandre
006d0aad79
New structs for two-way cacheing
2007-10-06 14:27:25 +00:00
jpandre
7006a9452c
Fixed and improved comments
2007-09-28 06:59:53 +00:00
jpandre
99b4aba970
*** empty log message ***
2007-09-27 13:29:52 +00: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
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
673c23d74a
libntfs: Cache opened attributes.
2007-09-20 15:35:43 +03:00
Yura Pakhuchiy
c0e8e211f3
libntfs: Cache opened inodes.
2007-09-20 14:00:55 +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
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
szaka
a97c661efe
statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits)
2007-09-12 20:51:06 +00:00
Yura Pakhuchiy
9cd3246db7
cleanup
2007-09-11 20:56:34 +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
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
szaka
c9172f66cf
add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov)
2007-09-02 12:38:29 +00:00
szaka
921457fd65
add ntfs_rol32 and ntfs_ror32
2007-09-02 12:36:33 +00:00
szaka
3ef37024df
remove unused list.h header file
2007-09-01 11:28:43 +00:00