Commit Graph

675 Commits

Author SHA1 Message Date
cha0smaster
e2450ad61a tidy up djgpp S_IF{SOCK,LNK} fix 2006-01-30 22:10:31 +00:00
cha0smaster
ff72ed6141 Oops, by accident commited incomplete stuff to dir.h 2006-01-08 15:56:03 +00:00
cha0smaster
e975db6fd5 should fix build under Solaris 2006-01-08 15:53:27 +00:00
cha0smaster
eba747ac93 * Add NTFS_DEV_LIST define. Use it everywhere instead of linux-ntfs-dev@lists.sf.net.
* Replace all ntfs_log_trace where we ask to send mail to us with ntfs_log_error
2005-12-18 16:27:20 +00:00
cha0smaster
ce1aabed3b FreeBSD and Cygwin do not know about MS_NOATIME too. Fix this. 2005-11-24 14:23:38 +00:00
flatcap
0f7ee235ed comments for unions 2005-11-20 11:34:30 +00:00
flatcap
8ee10753ce move a useful ioctl here, from mkntfs 2005-11-19 14:55:51 +00:00
cha0smaster
2367a06b6e Rework time updates, more close to like windows does. Still do not update for / because of sync problems. 2005-11-17 18:00:58 +00:00
szaka
94e1647414 More comments on SDH_INDEX_DATA's reserved_II field 2005-11-16 00:17:53 +00:00
cha0smaster
e58a468d0c * Fix bug with updating atime on read-only volumes. (Thanks to Szaka and Anton)
* Add MS_NOATIME to ntfs_mount. (By Yuval's request)
2005-11-15 16:31:40 +00:00
szaka
ae643af3cd Update QUOTA_CONTROL_ENTRY and QUOTA_O_INDEX_DATA description 2005-11-15 01:00:22 +00:00
cha0smaster
632b146410 Add @from_vcn parameter to ntfs_attr_update_mapping_pairs, update all
users to submit it, thus write speed to very fragmented files
dramatically increased, while write speed to low fragmented files
stayed at approximately same level.
2005-11-14 00:17:19 +00:00
szaka
7b68432c72 Name consistently the same $SDS, $SDH and $SII fields 2005-11-12 15:35:51 +00:00
uvman
0d651e54d3 Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning. 2005-11-11 23:35:56 +00:00
cha0smaster
4652ad72c6 * implement symblic link creation in ntfs_create
* rename ntfs_create -> __ntfs_create. add wrapers ntfs_create{_symlink,_device}
* ntfsmount: implement .symlink
* ntfsmount: fix readdir to emulate . and .. when needed
2005-11-10 18:13:15 +00:00
cha0smaster
2c3dfcba27 Teech ntfs_create() to create Interix charcter and block devices. Add @dev parameter to ntfs_create() for this. 2005-11-08 16:13:17 +00:00
cha0smaster
53446b07f8 - Change @type parameter for ntfs_create() to be dev_t rather than internal NTFS_DT_* constants.
- Teech ntfs_create() to create FIFOs and sockets.
2005-11-08 15:15:37 +00:00
szaka
1e3ce5d1dd FILE_ATTR_DUP_VIEW_INDEX_PRESENT is also present in $STANDARD_INFORMATION
on 3.x volumes
2005-11-07 22:22:43 +00:00
cha0smaster
a732881c5e see changelog 2005-11-07 20:37:07 +00:00
uvman
09c562fdd3 Disclaim any copyright holding on layout.h 2005-11-06 14:15:38 +00:00
cha0smaster
300f86ac21 * layout.h: update about special INTX files.
* ntfsmount: implement readlink() and add support of symlinks, charcter and block devices to stat().
2005-11-05 22:54:43 +00:00
uvman
9e9179b307 Comment format improvements 2005-11-03 19:20:14 +00:00
szaka
c10f046225 simplified ntfs_generate_guid() 2005-11-01 21:09:52 +00:00
szaka
987f33e5df ntfs_ prefix generate_guid() 2005-11-01 20:24:37 +00:00
szaka
c21d01fe7f fix type of owner_id in QUOTA_O_INDEX_DATA 2005-11-01 20:18:27 +00:00
szaka
1a40e3d4cd Add missing full stops; rename SDS to $SDS 2005-11-01 20:01:03 +00:00
szaka
80923d64dd Fix type of reserved_II in SDH_INDEX_DATA; resolve some magic constants 2005-11-01 19:56:08 +00:00
flatcap
9c2e3a8206 add/update function comment blocks
(ok, they need words, but it's a start)
2005-10-31 01:15:12 +00:00
szaka
370bea1395 ntfsinfo: figure out and dump index attribute types 2005-10-30 22:53:38 +00:00
szaka
e677d9ebf9 Fix GUID example 2005-10-30 22:42:00 +00:00
uvman
5b949d07fa Fix comment formats. 2005-10-28 12:55:41 +00:00
uvman
8f43f0ef4c Match parameter names between .h and .c files 2005-10-28 12:47:49 +00:00
flatcap
8892ba7ac6 remove some colour hacks
remove a few #ifdef DEBUGs and RM_WRITEs
throw in lots of extra traces
2005-10-28 04:32:21 +00:00
flatcap
4e5c1c6efa rebuild logging again.
today's arrangement has five handlers:
ntfs_log_handler_fprintf (renamed from printf)
ntfs_log_handler_null (does nothing, default)
ntfs_log_handler_stdout (everything to stdout)
ntfs_log_handler_outerr (info to stdout, errors to stderr)
ntfs_log_handler_stderr (everything to stderr)
the colour handler has gone away to be replaced by a flag:
NTFS_LOG_FLAG_COLOUR
2005-10-28 04:12:22 +00:00
flatcap
8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap
1f68df3f69 shorten ntfs_logging_* to ntfs_log_* 2005-10-26 20:46:37 +00:00
flatcap
c27c1a40cb explain rm's elements in ntfs_inode, ntfs_volume 2005-10-26 20:45:58 +00:00
uvman
0dd0cdc6be Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option(). 2005-10-25 01:28:10 +00:00
uvman
7cbc0a6cb6 Remove any uses of the old logging system (Dputs, Dprintf, ...) from libntfs. 2005-10-24 20:50:05 +00:00
szaka
746dff1a24 NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes 2005-10-23 18:35:58 +00:00
cha0smaster
b7aaeece53 documment need ea flag 2005-10-22 20:22:21 +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
uvman
570705dcab Add a comment to some typedefs per discussion on linux-ntfs-dev 2005-10-20 00:56:11 +00:00
szaka
8f03f5a6ca Optionally create NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, Vista).
Contributed by Erik Sornes. No side-effect for v1.2 NTFS which is still
the default. The implementation needs some minor work: see e.g. the chkdsk
messages and the result of ntfscmp'ing the two images.
2005-10-19 22:04:46 +00:00
flatcap
2a8d602d9f ntfsrm has been split up and merged into libntfs.
currently it's #ifdef'd out.
tree.c - code for handling directory trees
rich.c - a few helpers without a home (this file will go away soon)
Note: ntfsrm isn't in the build any more (you need to ./configure --enable-rich; make extras).  When rm is less intrusive, again, I'll put it back in the build.
2005-10-16 23:33:03 +00:00
flatcap
bde3e0063b centralised logging system 2005-10-16 21:57:00 +00:00
flatcap
8fa46025d5 trailing whitespace 2005-10-16 19:21:47 +00:00
antona
6803fa4b76 Fix endianness bug in ntfsinfo. (Anton) 2005-10-15 23:44:57 +00:00
antona
b67fb5e78f Add a comment about the valid size for $EFS attribute value. 2005-10-15 09:15:46 +00:00
antona
62f9636080 Temporarily disable use of the legal ansi character checking in
libntfs/unistr.c::ntfs_names_collate() pending a proper fix at some
point.  (Anton)
2005-10-13 08:26:02 +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
4b1b89109d Fix the definition of the CHKD ntfs record magic. It had an off by
two error causing it to be CHKB instead of CHKD.
2005-09-26 13:11:00 +00:00
antona
2a104d8eda Megapatch!!! Check evecrything!!! I probably broke everything!!! 2005-09-24 22:54:55 +00:00
szaka
24de91b8fa - Support journals which have been modified by chkdsk. (Anton, Szaka)
- Support journals ($LogFile) with only one restart page as well as
  journals with two different restart pages.  (Anton, Szaka)
2005-09-24 15:59:53 +00:00
cha0smaster
464eab4178 add ntfs_link, update ntfsmount to use it 2005-09-24 15:20:49 +00:00
flatcap
531305cc1e Christophe: add easily accessible version info to libntfs 2005-09-22 16:41:43 +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
flatcap
d75567112c put the test code where it's more useful 2005-09-13 14:30:51 +00:00
cha0smaster
c3727658ca * Fix filenames collation.
* Minor comment cleanup.
2005-08-26 20:17:08 +00:00
cha0smaster
6f8cd6e5ef Cleanups and memleak fix to error code paths of ntfs_create. 2005-08-22 21:33:07 +00:00
cha0smaster
9028a53dfc Sorry it's very large commit (46K of diffs between my local tree and CVS HEAD
before commit), file and directory creation/deletion recursively requested many
changes. See ChangeLog for description of all changes.
2005-08-14 15:44:46 +00:00
antona
0152ddb1b2 Update for more correct EFS information. 2005-08-14 06:16:35 +00:00
antona
6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +00:00
cha0smaster
6d4e6d9893 * fix ntfs_attr_open
* update for 1.11.2
2005-08-04 00:00:27 +00:00
cha0smaster
7aebba2e12 minor improvements to index.h and ntfsmount.c 2005-07-29 21:37:09 +00:00
antona
304f060a76 Add all Makefile.in to maintainer-clean target. 2005-07-29 15:51:49 +00:00
antona
69f55f1ee5 Remove all Makefile.in files and add them all to all .cvsignores. 2005-07-29 15:10:19 +00:00
antona
3ccd12241a Start the build system cleanup. Add AM_MAINTAINER_MODE to configure.ac and
remove configure and Makefile.in.  Also add Makefile.in to .cvsignore.
2005-07-29 15:04:57 +00:00
antona
f0ff698c22 Update some efs info (the 16byte fields in the header are md5 hashes of the
decrypted fek, ddfs, and drfs.  windows uses them as a sanity check and a check
that the efs attribute has not been tampered with.)
2005-07-29 09:54:02 +00:00
antona
2546690ee1 Add EFS structure definitions to layout.h and adapt ntfsdecrypt for it.
More fixes/cleanups to decrypt.c.
This was all Yuval's work but I did some renaming afterwards and some
whitespace cleanups.
2005-07-28 10:36:31 +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
antona
93194b37a0 Add a function to ntfsprogs/decrypt.c that expands an on-disk desx key from 128
bits to the needed 192 bits so it can be used for {en,de}cryption.
Note I couldn't face using the completely insane libgcrypt api so I used
openssl's libcrypto instead...  Anyone feel free to swap once we have it
working.
2005-07-21 12:12:37 +00:00
cha0smaster
b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
antona
0dac29a487 Update for 1.11.1 release. 2005-07-20 08:14:52 +00:00
cha0smaster
7b9cac2912 Update ChangeLog and auto scripts. 2005-07-19 21:36:07 +00:00
antona
4ed406e68e Add new utility (make extra) - ntfsdecrypt. (Yuval) 2005-07-16 06:53:40 +00:00
cha0smaster
0b75b12544 ntfsmount:
* use mount function from utils.[ch]
* remove fsname option (need to support if volume already mounted)
* add force option to support mount from utils
* update manual page
* fix tiny memleak
2005-07-15 15:53:22 +00:00
szaka
9f50872ec2 Spelling typos, Debian bug #300073 2005-07-12 16:18:10 +00:00
antona
47b52b54e3 Update changelog, fox more mkntfs bugs (thanks Timur!) and update build system
to SuSE 9.3 again.
2005-07-10 21:42:39 +00:00
cha0smaster
48af715f60 * Add check to auto scripts for FUSE to be >= 2.3.0.
* Move ntfsmount back to standard programs set.
2005-07-10 12:38:46 +00:00
antona
b942e2c03a Move ntfsmount to extra programs as it doesn't even approximate being
compilable!  (At least on my machine which has fuse 2.2.1.)
And I need a working snapshot for Timur.
2005-07-09 21:32:17 +00:00
cha0smaster
0b060773f5 - layout.h: update info about EA's.
- ntfsinfo: dump EA and EA_INFORMATION attributes.
2005-07-09 00:09:53 +00:00
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
ntfs_collate_file_name. Thus we have new API's: ntfs_collate and
  ntfs_is_collation_rule_supported.  (Yura)
