szaka
0fcb9b7f42
ntfs_pathname_to_inode: log filename utf8 conversion error
2008-12-22 00:34:15 +00:00
szaka
2a004f0911
ntfs_utf16_to_utf8, ntfs_utf8_to_utf16: check ntfs_malloc() return value
2008-12-22 00:16:19 +00:00
szaka
704519c75e
set errno values for the new built-in UTF8 conversion functions
2008-12-22 00:11:28 +00:00
szaka
0017cc31df
add built-in UTF8 support, use as default (Bernhard Kaindl, Jean-Pierre Andre)
2008-12-21 23:28:08 +00:00
szaka
31026fb7b0
librarize utils_ functions
2008-12-06 22:11:28 +00:00
szaka
86b9c82176
ntfs_external_attr_find: log all errors
2008-11-30 21:39:41 +00:00
szaka
a1ca403e41
fix read potentially returning corrupt data when the hardware fails
2008-11-30 17:16:37 +00:00
szaka
da3774f53f
remove optional log coloring
2008-11-13 01:48:07 +00:00
szaka
1f8c7efb38
remove unused version files
2008-10-16 23:38:13 +00:00
szaka
46f8418edc
fix ntfs_mft_attr_extend usage
2008-10-15 09:18:53 +00:00
szaka
6ef5d450da
mft.c: fix compiler warnings
2008-10-15 08:47:33 +00:00
szaka
f089c4b208
support unlimited file and directory creation
2008-09-18 21:03:35 +00:00
szaka
2bb181d328
fix driver hang when reading corrupted dirs (Peter J. Creath, Paul Mattal, Szabolcs Szakacsits)
2008-09-17 21:35:51 +00:00
szaka
b660e27c24
add Solaris support (Mark Phalan, Laszlo Peter, Marc Glisse, Szabolcs Szakacsits)
2008-07-17 15:01:50 +00:00
szaka
5d2884b578
comment update, cleanup (Yura Pakhuchiy)
2008-07-15 17:11:17 +00:00
szaka
d1f14ea752
ntfs_non_resident_attr_expand(): fix corruption during rollback (Yura Pakhuchiy)
2008-07-15 16:52:10 +00:00
szaka
64560ad1f4
ntfs_attr_add(): fix ->attrs_offset conversion on error path (Yura Pakhuchiy)
2008-07-15 16:05:05 +00:00
szaka
a1ca066aec
ntfs_ie_add(): #ifdef DEBUG debug code (Yura Pakhuchiy)
2008-07-15 14:29:52 +00:00
szaka
90b0f9b424
ntfs_attr_update_mapping_pairs(): error handling cleanup
2008-07-14 00:37:06 +00:00
szaka
61842b0bac
ntfs_attr_update_mapping_pairs(): fix last ntfs_attr_update_meta() errno
2008-07-13 23:52:55 +00:00
szaka
c46ce72177
move unused, conditional MAX_PATH define to the Win32 specific code
2008-07-13 13:56:38 +00:00
szaka
933ac7f054
fix: build failed using --prefix=/
2008-07-12 14:53:46 +00:00
szaka
6d97008d04
ntfs_bitmap_set_bits_in_run(): report real reason, not EIO if read/write fails
2008-07-12 12:52:50 +00:00
szaka
d878ee30ad
ntfs_bitmap_set_bits_in_run(): cleanup error handling
2008-07-12 12:38:56 +00:00
szaka
51b5d60fac
ntfs_bitmap_set_bits_in_run(): log errors
2008-07-12 12:29:53 +00:00
szaka
c9c732c7fc
add tabulated logging for the most common ntfs_mft_* functions
2008-06-30 02:49:36 +00:00
szaka
ab75028fd5
cleanup ntfs_volume_write_flags(): remove redundant error logging
2008-06-30 02:24:12 +00:00
szaka
f4b5e8fb92
copyright update
2008-06-29 23:08:55 +00:00
szaka
c6e1991749
new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
...
and convert the most commonly used functions
2008-06-29 22:06:38 +00:00
szaka
dec6162b63
cleanup ntfs_inode_open()
2008-06-29 17:43:56 +00:00
szaka
7bcb40b378
cleanup ntfs_attr_open()
2008-06-29 16:52:27 +00:00
szaka
2848f06bad
fix memory leak when removing streams or xattrs (Jean-Pierre Andre)
2008-06-17 22:40:43 +00:00
szaka
e5ce8d18d3
fix potential hangs if index entries were corrupt
2008-05-28 18:49:44 +00:00
szaka
d2f30b4d43
fix corrupt attribute flags and compression unit detection
2008-05-28 12:04:38 +00:00
szaka
6a024394c6
fix mount/driver hangs/misbehaviours when the some attribute flags were corrupt
2008-05-24 14:38:36 +00:00
szaka
7705fc3fdf
fix hanging mount if $Bitmap data size is corrupt
2008-05-23 22:21:16 +00:00
szaka
9d6a1dc617
fix crash when both an mft attribute offset and the allocated bytes were corrupt
2008-05-23 20:33:27 +00:00
szaka
d73e646b33
fix: support build in a separate directory (Alon Bar-Lev)
2008-05-19 17:34:39 +00:00
szaka
68e382fc9d
ntfs_boot_sector_parse: hints on error (Ralph Corderoy, Szabolcs Szakacsits)
2008-05-05 15:53:40 +00:00
szaka
a6ec7d343b
fix: multi-block allocation could allocate or free used blocks in certain
...
rare circumstances. Because FUSE write(2) size was restricted to 4 KB
until recently and the most widely used NTFS block size is also 4 KB thus
allocations were typically single block size therefore the bug wasn't
visible and couldn't be easily reproduced. However MFT allocations are
multi-block size and they could lead to data corruption typically in close
to full disk utilization.
2008-05-05 15:36:58 +00:00
szaka
e518ef07ad
ntfs_attr_add(): fix adding attribute which can be resident and non-resident
2008-04-02 17:20:23 +00:00
szaka
b06ba6ed11
ntfs_make_room_for_attr(): "no space" condition must be ENOSPC, not EINVAL
2008-04-02 11:46:38 +00:00
szaka
d9b1635532
fix: symlink failed or the size was truncated at modulo 256 if the target was over 255 bytes
2008-04-02 10:28:49 +00:00
szaka
c78280181d
ntfs_create_symlink(): log error details
2008-03-30 20:00:38 +00:00
szaka
e11c9971a6
rmdir returns ENOTEMPTY instead of EEXIST because glib/nautilus can't handle
...
the latter standard errno value
2008-03-09 13:08:17 +00:00
szaka
0bafbaf9d3
more explanatory error messages when mount fails
2008-03-08 20:21:13 +00:00
szaka
7cff8993b8
ntfs_mbstoucs(): remove unused and broken outs_len
2008-03-08 19:18:20 +00:00
szaka
5fde1785fd
fix driver crash when trying to open files having at least twice as long
...
file name as allowed by NTFS (crash reported by Bernhard Kaindl)
2008-03-08 15:35:01 +00:00
szaka
6ad4be98f6
ntfs_device_mount(): cleanup & more verbose error reporting
2008-03-08 13:08:12 +00:00
szaka
df0177485b
fix incorrect data and allocation sizes in index and inode FILE_NAME
...
attributes for some resident unnamed $DATA attributes and for which CHKDSK
reported minor inconsistencies.
2008-03-08 12:04:25 +00:00
szaka
5617176383
fix compiler warnings
2008-02-16 17:05:38 +00:00
szaka
de7a19352e
ntfs_log_set_handler(): log as ntfs-3g
2008-02-09 15:18:25 +00:00
szaka
65996b036a
add 'remove_hiberfile' mount option to be able rw mount hibernated volumes
2008-02-03 16:35:25 +00:00
szaka
4d9c861176
ntfs_index_lookup(): fix potential double free()'s on error paths
2008-02-02 16:55:04 +00:00
szaka
dc1677b58e
ntfs_index_lookup(): fix potential double free() on error paths
2008-02-02 16:43:05 +00:00
szaka
490f7e49b8
ntfs_ir_lookup(): set attribute search context pointer to NULL on error
...
paths to prevent potential double free()'s
2008-02-02 15:27:34 +00:00
szaka
5ef093294d
remove unused ib_vcn field from ntfs_index_context
2008-02-02 14:51:40 +00:00
szaka
a723dc0bb6
ntfs_ib_write(): remove redundant vcn argument
2008-02-02 14:46:08 +00:00
szaka
6066e9f04d
fix: empty index block is EIO, not EOPNOTSUPP
2008-02-02 13:19:00 +00:00
szaka
a7b27505ea
fix: file/dir removal/rename may have been denied as "Operation not supported"
2008-02-02 13:14:17 +00:00
szaka
b4764d8a9d
remove unused max_depth field from ntfs_index_context
2008-02-02 12:36:28 +00:00
szaka
d776c52209
ntfs_index_lookup(): fix typo in previous commit
2008-02-02 12:34:06 +00:00
szaka
81a74bfbec
ntfs_index_lookup(): fix memory leak on an unlikely error path
2008-02-02 12:28:17 +00:00
szaka
23dfee4366
ntfs_delete(): factor out ntfs_index_remove()
2008-02-02 12:15:31 +00:00
szaka
a1402b3c3e
new: ntfs-3g exit() value is set according to the type of mount error (e.g.
...
not ntfs, corrupted, access denied, hibernated, unclean journal, etc)
2007-12-15 09:17:17 +00:00
szaka
67997a4d88
New: built-in FUSE support by using a 50% stripped down, internal
...
FUSE library which linked statically into libntfs-3g. Linux
uses this one by default.
New: the --with-fuse=external configure option makes ntfs-3g to be
compiled with an external FUSE library. For non-Linux operating
systems this is the default and the only option currently.
New: rewritten, backwards compatible build system.
New: README file is installed as documentation.
New: the --enable-ldscript configure option uses ldscript instead of
.so symlink
New: the --disable-mtab configure option disables and ignores the
usage of /etc/mtab
New: added libntfs-3g.pc.in pkg-config and libntfs-3g.script.so.in
ldconfig files
Change: use 'make install-strip' instead of 'make strip'
(Alon Bar-Lev, Miklos Szeredi, Szabolcs Szakacsits)
2007-12-06 20:44:10 +00:00
szaka
6523139d60
fix: ntfs_inode_sync_file_name() don't close root dir many times in error paths
2007-11-19 00:10:09 +00:00
szaka
4ab5ed8a49
fix: successful file/directory removal may reported "Input/Output error"
2007-11-18 22:37:04 +00:00
szaka
008cac84fb
atime update works (Yura Pakhuchiy, Szabolcs Szakacsits)
2007-11-18 14:08:44 +00:00
szaka
78845d0898
ntfs_readdir(): fix reading dirs with over 600,000 files (GeorgeK, Szaka)
2007-11-15 07:35:19 +00:00
szaka
d4b91d350c
posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits)
2007-11-15 07:33:40 +00:00
szaka
ac25bd2295
workaround gcc 4.[01] crash (bsm, Loris Boillet, Kano, Szaka)
2007-11-03 23:19:18 +00:00
szaka
061c6dd9d8
NAttrSetFlag(): don't log bogus errors
2007-10-28 11:13:00 +00:00
szaka
b032c0e68b
fix free space calculation for >1 TB volumes
2007-10-27 20:38:21 +00:00
szaka
6be9b754b6
factor out ntfs_attr_get_free_bits()
2007-10-27 20:10:34 +00:00
szaka
4ac2b247cc
ntfs_inode_attach_all_extents(): fix big-endianness (rsync may failed)
2007-10-26 00:46:59 +00:00
szaka
f24a38f0d6
non-inline ntfs_fuse_is_named_data_stream & NAttr* functions: 500+ bytes saved
2007-10-25 22:22:24 +00:00
szaka
0c06669db6
struct ntfs_logging: workaround for broken gcc format attribute handling
2007-10-25 20:09:29 +00:00
szaka
e338f95879
ntfs_file_record_read(): logging cleanup
2007-10-25 20:03:10 +00:00
szaka
c48091cf9d
ntfs_ir_truncate(): log only the real errors
2007-10-25 18:57:50 +00:00
szaka
11dbdf51be
ntfs_security_hash(): big-endian fix (Erik Larsson)
2007-10-22 18:50:01 +00:00
szaka
42444cdd94
fix 64-bitness printf format string compiler warnings (Jean-Pierre Andre)
2007-10-10 20:45:19 +00:00
szaka
4e85b2465d
fix 64-bitness printf format string compiler warnings (Jean-Pierre Andre)
2007-10-10 20:12:38 +00:00
szaka
ff5d2522cc
remove bogus format attribute which caused some gcc to crash
2007-10-10 19:19:57 +00:00
szaka
925c1cff30
fix warnings
2007-10-08 22:02:38 +00:00
szaka
d4b4b41191
fix: unwritten sparse file regions could get corrupted if the end of a
...
write wasn't aligned to cluster boundary.
2007-10-03 21:09:30 +00:00
szaka
2caeb1b4e4
max_empty_bit_range(): 30-50% speed up (David Fox)
2007-10-03 21:04:53 +00:00
szaka
f557e5f6ba
optimization: find(1) is 20-200% faster for disk based and 300-600% faster
...
for memory cache based directory traversals
2007-09-26 20:40:18 +00:00
szaka
ffa355c0f8
statfs() and free inode calculation is O(1) (David Fox, Szabolcs Szakacsits)
2007-09-26 19:32:26 +00:00
szaka
8796b5ee89
ntfs_volume_check_hiberfile(): remove unused variable
2007-09-26 19:20:10 +00:00
szaka
64f9f0dc1a
ntfs_volume_check_hiberfile: relaxed too strict check: if the hiberfil.sys
...
header has garbage then the volume is not hibernated
2007-09-12 21:11:12 +00:00
szaka
a97c661efe
statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits)
2007-09-12 20:51:06 +00:00
szaka
a4277b3d0f
ntfs_attr_pwrite: write cluster size blocks if it's possible when expanding
...
attributes. This will cause the kernel not to seek and read disk blocks for
filling the end of the buffer which increases write speed at least by 2-11
fold typically. (David Fox, Szabolcs Szakacsits)
2007-09-09 21:39:37 +00:00
szaka
d70399e3c4
Scatter objects more far from each other to reduce disk fragmentation.
...
This greatly helps multi GB size file write performance, especially after
writing tens of thousands smaller files.
2007-09-09 21:26:37 +00:00
szaka
c9172f66cf
add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov)
2007-09-02 12:38:29 +00:00
szaka
19a3585d23
ntfs_volume_startup: cleanup
2007-08-25 21:20:28 +00:00
szaka
718160d167
fix compilation with glibc 2.7 (Tom "spot" Callaway)
2007-08-25 20:27:02 +00:00
szaka
965dd72bb3
Add --disable-library option: don't install libntfs-3g but link into ntfs-3g.
...
Binary size is 10-15% down, performance is 2-5% up (Bernhard Kaindl)
2007-08-23 22:32:25 +00:00
szaka
d2fab4e71f
fix: utimes() shouldn't update the parent dir mtime (Wayne Sherman, Szaka)
2007-08-10 15:01:21 +00:00
szaka
a7e4d503e2
fix: rename may updated mtime for some files/dirs (Wayne Sherman, Szaka)
2007-08-09 14:11:54 +00:00