Jean-Pierre André
54e49e77f1
Fixed cluster mapping ahead of mapped runlist
...
A corner case was wrong and could cause aborted writes with error
"Run lists overlap. Cannot merge" when the clusters required by the
write are described in different MFT extents.
This can only happen in very fragmented files when the cluster size
is smaller than 4096 bytes. It does not cause any metadata corruption.
2011-03-01 12:06:26 +01:00
Jean-Pierre André
29190c9394
Enabled getting the sector size from an ioctl on FreeBSD and MacOSX (Erik Larsson)
...
The sector size is needed for formatting a volume unless forced through
an option or using the traditional sector size.
2011-03-01 12:04:43 +01:00
Jean-Pierre André
285668105c
Fixed dealing with holes when expanding an attribute
2011-02-16 12:17:07 +01:00
Jean-Pierre André
453a8aa501
Updated copyright notices
2011-02-08 11:45:54 +01:00
Jean-Pierre André
1df8ddc199
Moved the knowledge of default upcase size to unistr.c
2011-02-08 11:45:54 +01:00
Jean-Pierre André
1192e02fef
Improved appending data to a long hole
2011-02-08 11:45:54 +01:00
Jean-Pierre André
aabda06ffd
Merged sparse testing when appending with ntfsprogs requirement
2011-02-08 11:45:54 +01:00
Jean-Pierre André
9efb8b60a4
Fixed possible wrong hole size when overwriting compressed data
2011-02-08 11:45:54 +01:00
Jean-Pierre André
13641ad4d6
Switched to the same Upcase table as Vista
2011-02-08 11:45:54 +01:00
Jean-Pierre André
53be5fa9b2
Enabled expanding an attribute without creating a hole
2011-02-08 11:45:54 +01:00
Jean-Pierre André
fc20bbb5b8
Enabled forensic mounting
2011-02-08 11:45:53 +01:00
Jean-Pierre André
2e7f889a72
Moved listxattr() to a specific source module
2011-01-17 15:33:17 +01:00
Jean-Pierre André
c7f958c8ed
Fixed allocated size when an attribute update causes unnamed data to be expelled
2011-01-10 10:53:26 +01:00
Jean-Pierre André
df8d045340
Do not record inode open when failed (debug only)
2011-01-10 10:51:21 +01:00
Jean-Pierre André
17c9f839d5
Fixed deleting files using ignore_case option
2010-12-14 10:46:24 +01:00
Jean-Pierre André
48caa7a45e
Took care of alignments needed on some processors
2010-11-09 09:43:31 +01:00
Jean-Pierre André
a70e40021d
Added detail to an error message to discriminate from a similar one
2010-11-09 09:41:00 +01:00
Jean-Pierre André
135cb75249
Fixed logging corrupted $UpCase
2010-11-09 09:40:02 +01:00
Jean-Pierre André
351aec3f7a
Enabled renaming of system extended attributes
2010-10-26 08:59:52 +02:00
Jean-Pierre André
563f5dda3f
Implemented a basic check on upcase table
2010-10-26 08:59:51 +02:00
Jean-Pierre André
8b910e9e80
Improved names comparing on big-endian computers
2010-10-26 08:59:51 +02:00
Jean-Pierre André
518196ba5e
Improved rebuilding a runlist
2010-10-26 08:59:51 +02:00
Jean-Pierre André
1898b11481
Improved appending data to fragmented files
2010-10-26 08:59:51 +02:00
Jean-Pierre André
dd25fce933
Fixed Posix ACLs for big-endian computers
2010-10-26 08:59:51 +02:00
Jean-Pierre André
a92c57735b
Added an extended attribute name for creation time
2010-10-26 08:59:51 +02:00
Jean-Pierre André
13b578d9b1
Added a big endian extended attribute name for attrib and times
2010-10-26 08:59:51 +02:00
Jean-Pierre André
e1ef554dd2
Grouped system extended attributes functions into a dedicated module
2010-10-26 08:59:51 +02:00
Jean-Pierre André
1afaf16912
Implemented the sync mount option
2010-10-26 08:59:51 +02:00
Jean-Pierre André
ecbc2b9103
Implemented fsync() and fsyncdir()
2010-10-26 08:59:51 +02:00
Jean-Pierre André
dd4910b935
Forced alignment on cached structs
2010-10-26 08:59:51 +02:00
Jean-Pierre André
e40c942f3a
Checked Posix ACL versions
2010-10-01 10:41:32 +02:00
Jean-Pierre André
008d8c5df9
Fixed character translations when standard functions are not available
2010-08-28 13:59:43 +02:00
Jean-Pierre André
d0725eb251
Fixed rounding to cluster end for compressed files
2010-08-06 21:36:38 +02:00
Jean-Pierre André
c6c14cb256
Fixed zeroing the end of fragmented ex-holes
2010-07-22 15:04:53 +02:00
Jean-Pierre André
f76d0aacf1
Fixed processing end of partial runlist for compressed files
2010-07-22 15:02:09 +02:00
Jean-Pierre André
400632dea5
Fixed updating compressed sizes
2010-07-22 15:00:37 +02:00
Jean-Pierre André
891b7e97b3
Improved sanity checks on a security descriptor
2010-07-22 14:49:46 +02:00
Jean-Pierre André
f65aa991a9
Fixed excessive cluster allocation within big holes
2010-07-22 14:48:19 +02:00
Jean-Pierre André
09df7eade5
Fixed creating empty encrypted extended attributes
2010-07-22 14:46:01 +02:00
Jean-Pierre André
5533eb565f
Fixed bad sanity check before compressing (was permissive)
2010-07-22 14:40:24 +02:00
Jean-Pierre André
1377f009e7
Fixed error returns when writing compressed data
2010-07-22 14:39:19 +02:00
Jean-Pierre André
49ab780739
Fixed a sanity check when closing a compressed file
2010-07-22 14:37:01 +02:00
Jean-Pierre André
a52c79b46b
Fixed loops when trying to read a broken compressed file
2010-06-18 14:04:23 +02:00
Jean-Pierre André
b1de6e16fb
Fixed compressed attribute made non resident to leave space for another one
2010-06-18 14:02:58 +02:00
Jean-Pierre André
ed448ea8b4
fixed cached allocation for compressed files
2010-06-14 14:40:17 +02:00
Jean-Pierre André
207318b504
fixed compression when a runlist relocation is needed
2010-06-14 14:33:34 +02:00
Jean-Pierre André
4d73c7c4f1
Fixed characters not allowed by Windows in names
2010-06-03 10:13:30 +02:00
Jean-Pierre André
15c4d282ce
Enable/disable compression according to option
2010-06-03 10:11:42 +02:00
Jean-Pierre André
07d86b0cfd
Reenabled compression in root directory
2010-06-03 10:07:27 +02:00
Jean-Pierre André
ba083200aa
Fixed close() after a fragmented truncate of a compressed file
2010-06-03 10:06:08 +02:00