- Port index.[ch] from kernel to library. New API's: ntfs_index_lookup,
  ntfs_index_ctx_{get,put}, ntfs_index_entry_mark_dirty.  (Yura)

Just finished porting, it's 03:41 here, so this code should defenitely segfault or at least not work. Today after sleep I will integrate it to library and test it by the way.
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
cantab.net!aia21
31c61d3404 Use new type LSN.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00
cantab.net!aia21
80fda79683 Add typedef for LSN.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00
cantab.net!aia21
59fb52eff1 Update
(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21
d2ea0b8741 Add exports for ntfs_device_heads_get() and
ntfs_device_sectors_per_track_get().

(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21
c15c7b19a6 Add export for ntfs_attrlist_entry_rm(). -- Not implemented yet.
(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21
1500287b1c Update
(Logical change 1.340)
2004-03-19 17:36:45 +00:00
cantab.net!aia21
6507533a0a (Logical change 1.340) 2004-03-19 17:36:45 +00:00
cantab.net!aia21
1c970228e2 Initial revision 2004-03-19 17:36:45 +00:00
cantab.net!aia21
1a9faf5ae8 Add attrlist.h to list of headers.
(Logical change 1.340)
2004-03-19 17:36:45 +00:00
cantab.net!aia21
93acd345a7 Update
(Logical change 1.338)
2004-03-17 16:53:29 +00:00
cantab.net!aia21
f33bdf28a5 Update comment for hidden_sectors in BIOS_PARAMETER_BLOCK.
(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21
9318887cd5 Add new API device.[hc]::ntfs_device_partition_start_sector_get() and
make mkntfs use it.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21
2bd298bc2d Add new API mft.[hc]::ntfs_mft_record_{layout,format}() and make
mkntfs use it.

(Logical change 1.335)
2004-03-15 12:50:18 +00:00
cantab.net!aia21
14658c8c43 Copy MFT_RECORD typedef to MFT_RECORD_OLD and modify MFT_RECORD to
contain the NTFS 3.1+ specific fields.  Also, update mkntfs and
ntfsclone appropriately.

(Logical change 1.333)
2004-03-15 11:34:30 +00:00
cantab.net!aia21
a8ce4055be Update comment for ntfs_mft_record_get_data_size().
(Logical change 1.332)
2004-03-15 10:54:47 +00:00
cantab.net!aia21
481241602c Change ntfs_get_attribute_value syntax to not have the MFT_RECORD as it
wasn't used anyway and the function is headed for death anyway...

(Logical change 1.332)
2004-03-15 10:54:47 +00:00
cantab.net!aia21
84db0e8dfb Initial revision 2004-03-14 18:04:17 +00:00
cantab.net!aia21
2324aa8e3f Add security.h to Makefile.*.
(Logical change 1.330)
2004-03-14 18:04:17 +00:00
cantab.net!aia21
a0fdf1985f (Logical change 1.330) 2004-03-14 18:04:17 +00:00
cantab.net!aia21
a06a326959 Fix layout.h STANDARD_INFORMATION and FILE_ATTR_FLAGS typedefs by
adding the packed attribute where it was missing causing havoc due
to 64 bit alignment.  (Yuval Fledel)

(Logical change 1.328)
2004-03-13 19:22:57 +00:00
cantab.net!aia21
3cfb4590eb Provide new API functions: ntfs_bitmap_{set,clear}_bit().
(Logical change 1.327)
2004-03-12 17:25:04 +00:00
cantab.net!aia21
cb3b41894a Modify meaning of ntfs_volume->nr_mft_records to be the number of
initialized mft records, not total mft records.  This makes far more
sense and in fact reflects how nr_mft_records is being used in both
libntfs and the utilities.

(Logical change 1.326)
2004-03-12 15:50:52 +00:00
cantab.net!aia21
9b3652469c Update with SuSE 9.1 beta 1 versions of GNU build system.
(Logical change 1.322)
2004-03-11 15:33:34 +00:00
cantab.net!aia21
a0cbfc4ce4 Provide our own __ntfs_bswap_constant_xx functions so we completely
avoid the mess that some architectures define only some of the
constant bswap functions.

(Logical change 1.318)
2004-03-10 22:53:49 +00:00
cantab.net!aia21
77c794f202 Try the SuSE patch.
(Logical change 1.315)
2004-03-10 15:17:51 +00:00
cantab.net!aia21
0dd38ddd7d Use AC_CHECK_DECLS in configure.ac to determine if the constant bswap
functions are defined/declared and define them to the non-constant ones
in endians.h if not.

(Logical change 1.314)
2004-03-10 10:22:03 +00:00
cantab.net!aia21
232af61717 Use bswap_xx instead of __bswap_constant_xx when the constant version
is not available as is the case on some architectures.  (Thanks to
David Martnez Moreno for the bug report.)

(Logical change 1.302)
2004-03-08 12:19:08 +00:00
cantab.net!aia21
8140d928d7 Auto merged
2004/02/25 14:43:31+00:00 cantab.net!aia21
Auto merged

2004/02/25 14:43:29+00:00 cantab.net!aia21
Merge rename: include/support.h -> include/ntfs/support.h

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21
4de7c6fde0 Make ntfs_attrs_walk() use AT_UNUSED and CASE_SENSITIVE instead of
zero when calling ntfs_lookup() for type checking correctness.  (Yuval
Fledel)

(Logical change 1.297)
2004-03-05 11:41:37 +00:00
cantab.net!aia21
607036db7d Rename private to priv_data in ntfs_device_alloc() to avoid name
space clashes with C++.  (Yuval Fledel, modified fix by me)

(Logical change 1.295)
2004-03-05 11:23:42 +00:00
cantab.net!aia21
260305c102 Modify layout.h and logfile.h expanding/naming annonymous structs
and unions (much like I did earlier in the kernel driver) so that
the -fms-extensions switch is no longer required.  Also, removed
the -fms-extensions switch and associated autodetection from
./configure.ac.  (Yuval Fledel with small fixes from me)

(Logical change 1.293)
2004-03-05 09:45:14 +00:00
cantab.net!aia21
f64410dbb7 Guard config.h inclusiong with ifdef HAVE_CONFIG_H
(Logical change 1.288)
2004-02-29 14:09:45 +00:00
cantab.net!aia21
4b12f1bfce Add NO_NTFS_DEVICE_DEFAULT_IO_OPS.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21
83a577b1e5 Update for move of include files.
2004/02/25 13:57:19+00:00 cantab.net!aia21
Rename: include/Makefile.in -> include/ntfs/Makefile.in

(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
6a2d6277e9 Rename: include/volume.h -> include/ntfs/volume.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
96d9f30e1a Rename: include/volume.h -> include/ntfs/volume.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1cfb7cb780 Rename: include/unistr.h -> include/ntfs/unistr.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
2de41afeb0 Rename: include/unistr.h -> include/ntfs/unistr.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
9c545b1a67 Rename: include/types.h -> include/ntfs/types.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
450e974e53 Rename: include/types.h -> include/ntfs/types.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
307edb606f Rename: include/support.h -> include/ntfs/support.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
8e46abe9bb Rename: include/support.h -> include/ntfs/support.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
c01551305f Rename: include/runlist.h -> include/ntfs/runlist.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
ea202b473f Rename: include/runlist.h -> include/ntfs/runlist.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
d9b62e0a62 Rename: include/mst.h -> include/ntfs/mst.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1e61d4ca7d Rename: include/mst.h -> include/ntfs/mst.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
fc58f7f637 Rename: include/mft.h -> include/ntfs/mft.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
bafd0f97bc Rename: include/mft.h -> include/ntfs/mft.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
d281afae83 Rename: include/logfile.h -> include/ntfs/logfile.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1ce0bb34b1 Rename: include/logfile.h -> include/ntfs/logfile.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
51e1b94660 Rename: include/list.h -> include/ntfs/list.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
f23548e88f Rename: include/list.h -> include/ntfs/list.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
f0a07eee9f Rename: include/lcnalloc.h -> include/ntfs/lcnalloc.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1b5fbcee9a Rename: include/lcnalloc.h -> include/ntfs/lcnalloc.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
44b052d5ff Rename: include/layout.h -> include/ntfs/layout.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
28ddffc9ca Rename: include/layout.h -> include/ntfs/layout.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
fe48419140 Rename: include/inode.h -> include/ntfs/inode.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
2661b1d8fb Rename: include/inode.h -> include/ntfs/inode.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
982c071d0e Rename: include/gnome-vfs-module.h -> include/ntfs/gnome-vfs-module.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
7d26c4c57e Rename: include/gnome-vfs-module.h -> include/ntfs/gnome-vfs-module.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
baf0188ac5 Rename: include/gnome-vfs-method.h -> include/ntfs/gnome-vfs-method.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
ad03d832e5 Rename: include/gnome-vfs-method.h -> include/ntfs/gnome-vfs-method.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
e7d3d0e420 Rename: include/endians.h -> include/ntfs/endians.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
c1e3dc03be Rename: include/endians.h -> include/ntfs/endians.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
7be2dcc70e Rename: include/dir.h -> include/ntfs/dir.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
00fa855ac7 Rename: include/dir.h -> include/ntfs/dir.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
4c0f3b21d0 Rename: include/device_io.h -> include/ntfs/device_io.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
52ff000fe9 Rename: include/device_io.h -> include/ntfs/device_io.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
9d1e7a0987 Rename: include/device.h -> include/ntfs/device.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
bb8f192c25 Rename: include/device.h -> include/ntfs/device.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
14e54a2347 Rename: include/debug.h -> include/ntfs/debug.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
dc727b8307 Rename: include/debug.h -> include/ntfs/debug.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
9ffd8007b6 Rename: include/compress.h -> include/ntfs/compress.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
508ce7ac22 Rename: include/compress.h -> include/ntfs/compress.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
49455232ba Rename: include/compat.h -> include/ntfs/compat.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
9cd9e1edf9 Rename: include/compat.h -> include/ntfs/compat.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1904c8d118 Rename: include/bootsect.h -> include/ntfs/bootsect.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
5f77178020 Rename: include/bootsect.h -> include/ntfs/bootsect.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
38c6220836 Rename: include/bitmap.h -> include/ntfs/bitmap.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
d87fde8436 Rename: include/bitmap.h -> include/ntfs/bitmap.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
37b43614ab Rename: include/attrib.h -> include/ntfs/attrib.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
f2c1a93bc8 Rename: include/attrib.h -> include/ntfs/attrib.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
1f65bb86c0 Rename: include/Makefile.am -> include/ntfs/Makefile.am
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21
b1c59d1796 Initial revision 2004-02-25 14:21:14 +00:00
cantab.net!aia21
44d6eb9704 (Logical change 1.280) 2004-02-25 14:21:14 +00:00
cantab.net!aia21
441947337e Include config.h before any other non-ntfs headers.
(Logical change 1.279)
2004-02-20 14:44:16 +00:00
cantab.net!aia21
26fbe3a101 Update for latest libtool/autoconf/automake.
(Logical change 1.273)
2004-01-26 09:53:57 +00:00
cantab.net!aia21
401c8ebf7d apply patch from Szaka:
- all warnings fixed for maintainer mode for ntfsresize and ntfsclone
- added 'const' to ntfs_ucstombs()'s first parameter
- 'fsync' also after metadata-only cloning
- fixed forced metadata-only, dirty ntfs cloning (only one -f needed)

(Logical change 1.264)
2004-01-15 17:07:57 +00:00
cantab.net!aia21
c9076ef627 - Apply patch from Szaka to fix all %L to %ll.
- Fix remaining %L ti %ll (compress.c).
- Run ./autogen.sh on SuSE 9.0.

(Logical change 1.263)
2004-01-15 16:57:10 +00:00
cantab.net!aia21
e13713fd27 Finish attribute decompression code. (Completely untested!)
(Logical change 1.261)
2004-01-13 11:05:18 +00:00
cantab.net!aia21
cd99a42e34 Update
2004/01/08 17:13:00+00:00 cantab.net!aia21
Fill in documentation gaps for ntfs_attr structure.

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21
dff4154577 Update
2004/01/08 17:13:00+00:00 cantab.net!aia21

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21
5aa2088a95 Update
(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21
010e735129 Initial revision 2004-01-09 12:38:56 +00:00
cantab.net!aia21
9c78a8bf4f Add compress.h to the build system.
(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21
3244f17522 Enable lots of compiler warnings and fix warning from libntfs.
(Logical change 1.257)
2004-01-07 15:03:17 +00:00
cantab.net!aia21
6651abe322 More updates from Christophe Grenier for DJGPP and FreeBSD.
(Logical change 1.253)
2004-01-07 10:22:51 +00:00
cantab.net!aia21
3eaa5c327f Remove duplicate redeclaration from device.h. (Christophe Grenier)
(Logical change 1.252)
2004-01-07 10:02:13 +00:00
cantab.net!aia21
3fea49b48c - Compile fixes for DJGPP. (Chrisophe Grenier, me)
- Add compatibility for building on FreeBSD. (Christophe Grenier)

(Logical change 1.249)
2004-01-06 14:31:21 +00:00
cantab.net!aia21
1226d98038 Add compatibility for building with DJGPP under DOS. (Christophe
Grenier, slightly modified by me)

(Logical change 1.247)
2004-01-06 11:04:29 +00:00
cantab.net!aia21
608669d564 Add ntfs_rl_pread().
(Logical change 1.244)
2003-12-05 18:06:50 +00:00
cantab.net!aia21
19fcf9b688 Add ntfs_attr_map_whole_runlist().
(Logical change 1.243)
2003-12-03 15:38:52 +00:00
cantab.net!aia21
e92992ed63 Cleanup build system with respect to CFLAGS so they are consistent throughout and
the right flags get added for the right things and move all of this in one place in
configure.ac removing everything from the Makefile.am files.

(Logical change 1.239)
2003-11-19 10:31:21 +00:00
flatcap.org!ntfs
05af63dc9b remove the dependency on <asm/byteorder.h> in favour of <endian.h> and <byteswap.h>
(Logical change 1.237)
2003-11-18 21:17:57 +00:00
cantab.net!aia21
d9bf0f8f6e Make building of libntfs-gnomevfs optional. (Jan Kratochvil)
(Logical change 1.231)
2003-11-07 18:25:26 +00:00
cantab.net!aia21
912e86e813 Split off ntfsprogs-gnomevfs in separate rpm and move glib/gnome
dependencies to it.

(Logical change 1.230)
2003-11-07 10:16:00 +00:00
cantab.net!aia21
ef164c7184 Update build. Note noticed by citool before...
(Logical change 1.224)
2003-11-04 13:13:48 +00:00
cantab.net!aia21
541450856b attrdef_len is now signed
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
51931fd51d Update build.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
083dca6a18 Update attr_def min and max size to be s64 not unsigned.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
0f24a6c105 Typo...
2003/11/03 17:21:37+00:00 cantab.net!aia21

(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
05bf546cb0 Now file_size is signed.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
80b57b880d Initial revision 2003-11-04 13:04:07 +00:00
cantab.net!aia21
3618c4b8f7 Add ntfs gnome vfs header files.
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
cantab.net!aia21
2a4f72d834 (Logical change 1.223) 2003-11-04 13:04:07 +00:00
cantab.net!aia21
86f747e673 Update comments.
(Logical change 1.218)
2003-10-29 14:45:57 +00:00
flatcap.org!ntfs
d0cc759878 Updates from Szaka
(Logical change 1.191)
2003-10-09 07:56:06 +00:00
cantab.net!aia21
14b8a9bab6 disk_io is gone. device_io appears.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
786a34f1a2 New export: ntfs_device_default_io_ops
2003/10/06 10:49:55+01:00 cantab.net!aia21
Rename: BitKeeper/deleted/.del-device.h~47409fbdf050222e -> include/device.h

(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
aa247f5101 Make it work on Cygwin.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
3d3b853379 Initial revision 2003-10-06 11:38:25 +00:00
cantab.net!aia21
bfd37171ab Delete: include/disk_io.h
}(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21
9a0c63f302 (Logical change 1.188) 2003-10-06 11:38:25 +00:00
cantab.net!aia21
bbde93dacf Linux/types.h no longer needed at all.
stdint.h only include if present.

(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21
85f9732874 Include stdio.h. Needed by Cygwin.
(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21
f78cfd42a1 Export the default opearations so the low level utilities can use them.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21
fc30058a95 Add stat to ntfs_device_operations.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21
ed8e3db271 Add ntfs_volume_alloc() for low level utilities.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21
f0628dd514 Hopefully finished device io abstraction layer in the library.
(Logical change 1.138)
2003-06-02 08:53:04 +00:00
cantab.net!aia21
dac5ebd480 Update.
(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21
b928688153 Typo fix.
2003/05/25 21:04:53+01:00 cantab.net!aia21
Add allocation and deallocation of devices.

2003/05/25 20:40:26+01:00 cantab.net!aia21
fix typos.

2003/05/25 15:40:47+01:00 cantab.net!aia21

(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21
c161a9b33e Just so it compiles for now until we finish the switch to *dev.
2003/05/25 21:04:53+01:00 cantab.net!aia21
Abstract low level device operations.

(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21
9f64f96ee9 Initial revision 2003-05-26 12:58:41 +00:00
cantab.net!aia21
bd71015de1 Add device.h to list of headers.
(Logical change 1.136)
2003-05-26 12:58:41 +00:00
cantab.net!aia21
acc8aa6f05 New function NTFS_BUG() which prints an error message and then causes
a segmentation fault. Only to be used for critical bug catches...

(Logical change 1.111)
2003-01-26 16:47:16 +00:00
cantab.net!aia21
05c32a26e1 small tidyup
(Logical change 1.110)
2003-01-25 17:02:31 +00:00
cantab.net!aia21
0bda9e5cda Add new function ntfs_bitmap_set_run() to complement the existing
ntfs_bitmap_clear_run().

(Logical change 1.109)
2003-01-25 15:26:56 +00:00
cantab.net!aia21
edaa66643a Add a little endian mk_mref
(Logical change 1.107)
2003-01-20 11:08:14 +00:00
flatcap.org!flatcap
b6cfa71e8f whitespace tweak
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
cantab.net!aia21
7bf411786e add compat.h to distribution
(Logical change 1.100)
2003-01-18 15:29:33 +00:00
flatcap.org!flatcap
f387921c31 export find_in_attrdef
(Logical change 1.93)
2003-01-13 20:05:15 +00:00
cantab.net!aia21
a3e3e66651 update from Szaka modified by me:
new API disk_io.[hc]: ntfs_device_size_get() ported from mkntfs.c

(Logical change 1.86)
2003-01-10 17:00:47 +00:00
flatcap.org!flatcap
4e5b613d9c missed two
(Logical change 1.83)
2003-01-09 16:39:56 +00:00
cantab.net!aia21
312e98fd24 New API function: ntfs_attr_can_be_non_resident().
(Logical change 1.78)
2003-01-08 10:48:09 +00:00
cantab.net!aia21
cb8fc1b9e9 (Logical change 1.77) 2003-01-06 22:09:46 +00:00
cantab.net!aia21
be6376f85e New API provided by mft.[hc]:
ntfs_mft_record_alloc(), -- WIP
	ntfs_mft_record_free().

(Logical change 1.74)
2002-12-29 21:37:21 +00:00
cantab.net!aia21
84b007cf9c add export for ntfs_attr_size_bounds_check().
(Logical change 1.73)
2002-12-29 17:54:10 +00:00
cantab.net!aia21
6258afc6dd Add attribute definition table to ntfs volume structure.
(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21
91597fe050 Add variables used by the cluster and mft allocators.
(Logical change 1.62)
2002-12-27 17:25:45 +00:00
cantab.net!aia21
eb98ae1dca Change ntfs_rl_truncate() to take address of the runlist
rather than the runlist to allow reallocation of the runlist
buffer.

(Logical change 1.61)
2002-12-27 16:48:52 +00:00
cantab.net!aia21
928eff2891 Move some run list related functions out of attrib.[hc] into runlist.[hc].
(Logical change 1.60)
2002-12-27 16:35:17 +00:00
cantab.net!aia21
5fe5494e4c Fix prototype.
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21
bccfbfbff4 Add export for ntfs_bitmap_clear_run().
(Logical change 1.59)
2002-12-27 16:18:10 +00:00
cantab.net!aia21
833db0bc4b Typo
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21
1dd01bf3c7 New API: ntfs_rl_truncate().
(Logical change 1.58)
2002-12-26 20:36:52 +00:00
cantab.net!aia21
2eddb7228e New bit operations NInoTestAndSetDirty() and NInoTestAndClearDirty().
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21
7781c8f5df Fix test_and_set_bit() as well as test_and_clear_bit().
(Logical change 1.56)
2002-12-26 14:00:31 +00:00
cantab.net!aia21
9fd51dde62 New API functions (mostly still WIP):
attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate()
   inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync()
   lcnalloc.[hc]: ntfs_cluster_{alloc,free}()
Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}().

(Logical change 1.55)
2002-12-26 00:44:57 +00:00
cantab.net!aia21
185a33e214 Sort out compilation.
2002/12/25 19:51:31+00:00 cantab.net!aia21

(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21
6d3d453c53 Initial revision 2002-12-25 20:18:29 +00:00
cantab.net!aia21
b7857b472b Add lcnalloc to build process.
(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21
0e871e83b2 New API function ntfs_ucsnlen().
(Logical change 1.52)
2002-12-25 19:17:56 +00:00
cantab.net!aia21
69306cc493 new api renames to ntfs_object_action
(Logical change 1.36)
2002-12-10 11:53:41 +00:00
cantab.net!aia21
9e79b61437 start of renames to ntfs_object_action() format
(Logical change 1.34)
2002-12-09 09:42:12 +00:00
cantab.net!aia21
c7bcb144b2 rename run{ ,_,-}list to runlist
(Logical change 1.31)
2002-12-08 20:36:02 +00:00
cantab.net!aia21
2550af241a Auto merged
2002/12/08 20:15:50+00:00 cantab.net!aia21
rename run{ ,_,-}list to runlist

(Logical change 1.31)
2002-12-08 20:36:02 +00:00
flatcap.org!flatcap
a7b325ee46 Initial revision 2002-12-02 01:57:17 +00:00
flatcap.org!flatcap
cb5b25e58b (Logical change 1.28) 2002-12-02 01:57:17 +00:00