Erik Larsson
de22c98ec0
Removed the 'ntfs_home' string from utils.c/h since it was referring to Linux-NTFS and it was a duplicate symbol (an equivalent string exists in volume.c/h).
2010-12-19 15:11:28 +01:00
Erik Larsson
5a595b9585
Build fix for UUID code in mkntfs.
2010-12-19 09:42:54 +01:00
Erik Larsson
ef0190cbd7
Merge branch 'master' into libntfs-3g_port-edge
...
Conflicts:
configure.ac
libntfs/bootsect.c
libntfs/logging.c
ntfsprogs/ntfsmount.c
2010-12-19 09:06:45 +01:00
Erik Larsson
48c1a753fe
Removed the libntfs FreeBSD I/O layer.
...
This might be a good idea to import into libntfs-3g later to remove the dependency on external patches in FreeBSD (and Mac OS X when using raw devices).
2010-12-17 09:41:34 +01:00
Erik Larsson
58b40c8cf1
Deleted libntfs example crypto configuration file and removed the check for libconfig in configure.ac. (libconfig is not used in libntfs-3g.)
2010-12-17 09:37:19 +01:00
Erik Larsson
1edc6fbc9a
Removed 'libntfs' manpage. (We may want to create a 'libntfs-3g' manpage using this one as a template later.)
2010-12-17 09:31:34 +01:00
Erik Larsson
a432192b37
Removed libntfs' version of misc.c (unused).
2010-12-17 09:29:29 +01:00
Erik Larsson
b0760b6efa
Removed crypto.c/crypto.h which was an addition to libntfs that was unused by ntfsprogs.
2010-12-17 09:27:13 +01:00
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
e12b5f2c7f
ntfsclone manpage: Fixed typo 'clonning'.
2010-12-16 17:36:25 +01:00
Erik Larsson
cdc930e4bf
ntfsprogs manpage: Added a reference to the ntfs-3g manpage in the "SEE ALSO" section.
2010-12-16 17:36:12 +01:00
Erik Larsson
8deb6a323c
ntfsprogs manpages: Updated the link to where the package can be downloaded. It now points at " http://www.tuxera.com/community/ ".
2010-12-16 17:35:59 +01:00
Erik Larsson
64d5d4da1d
ntfsprogs manpages: Updated references to the 'ntfsprogs package' to reference the ntfs-3g package instead.
2010-12-16 17:35:48 +01:00
Erik Larsson
2188eab0a0
ntfsprogs manpages: Replaced all references to the linux-ntfs-dev mailing list with the ntfs-3g-devel mailing list.
2010-12-16 17:35:40 +01:00
Erik Larsson
2d8befcc07
ntfsprogs manpages: Changed 'ntfsprogs' reference in headers into 'ntfs-3g'.
...
The version number following 'ntfsprogs' is really the ntfs-3g version number, so the substitution seems appropriate.
2010-12-16 17:35:22 +01:00
Erik Larsson
dedaf225e3
Cleaned out a seemingly unused declaration from Makefile.am in ntfsprogs.
2010-12-16 17:35:14 +01:00
Erik Larsson
7287c05ff4
Made ntfsprogs compilation conditional and turned off by default. It is enabled with '--enable-ntfsprogs'.
2010-12-16 17:35:06 +01:00
Erik Larsson
f3a30779dd
Moved list.h into ntfsprogs and got rid of include/ntfs completely.
2010-12-16 17:34:47 +01:00
Erik Larsson
daa1f3edcd
Bugfixes for 'make extra'.
2010-12-16 10:08:34 +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
dd19736b9e
'include' and 'libntfs' TODO files are not applicable to ntfs-3g which uses libntfs-3g and not libntfs.
2010-12-16 10:01:13 +01:00
Erik Larsson
3c6497819f
These two files from ntfsprogs are not used by ntfs-3g (and will never be).
2010-12-16 10:01:04 +01:00
Erik Larsson
2634f01ef0
Cleaned out some .cvsignore files that came from ntfsprogs.
2010-12-16 10:00:56 +01:00
Erik Larsson
d35be909a4
Removed the 'doc' directory from ntfsprogs.
...
It contains interesting information but this information is available elsewhere and we want to stay as close to ntfs-3g as possible. No unnecessary added files.
2010-12-16 10:00:27 +01:00
Erik Larsson
7fbfe73dda
Removed libntfs-specific test code.
2010-12-16 10:00:07 +01:00
Erik Larsson
16dbcbec0c
Restored 'local' includes for all the ntfsprogs instead of using system includes (e.g. #include "yada.h" instead of #include <ntfs-3g/yada.h>).
2010-12-16 09:59:42 +01:00
Erik Larsson
639bd5475c
Fixed ntfsprogs/Makefile.am to link against internally built libntfs-3g.
2010-12-15 17:19:20 +01:00
Erik Larsson
02bab2956c
Merge remote branch 'linux-ntfs/libntfs-3g_port' into PERMISSION_HANDLING_BRANCH
...
Conflicts:
AUTHORS
COPYING
CREDITS
ChangeLog
Makefile.am
NEWS
README
autogen.sh
configure.ac
include/Makefile.am
2010-12-15 17:12:30 +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
d953fec34e
Increased patchstate version number.
2010-12-09 12:29:15 +01:00
Erik Larsson
7a95c46e3d
Bugfix for ntfs_mbstoucs_libntfscompat: Take the the \0 terminator into account when determining whether reallocing is necessary.
2010-12-09 12:17:11 +01:00
Erik Larsson
e81fd0ee2a
Important bugfix for ntfs_mbstoucs_libntfscompat: We reallocated too little memory.
2010-12-09 12:15:50 +01:00
Erik Larsson
9c581432cb
Important bugfix for ntfs_mbstoucs_libntfscompat: Typo in memcpy operation led to the wrong data being copied!
2010-12-09 12:14:13 +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
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
78b40e4b4c
mkntfs.c: Fixed two references to missing member 'guid' in 'ntfs_volume'.
2010-12-03 07:52:31 +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
9c0c2bf633
ntfsprogs/Makefile.am: Added libgcrypt's CFLAGS and LIBS when building ntfsdecrypt.
2010-12-03 07:50:47 +01:00
Erik Larsson
6bf6464aeb
Merge branch 'libntfs-3g_port' into libntfs-3g_port-v2_0_0
2010-12-02 22:40:15 +01:00
Erik Larsson
7b62a83286
utils.h: Added missing typedef leMFT_REF.
2010-12-02 22:39:06 +01:00
Erik Larsson
3ddcb40f23
ntfsdump_logfile.c: Removed unnecessary reference to unsupported mount option NTFS_MNT_FORENSIC. (The mount option is pointless as we are mounting the volume in read-only mode anyway.)
2010-12-02 22:37:23 +01:00
Erik Larsson
d52190c3cb
Fixed reference to deprecated utility 'libgnutls-config' in ntfsprogs' Makefile.am.
2010-12-02 22:37:16 +01:00
Erik Larsson
18789cdeaa
Replaced all occurrences of the libntfs mount flag NTFS_MNT_FORCE with the libntfs-3g mount flag MS_RECOVER.
...
Note: The NTFS_MNT_FORCE, in addition to what MS_RECOVER does, also bypasses the check for the 'dirty' bit in libntfs' ntfs_mount.
However, this check does not exist in libntfs-3g (libntfs-3g will not check or change the dirty bit, being confident that it can handle volumes marked as 'dirty'), so in essence the same behaviour is achieved with MS_RECOVER.
2010-12-02 22:37:06 +01:00
Erik Larsson
6ff5d3f8a7
Replaced all occurrences of the libntfs mount flag NTFS_MNT_RDONLY with the corresponding libntfs-3g mount flag MS_RDONLY.
2010-12-02 22:36:58 +01:00
Erik Larsson
665555491b
ntfsundelete.h: Added missing include 'utils.h'.
2010-12-02 22:36:46 +01:00
Erik Larsson
6b65b6024e
ntfscp.c: libntfs-3g has added an additional argument to ntfs_create (le32 securid). We pass 0 as 'securid' as this is what should be passed when there is no inheritable security descriptor.
...
This can of course be discussed. Maybe we should inherit something? From parent? I don't know enough about this.
2010-12-02 22:36:37 +01:00
Erik Larsson
2acadfd360
mkntfs.c: Fixed reference to 'guid' member of ntfs_volume which does not exist in libntfs-3g.
2010-12-02 22:35:20 +01:00
Erik Larsson
6b513b1c55
Replaced references to NVolSetWasDirty with appropriate substitutions.
...
libntfs (unlike libntfs-3g) sets the volume dirty bit automatically on ntfs_mount (if not already set) and also automatically clears the volume dirty bit on ntfs_umount (if it was not already set before mount). The 'WasDirty' flag is set to indicate that the volume was already dirty when it was mounted, so setting it means bypassing the 'clear dirty flag' behaviour on unmount (it does not mean 'set dirty flag on unmount').
NVolSetWasDirty is accordingly replaced with the actions that were intended:
- If the intention was to leave the dirty bit set on unmount, we explicitly set the bit if it is not already set.
- If the intention was to simply update the 'WasDirty' bit to be consistent with earlier changes, we just comment out the statement.
2010-12-02 22:34:45 +01:00
Erik Larsson
f5f3878a8e
Replaced all occurrences of the libntfs-specific NVolWasDirty macro with a test for the VOLUME_IS_DIRTY flag in vol->flags.
...
This is not a perfect conversion. The VOLUME_IS_DIRTY flag reflects the _current_ state of the volume dirty bit and not the mount-time state.
However, since libntfs-3g (as opposed to libntfs) does not automatically change the dirty bit on mount and unmount (only when ntfs_volume_write_flags is called explicitly), and these tests are done directly after a mount (ntfsclone.c, ntfscp.c, ntfsresize.c, ntfswipe.c, utils.c) or when the volume is in an appropriate state (ntfsfix.c), the result will be the same.
2010-12-02 22:34:35 +01:00