aia21
a32aa26d0b
- Fix ntfsresize to unmount the volume when finished/exiting so it does
...
not leave the volume in an inconsistent state. Somewhat crude
solution using atexit() but it works... (Anton)
2006-11-28 11:00:52 +00:00
aia21
5302d23f7b
- Empty the journal at mount time. (Anton)
...
- Set the volume dirty bit at mount time (if it is not set already and
clear it again at umount time but only if it was not set to start
with. (Anton)
2006-11-28 10:09:56 +00:00
yura
fbfbe3b48e
force distro developers to fix their broken init scripts
2006-11-25 21:44:35 +00:00
yura
f738f39bdf
oops, introduced stupiedness during one of recent cleanups
2006-11-25 21:35:39 +00:00
yura
f12f4aefb7
ntfs_log_error("Failed.\n") is evil. TODO: Implement ntfs_log_errortrace
2006-11-25 21:10:35 +00:00
yura
3cd59df400
bit more nice error messages
2006-11-25 18:38:47 +00:00
yura
8df298aec2
Introduce MNT_NTFS_NOT_EXCLUSIVE mount option that tells libntfs do
...
not open volume exclusively. Useful if libntfs user cares about this
himself, eg. FUSE with blkdev option.
2006-11-25 17:37:37 +00:00
yura
4b7868ddc2
ntfsmount: Umount volume in DESTROY. This is guarantees that all data would be s
...
ynced before umount return for volumes mounted with blkdev option.
Thanks to Miklos for information about blkdev.
2006-11-25 14:57:54 +00:00
yura
668780d84d
bot more verbose debug
2006-11-25 14:28:47 +00:00
yura
18c8f75c7b
make ntfs_attr_rm to always close attribute (both on success and failure)
2006-11-22 18:28:13 +00:00
szaka
331dad587c
fix: POSIX requires st_blocks to be in 512 byte unites (Yuval, Yura)
2006-11-21 21:26:42 +00:00
yura
05a034e423
fix st_blocks calculation
2006-11-21 16:24:37 +00:00
yura
4adc3817c6
ntfsmount: always accept {f,d,}mask in octal to be as mount command
2006-11-21 15:40:56 +00:00
yura
b538578ab7
Fix free clusters and MFT records calculation
2006-11-21 15:31:09 +00:00
yura
c14589175f
apply latest fixes from ntfs-3g to enddianess
...
now everything should work on BE machines!
2006-11-20 17:44:36 +00:00
yura
0da86b6723
port from ntfs-3g fixes to error cases in index code
2006-11-20 17:30:13 +00:00
yura
a604622314
Windows cares only about first 4 records in $MFTMirr and ignores
...
everything beyond them. Update libntfs behaviour to be like in
windows. Leave @mftmirr_size for case if will want to change something in the
future.
2006-11-20 16:21:57 +00:00
yura
ef66794423
cleanups
2006-11-20 15:59:14 +00:00
yura
f7fe727b09
80 chars lines long fixes
2006-11-19 20:19:18 +00:00
yura
b33658bc61
cleanups
2006-11-17 22:51:29 +00:00
yura
18dec0543d
add support for read errors in free disk space calculation (szaka)
2006-11-17 22:35:21 +00:00
yura
188cbd9a41
use optarg instead of argv[optind - 1]
2006-11-17 22:14:55 +00:00
yura
7d1016fe97
Treat filenames in POSIX namespace as case insensitive in case of case insensitive mounts.
2006-11-15 23:15:17 +00:00
szaka
bc817d9de4
update to version 0.20061115-BETA
2006-11-14 20:14:23 +00:00
szaka
c842f28870
fix compilation warnings
2006-11-14 20:07:13 +00:00
szaka
30e099de17
point users to FUSE setup/install problem instead suggesting an NTFS issue
2006-11-14 18:47:19 +00:00
szaka
1fe361a4b7
new: bmap() -- safe swap file support, LILO bootability (Szeredi, Szaka)
2006-11-13 23:05:36 +00:00
yura
0ac08318a6
use nice error messages from ntfs-3g
2006-11-13 17:01:53 +00:00
yura
9635a4793e
Disable debug logging by default (seriously increase speed)
2006-11-13 15:38:43 +00:00
szaka
6c120f3d35
fix: unmount wasn't synchronous for block devices
2006-11-12 23:34:50 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
szaka
538349c592
ntfs_device_unix_io_open: check for block device early on
2006-11-12 21:29:12 +00:00
szaka
8c45b819fa
compilation requires FUSE API version 26
2006-11-12 15:24:53 +00:00
szaka
16971593a6
fix: arguments were missing on the 2nd fuse mount attempt
2006-11-12 15:23:49 +00:00
szaka
b2ce68ed26
fix FUSE API 26 crash during exit (Szeredi, Szaka)
2006-11-11 20:12:40 +00:00
szaka
fc448b311e
upgrade to FUSE API version 26 (FUSE 2.6.0) -- features, fixes require this
2006-11-10 23:36:25 +00:00
szaka
f8d6b01e99
unconditionally sync device
2006-11-10 23:08:06 +00:00
szaka
40ea28867d
unconditionally log errors
2006-11-10 23:02:18 +00:00
yura
cb5f0a1e94
* fmask=0111 and dmask=0 by default
...
* bit more nice mount messages
2006-11-10 17:23:12 +00:00
yura
28f24fbc2c
revert factoring out ntfs_attr_fill_hole(), agree that it should be refactored,
...
but passing all args as pointers and changing them there (especially
update_from that changes only inside new function, but rollback depends on it
in pwrite)
2006-11-10 16:07:45 +00:00
yura
f2e1ff96d2
Spent really a lot of time applying various "optimizations" from ntfs-3g and
...
finally figured out that ntfs-3g is faster than ntfsmount only because of
3 reasons:
1) turned on noatime option by default
2) ntfs-3g builds without debug output by default
3) the only real optimization: almost always add resident attributes.
However by accident patch in ntfs-3g for 3) breaks several code paths (why
I am not surprised?), thus I rewrote whole ntfs_attr_add() logic.
2006-11-09 21:19:11 +00:00
szaka
94b94568e3
add ntfs_attr_remove(); convert its users
2006-11-08 21:36:29 +00:00
szaka
09dd3c34bc
ntfs_fuse_removexattr(): reorder free space outdating
2006-11-08 20:27:45 +00:00
szaka
13ab497b7c
ntfs_attr_rm(): fix inconsistent deallocation of *na; adapt its users
2006-11-08 20:00:28 +00:00
aia21
025f07a269
Make a little nicer.
2006-11-07 10:37:25 +00:00
szaka
342e2d7af6
big-endian fixes (zhanglinbao, yuval, szaka)
2006-11-06 23:17:08 +00:00
szaka
387728c1e7
Fix Yuval's name (yuval)
2006-11-06 22:27:30 +00:00
szaka
7be2eeb930
ntfs_ie_dup_novcn(): fix null pointer dereference if malloc failed (Yuval)
2006-11-06 22:26:11 +00:00
yura
d556675a29
Fix typo and build with disabled error handling
2006-11-06 17:11:02 +00:00
yura
45e3b4acd0
upgrade to FUSE 2.6 API
2006-11-06 12:51:44 +00:00