Commit Graph

4614 Commits (dba29ee6e70708f3ca2cb7bd93ececf62c20520f)
 

Author SHA1 Message Date
szaka 5adb30912a implement the .create fuse method: this should solve the problem of
open("file", O_CREAT, S_IREAD) besides it improved file creation performance
by 20% (Jean-Pierre Andre, Szabolcs Szakacsits)
2007-09-16 18:33:53 +00:00
Yura Pakhuchiy e5690b57d4 Allow mounting volumes with non-clean logfile with force mount option.
Volume left dirty upon umount. So, this is equal to running ntfsfix and then mounting with force option.
2007-09-16 00:15:46 +03:00
Yura Pakhuchiy bf3a7442eb ntfs_attr_pwrite: Write 4096 bytes blocks when possible. (David Fox, Szaka, Anton, Yura) 2007-09-15 23:09:20 +03:00
Yura Pakhuchiy 37476cf609 Introduce NTFS_MNT_FORCE instead of third parameter of utils_mount_volume 2007-09-15 18:12:32 +03:00
Yura Pakhuchiy 57cc7904c9 cleanups (Szaka) 2007-09-15 17:31:39 +03:00
Yura Pakhuchiy 942519d093 ntfsmount: Add bmap support. (Szaka, Yura) 2007-09-14 18:53:46 +03:00
Yura Pakhuchiy 5e4341c0ac Do not refuse mount if there is garbadge in hiberfil.sys file. (Szabolcs Szakacsits) 2007-09-14 13:09:14 +03:00
Yura Pakhuchiy e248e6b986 Make libntfs keep track number of free clusters and MFT records.
Thanks for idea to David Fox and Szabolcs Szakacsits.
2007-09-14 12:59:55 +03:00
Yura Pakhuchiy f5b9888eb6 formatting 2007-09-13 23:05:18 +03:00
Yura Pakhuchiy 398755a75e ntfsmount: Implement {no,}relatime (relative atime) options.
According to http://userweb.kernel.org/~akpm/mount-relative-atime.txt
Only several lines with new time handling ;-)
2007-09-13 20:42:00 +03:00
Yura Pakhuchiy e9f9d9905f Cleanup 2007-09-13 16:07:48 +03:00
szaka e4808122f4 release 1.913 2007-09-12 21:18:33 +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
Yura Pakhuchiy 5d05d42d05 properly fix st_blocks calculation 2007-09-12 17:52:21 +03:00
Yura Pakhuchiy 31a39d2a37 Fix memory corruption in case option parsing failed. 2007-09-12 16:43:27 +03:00
Yura Pakhuchiy 3504cc8796 Handle atime option 2007-09-12 16:15:54 +03:00
Yura Pakhuchiy ba89f9ebf4 More sane set-uid-root handling 2007-09-12 15:55:37 +03:00
Yura Pakhuchiy 9cd3246db7 cleanup 2007-09-11 20:56:34 +03:00
Yura Pakhuchiy 28226c183b Mount block devices with blkdev mount option 2007-09-11 19:46:20 +03:00
Yura Pakhuchiy 3b99cee600 Fix directory corruption in index code. (Szaka)
TODO/FIXME: This hardly readable code definitely needs rewrite. Take index.c from 1.13.1 and implement all properly.
2007-09-11 16:58:01 +03:00
Yura Pakhuchiy a9a1f28cf5 Fix previous fix to filler :) 2007-09-11 16:46:29 +03:00
Yura Pakhuchiy cc166f9f42 ntfs_readdir, ntfs_fuse_filler: return with error if FUSE filler failed. (Szaka) 2007-09-10 21:21:39 +03:00
Yura Pakhuchiy 030ea75bef Rename rpm ntfsprogs-fuse to ntfsmount 2007-09-10 19:26:38 +03:00
Yura Pakhuchiy a1103ccd61 Fix syslog logging handler to take in respect all logging flags.
This makes ntfs_log_perror, ntfs_log_trace, etc., behave correctly when
beeing used with it.
2007-09-10 18:38:29 +03:00
szaka fd9f27aae4 release 1.910-RC 2007-09-09 21:46:39 +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
Yura Pakhuchiy 54d7899368 Workaround windows defragmentation tool bug.
Windows defragmentation tool do not update name offset correctly for unnamed
attributes, but chkdsk do not like when it negative, so do not change it at all
if it would become negative.  (Szaka)
2007-09-07 15:50:29 +03:00
Yura Pakhuchiy b392bd17c8 ntfsmount: Submit inode number during readdir
Some broken programs rely on that filesystem will submit inode number during
readdir() (what is optional). Make them happy since it is really not a problem.
(Ted Anderson, Szaka)
2007-09-07 15:39:30 +03:00
Yura Pakhuchiy ec2afb736c Fix cache handling in utils_attr_get_name. (Thanks to Bogdan for finding this bug) 2007-09-07 15:31:33 +03:00
Yura Pakhuchiy 82df6c1fea Rework time updates
- Library no longer perform time updates, only provide API for this
- Remove ntfs_inode_update_{a,}time() and introduce ntfs_inode_update_times()
- Make ntfsmount properly update times
- ntfs_delete() now takes pointer to pointer to ntfs_inode for while to delete and closes inode only in cases no more hard links left to file
2007-09-06 18:34:38 +03:00
Yura Pakhuchiy a1124ce7f4 Fix recent denial of __ntfs_create in reparse point 2007-09-06 18:11:53 +03:00
Yura Pakhuchiy 58ab68b024 ntfsmount: remove some traces of legacy code 2007-09-06 13:51:48 +03:00
Yura Pakhuchiy 9f51bdfd05 Catch and deny all junction/reparse point write operations. (Szaka) 2007-09-05 21:19:53 +03:00
Yura Pakhuchiy 7d6a8f2767 ntfs_ie_add(): cleanup (Szaka) 2007-09-05 21:00:16 +03:00
Yura Pakhuchiy aec646eebc Do not force debug output to be always shown even if --enable-debug specifiend during configure. Let user choose in runtime. 2007-09-05 16:47:03 +03:00
Yura Pakhuchiy 4679daa0af Fix hole instantiating and new API ntfs_rl_fill_zero
Thanks to Szaka for finding this bug and idea of factoring out zero filling code.
2007-09-05 16:38:51 +03:00
Yura Pakhuchiy 219d353226 Fix corner case in hole instantiating in ntfs_attr_pwrite(). (Szaka) 2007-09-04 17:20:13 +03:00
Yura Pakhuchiy 95b044cff3 Small enchantments and cleanups from ntfs-3g 2007-09-03 19:51:13 +03:00
Yura Pakhuchiy 3b64a5a512 trailing spaces 2007-09-03 19:39:24 +03:00
szaka c9172f66cf add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov) 2007-09-02 12:38:29 +00:00
szaka 921457fd65 add ntfs_rol32 and ntfs_ror32 2007-09-02 12:36:33 +00:00
szaka 8e86ba6e8f point to the detailed Changelog and give help how it can be generated 2007-09-01 11:39:53 +00:00
szaka 3ef37024df remove unused list.h header file 2007-09-01 11:28:43 +00:00
szaka f53489f1f3 release 1.826 2007-08-25 21:23:54 +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 203978705f Unconditionally apply --disable-ldconfig if --disable-library used 2007-08-23 22:53:13 +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