Commit Graph

210 Commits (8892ba7ac62b37ba6d49262a0ec64fe38c4989e1)

Author SHA1 Message Date
flatcap 7a142ef54c got bored. don't read the diffs. 2005-07-06 22:47:01 +00:00
cha0smaster cb13f36956 Fix typos, patch from debian version of nftsprogs 1.9.4-2. 2005-07-05 16:34:15 +00:00
cha0smaster 3727a729c2 - Add new utility - ntfsmount. It's a FUSE module that rely on libntfs. So,
you need FUSE to compile it, xattr is also highly recommended. This module
support file overwrite changing it size and can list/read/write/add/remove
named data streams via xattr interface.
- Update auto{make,conf} stuff respectively.
2005-07-03 00:18:37 +00:00
cha0smaster 3adc040305 Add change protype of ntfs_attr_pwrite: make @b const. 2005-07-02 19:16:18 +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 5becfe6c30 - Fix build without config.h.
- Fix gcc4 very large warning in ntfsrm.
2005-06-16 23:16:32 +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 b1dfa2b306 - Fix memleak in ntfs_attr_pwrite
- Update layout.h a bit to be a kernel driver like.
2005-06-12 15:23:25 +00:00
cha0smaster 676d8782e8 - Update attribute definition handling. (Anton, Yura) 2005-06-09 22:09:39 +00:00
flatcap 554b27dd47 ignore built/generated files 2005-06-09 09:05:30 +00:00
antona 1aeb91827c Update build for changes to function detection in configure.ac. 2005-06-06 14:31:37 +00:00
antona 26945d1e81 Add some offset comments. 2005-06-05 20:06:45 +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
cha0smaster 048a1857be Fix some bugs and warnings in code that I commited tonight. 2005-06-04 15:20:00 +00:00
cha0smaster 2d8dc1736d - Port collate.[ch] from kernel to library and implement

							
						
2005-06-04 00:57:58 +00:00
szaka 16ffe6063d - remark that Longhorn uses the same NTFS 3.1 format as XP and W2K3 2005-05-10 16:44:58 +00:00
cantab.net!aia21 ac13794c54 Update with SUSE 9.3 build tools.
(Logical change 1.696)
2005-04-19 12:00:26 +00:00
elisa-laajakaista.fi!szaka e9159478ea ntfsfix: use getopt, added --help and --version, some output cleanup
(Logical change 1.679)
2005-02-19 19:34:37 +00:00
void!yura 3b95cca52c Export functions from logfile.c.
(Logical change 1.666)
2005-01-25 21:41:25 +00:00
void!yura ce10af07a3 Add LogFileEmpty to volume flags.
(Logical change 1.666)
2005-01-25 21:41:25 +00:00
void!yura 39e6fa1339 Add logfile.c to build
(Logical change 1.665)
2005-01-25 19:46:51 +00:00
void!yura 954c8d121e change prototypes of ntfs_write_significant_bytes and
ntfs_mapping_pairs_build to fix a lot of compiler warnings.

(Logical change 1.660)
2005-01-17 11:58:33 +00:00
void!yura a82280f235 offsetof already defined in stddef.h in gcc4, so add check to prevent redefinition.
(Logical change 1.658)
2005-01-17 11:46:32 +00:00
(none)!yura fdfb1ea71a Fix bug that I introduced in changeset 1.495 sle{16,32,64} should be u{16,32,64} not s{16,32,64}.
(Logical change 1.657)
2005-01-13 17:02:06 +00:00
(none)!yura 1be3d9fe66 Update logfile.h to be sync with kernel. Update ntfsdump_logfile accordingly.
(Logical change 1.656)
2005-01-13 15:55:15 +00:00
(none)!yura 925de23711 add {s,}le{16,32,64} and le{VCN,LCN,LSN} to include/ntfs/types.h
(Logical change 1.655)
2005-01-13 15:32:14 +00:00
cantab.net!aia21 a05c3cc3e1 Update to more recent build tools.
(Logical change 1.654)
2005-01-13 09:56:56 +00:00
(none)!yura 14db887f8e Rename NTFS_SECTOR_SIZE to NTFS_BLOCK_SIZE to keep in sync with kernel driver.
(Logical change 1.653)
2005-01-11 20:28:28 +00:00
(none)!yura 8d8b53331f Fix error message in NAttrSet##flag: should not be called for not data attributes.
(Logical change 1.649)
2004-12-22 16:34: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
cantab.net!aia21 db7c9da42f Move NAttr{Sparse,Compressed,Encrypted} to inode struct preserving
the previous interface.  (Yura, with fixes from Anton)

(Logical change 1.645)
2004-12-22 14:04:41 +00:00
cantab.net!aia21 003b867d71 Update build for change to configure.ac.
(Logical change 1.644)
2004-12-17 14:41:57 +00:00
(none)!yura e2ba16e3db Add @extra parameter to ntfs_attr_record_move_away. New attribute record
holder must have free @extra bytes after moving attribute record to it.

