antona
49fd93718c
Cope with attribute list attribute having invalid flags. Windows
...
copes with this and even chkdsk does not detect or fix this so we
have to cope with it, too. Thanks to a Pawel for reporting the
problem. (Anton)
2006-02-24 09:20:10 +00:00
cha0smaster
6497828e53
While fixing allocated/compressed size I lost correct data size value by accident.
2006-02-21 18:57:34 +00:00
cha0smaster
241c7585a6
Fix runlist setting and incorrect file sizes in the index.
2006-02-21 04:40:20 +00:00
cha0smaster
559d28d2ee
cleanup
2006-02-21 03:40:24 +00:00
cha0smaster
9bcf003f26
ntfs_attr_pwrite: Fix very serious bug, when sometimes not whole mapped runlist was passsed to ntfs_attr_update_mapping_pairs.
2006-02-20 00:48:35 +00:00
cha0smaster
2fa889ff26
cleanups
2006-02-19 00:37:15 +00:00
cha0smaster
6ba0e1d1e0
fix bug with sparse attribute shinking when runlist is not changed. (already fixed such for expanding, do not know why I forgot to update shrinking)
2006-02-19 00:36:23 +00:00
cha0smaster
dc751c641b
cleanup
2006-02-10 11:00:47 +00:00
szaka
b5f4182861
Add some important debugging, tracing info
2006-02-09 21:40:00 +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
flatcap
04ebd8256d
The addition of one hundred and forty-five linefeeds. Thanks Yura!
2005-12-04 22:42:51 +00:00
szaka
c5bceb84de
ntfs_get_attribute_value(): report in error what's the non-zero attribute flags
2005-11-26 01:08:12 +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
cha0smaster
fadcc0df7c
Do not update time for system files (inode number < FILE_first_user) in ntfs_attr_p{read,write}. Who cares about them, but this solves segfault during umount.
2005-11-16 16:27:27 +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
cha0smaster
f7fe30a0aa
Automatically update access and change time in ntfs_attr_p{read,write} and ntfs_attr_truncate.
2005-11-14 15:31:23 +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
cha0smaster
a732881c5e
see changelog
2005-11-07 20:37:07 +00:00
flatcap
b2606af8ab
a few typos
2005-11-02 18:06:48 +00:00
flatcap
83b9eddfc9
provide some meaningful function descriptions
2005-11-02 17:34:08 +00:00
flatcap
121d05deb6
add/update function comment blocks
...
(ok, they need words, but it's a start)
2005-10-30 16:12:22 +00:00
uvman
8f43f0ef4c
Match parameter names between .h and .c files
2005-10-28 12:47:49 +00:00
cha0smaster
73474b68db
Fix ntfs_non_resident_attr_expand bug, that occured if we enlarge
...
sparse or compressed file, but do not need to allocate new clusters to
perfrom this.
2005-10-27 21:20:30 +00:00
flatcap
8a584700c5
whitespace fixes - no code changes
2005-10-26 22:54:57 +00:00
szaka
746dff1a24
NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes
2005-10-23 18:35:58 +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
antona
a7fd01e543
$EA can be resident and non-resident. Fix libntfs/attrib.c::
...
ntfs_attr_can_be_resident() apropriately. (Anton)
2005-10-19 08:13:44 +00:00
flatcap
8fa46025d5
trailing whitespace
2005-10-16 19:21:47 +00:00
antona
e46d4e8959
Fix silly bug introduced in 1.12.0 which breaks ntfsfix (and others
...
possibly) when calling ntfs_attr_lookup() with AT_UNNAMED name and
no ntfs inode in the search context. (Anton)
2005-10-15 20:52:41 +00:00
antona
bc4bee7b2f
Fix bogus le16_to_cpu() which shouldbe le32_to_cpu() when accessing
...
the attribute list entry attribute type in some places in
libntfs/attrib.c. (Anton)
2005-10-15 11:33:42 +00:00
cha0smaster
dff50dc5ba
oops, forgot one s/_lookup/_find
2005-09-30 18:57:00 +00:00
cha0smaster
ad2e6baf35
Refix my previous fix to fix. :-)
...
Comment thinks better.
2005-09-30 13:13:38 +00:00
cha0smaster
7aeed859b9
Revert Anton's code that breaks functions needed for attribute resize.
2005-09-30 09:52:05 +00:00
antona
8db479a6b1
Patch from Christophe:
...
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
antona
2a104d8eda
Megapatch!!! Check evecrything!!! I probably broke everything!!!
2005-09-24 22:54:55 +00:00
antona
3a50e66a59
Fix a very(!) longstanding bug in ntfs_attr_find() and co.
...
Also reapply fix to unistr.c name collation.
2005-09-24 20:28:23 +00:00
cha0smaster
7fee848c26
attrib.c: fix line to be <=80 characters long
2005-09-24 13:06:59 +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
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
cha0smaster
6d4e6d9893
* fix ntfs_attr_open
...
* update for 1.11.2
2005-08-04 00:00:27 +00:00
cha0smaster
fe67916350
* attrib.c: refix ntfs_attr_p{read,write}
...
* ntfsmount.c: code that now not really needed, but for any case
2005-08-03 13:52:50 +00:00
szaka
06052dafcf
Replaced all occurances of ENOTSUP to EOPNOTSUPP to be in better harmony
...
with the kernel driver
2005-08-01 22:10:38 +00:00
cha0smaster
f7e5e1cc26
* Fix ntfs_attr_p{read,write}. (see Changelog)
...
* Minor fixes and some stubs for uncommitted code.
* Update README about ./autogen.sh.
2005-08-01 13:40:51 +00:00
cha0smaster
e48bd91bbf
* Fix bug in index.c (see Changelog).
...
* Minor fixes to attr{ib,list}.c.
2005-07-23 00:50:31 +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
3adc040305
Add change protype of ntfs_attr_pwrite: make @b const.
2005-07-02 19:16:18 +00:00
antona
31a8750c4d
Fix compiler warnings in libntfs when compiling under cygwin.
2005-06-21 09:55:15 +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
086fd4cc0c
probably a bug in __ntfs_attr_init
2005-06-20 14:23:27 +00:00