(Logical change 1.639)
2004-11-21 11:13:09 +00:00
(none)!yura a6258ef736 Rename layout.h::ATTR_RECORD::{compressed_non_,non_,}resident_attr_end
to more shorter {non_,}resident_end and compressed_end.

(Logical change 1.637)
2004-11-21 10:53:22 +00:00
(none)!yura 9a7dd7f07b Add prototypes.
(Logical change 1.632)
2004-11-12 17:09:24 +00:00
(none)!yura 1c283737c5 Change prototype of ntfs_cluster_alloc like in kernel driver.
(Logical change 1.628)
2004-11-05 20:02:16 +00:00
(none)!yura 3cb8b787bd - Remove attrlist.[ch]::ntfs_attrlist_set because it was very bad idea to separate it from ntfs_attrlist_entry_{add,rm}.
- Update ntfs_attrlist_entry_{add,rm} and ntfs_inode_add_attrlist to work without it.
- Some other fixes, improvements and cleanups.

(Logical change 1.615)
2004-10-17 15:56:39 +00:00
(none)!yura 38c81c83f2 add ntfs_inode_rm_attr prototype
(Logical change 1.613)
2004-10-15 11:38:45 +00:00
(none)!yura af2b917b4c add prototype
(Logical change 1.612)
2004-10-14 18:23:21 +00:00
(none)!yura 488e4b5d30 move ntfscp from extra to standard program set
(Logical change 1.607)
2004-10-12 20:05:02 +00:00
(none)!yura 419e3ce8b7 Remove inode.h::NIno{Clear,Set,}AttrListNonResident and attr_list_rl field from inode.h::_ntfs_inode struct. Adapt all users.
(Logical change 1.600)
2004-10-11 09:16:35 +00:00
(none)!yura a9ba7534a1 - add prototypes
(Logical change 1.599)
2004-10-10 17:20:48 +00:00
(none)!yura daad6adcea - add prototype
(Logical change 1.599)
2004-10-10 17:20:48 +00:00
(none)!yura db92f7bfbf - add new 0 length fields to ATTR_RECORD, they can be used to get size of attribute
(Logical change 1.599)
2004-10-10 17:20:48 +00:00
(none)!yura a929f9f0ba Update.
(Logical change 1.592)
2004-10-07 14:04:09 +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 4b95d5ce3e Add ntfs_attr_update_mapping_pairs prototype.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura 746c36a4be Add new helper ntfs_attrlist_mark_dirty.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura c78630e1dd Add prototype.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura 52300dca77 - add tfs_inode_add_attrlist prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 756a0a84ca - add ntfs_resident_attr_record_add prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 5dee144063 - add ntfs_attrlist_set prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
cantab.net!aia21 3415c47df1 Add NInoAttrListTestAndSetDirty() and TestAndClearDirty().
(Logical change 1.573)
2004-09-20 15:27:55 +00:00
cantab.net!aia21 a70e770622 - Add new API unistr.[hc]::ntfs_ucsndup(). (Anton)
(Logical change 1.570)
2004-09-20 14:46:38 +00:00
(none)!yura cc15a37332 Export ntfs_make_room_for_attr, ntfs_non_resident_attr_record_add and ntfs_attr_record_rm.
(Logical change 1.568)
2004-09-19 19:30:37 +00:00
(none)!yura dc152cd323 - remove mref from ntfs_attrlist_entry_add prototype
(Logical change 1.562)
2004-09-17 16:07:04 +00:00
cantab.net!aia21 8dde1ae7ba Add offsetof() macro.
(Logical change 1.561)
2004-09-16 22:43:10 +00:00
cantab.net!aia21 e74eeb2c0b Update ntfs_mft_record_alloc() prototype to reflect reality.
(Logical change 1.551)
2004-09-13 14:44:01 +00:00
cantab.net!aia21 b766a97941 Export ntfs_inode_allocate().
(Logical change 1.550)
2004-09-13 14:39:50 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
(none)!yura d7f49f5880 added prototype for ntfs_attrlist_entry_add
(Logical change 1.546)
2004-09-12 11:00:06 +00:00
cantab.net!aia21 fe4fd6b59e Fix silly porting typo.
(Logical change 1.542)
2004-09-09 14:27:59 +00:00
cantab.net!aia21 a085e4b501 Update build to SuSE 9.2 beta 1 tools (autoconf,automake,libtool,...).
(Logical change 1.540)
2004-09-09 13:57:31 +00:00
cantab.net!aia21 cbbd254b20 Export ntfs_attr_record_resize.
(Logical change 1.539)
2004-09-09 13:56:46 +00:00
cantab.net!aia21 44fa8df74b Add ntfs_volume->sb pointer for kernel porting easyness (it is really only
for benefit of being able to call ntfs_error(vol->sb, blah...);

(Logical change 1.538)
2004-09-09 07:54:06 +00:00
cantab.net!aia21 d6fc63d0b1 Add ntfs_debug() and ntfs_error() to make kernel<->userspace porting easier.
(Logical change 1.538)
2004-09-09 07:54:06 +00:00
cantab.net!aia21 06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +00:00
cantab.net!aia21 453d87b43f Update for 1.9.3 release.
(Logical change 1.520)
2004-09-03 09:30:16 +00:00
flatcap.org!ntfs 6de75e1f2b keep track of $Bitmap and $MFT/$BITMAP
(Logical change 1.512)
2004-08-20 17:27:24 +00:00
!uv 083aac380c Resolve #include collusions by using #ifndef.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv dc9c44c798 Reduce compile time dependencies.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
cantab.net!aia21 39b62e050e Move Sprintf,Dputs,Dprintf,Dperror to be defines and call proper
non-inlined functions which are now in debug.c.

(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21 df05fa02ef Add Sprintf().
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
flatcap.org!ntfs bd8a6667cf ref count inodes
2004/08/10 16:19:44+01:00 flatcap.org!ntfs
add private data to ntfs inode

(Logical change 1.493)
2004-08-12 09:23:53 +00:00
flatcap.org!ntfs d05efe5a75 add private data to ntfs volume
(Logical change 1.493)
2004-08-12 09:23:53 +00:00
(none)!yura 3abf487908 add ntfs_clster_free_from_rl prototype
(Logical change 1.468)
2004-08-02 16:56:34 +00:00
(none)!yura 03f1839241 add ntfscp to build
(Logical change 1.467)
2004-08-02 12:05:21 +00:00
(none)!yura 50b9026628 Add a @start_vcn parameter to lcnalloc.[ch]::ntfs_cluster_alloc
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
cantab.net!aia21 3b3ac7b234 Implement ntfs_device_win32_ioctl().
(Logical change 1.457)
2004-07-15 09:29:13 +00:00
cantab.net!aia21 aa4542d8f4 Fix Yuval's last patch: runlist_element is not a struct it is a typedef
so renamed it to the struct name which is _runlist_element.

(Logical change 1.456)
2004-07-13 15:16:57 +00:00
cantab.net!aia21 41121112e5 Remote attrib.h include so win32_io.c can include debug.h. (Yuval)
(Logical change 1.455)
2004-07-13 15:05:15 +00:00
cantab.net!aia21 7d0ecd9832 - Add detection for <sys/byteorder.h> and make endianness detection
work on Solaris 2.6 (Yuval) and Solaris 9 (Anton).
- Emulate bswap_{16,32,64}() if not available/we cannot find them.

(Logical change 1.396)
2004-05-24 13:54:07 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21 7ecb829f8f Cleanup.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
cantab.net!aia21 385c9deeec Fix SID_IDENTIFIER_AUTHORITY. It is big endian.
(Logical change 1.368)
2004-04-15 11:10:40 +00:00
cantab.net!aia21 e44d450539 Add ntfs_sid_is_valid() and exports for ntfs_sid_to_mbs_size() and
ntfs_sid_to_mbs().

(Logical change 1.368)
2004-04-15 11:10:40 +00:00
cantab.net!aia21 5107604fff Minor typo fix.
(Logical change 1.367)
2004-04-15 08:10:14 +00:00
cantab.net!aia21 204a58e75e Add export for ntfs_sid_to_mbs().
(Logical change 1.367)
2004-04-15 08:10:14 +00:00
cantab.net!aia21 58c28e0f78 - Move constant bswap macros out of the ifdefs in endians.h so they are
always available.  (Yuval)
- Add conditional include of sys/param.h in endians.h which provides
  endianness support on Cygwin.  (Yuval)

(Logical change 1.362)
2004-04-09 14:49:40 +00:00
cantab.net!aia21 f94ee6946f Update
(Logical change 1.355)
2004-04-05 08:42:10 +00:00
cantab.net!aia21 8a80625a4b More updates.
(Logical change 1.352)
2004-03-31 14:47:08 +00:00
cantab.net!aia21 e0ccb034ea Update.
(Logical change 1.350)
2004-03-30 14:00:35 +00:00
cantab.net!aia21 78922e89fa Update to automake 1.8.3.
(Logical change 1.349)
2004-03-26 14:50:33 +00:00
cantab.net!aia21 89698664fe Move all the magic_* stuff into one place in layout.h.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 e3fbfe6b96 Correct typo.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 17f7990e20 - Move all the magic_* stuff into one place in layout.h.
- Sanitize the structure comments to make a little more sense (I hope).

(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 59c98d3fb1 Use the new LSN data type.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00