yura
19089b08bd
one place with mount option description
2006-12-11 03:03:30 +00:00
yura
03fabce6eb
o fix magicNTFS defenition
...
o remove NTFS_SB_MAGIC because it is unusefull
o rename magicNTFS -> NTFS_SB_MAGIC
o make bootsect.c use NTFS_SB_MAGIC instead of hardcoded value
2006-12-11 03:02:23 +00:00
aia21
43b61b82e7
If pread/pwrite are not supported by the OS, set the device pread()/pwrite()
...
pointers to NULL so we automatically use seek() + read()/write() from now on.
2006-12-10 19:38:02 +00:00
aia21
f73d77d568
- Implement ntfs_pread() and ntfs_pwrite() in terms of device
...
operations pread() and pwrite() respectively and fall back to using
seek() + read()/write() if no pread()/pwrite() device operation is
supplied or the OS does not support the pread()/pwrite() system call.
Adapt unix_io pread()/pwrite() device operations to use pread()/
pwrite() system call and adapt win32_io device operations to not
supply pread()/pwrite(). (Csaba Henk, Anton)
2006-12-09 14:01:12 +00:00
aia21
8640540b53
Warn about VOLUME_MOUNTED_ON_NT4 wrt Vista in layout.h and do not set the flag
...
in ntfsfix.
2006-12-09 11:27:37 +00:00
szaka
2bc71e4ee7
ntfs_boot_sector_parse: check sectors value & last sector seekability
2006-12-09 00:02:45 +00:00
szaka
45630fa43c
ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors
2006-12-08 23:55:10 +00:00
szaka
a65b19aa02
fix: 'make install' failed if ldconfig wasn't in the $PATH
2006-12-08 23:47:08 +00:00
szaka
52e0bb19d6
fix: directories were unreadable if the cluster size was bigger than 4kB
2006-12-07 01:11:38 +00:00
szaka
ad1bf014ff
fix: static linking failed because FUSE forgot to require -lrt
2006-12-07 01:09:15 +00:00
szaka
ba03f639fe
ntfs_device_mount: more verbose error message
2006-12-07 01:06:20 +00:00
yura
82747f3c47
ntfsmount: fix rename if destination already exists.
2006-12-06 19:51:59 +00:00
yura
c475778b47
Turn ntfs_pathname_to_inode() into ntfs_pathname_to_inode_num() which
...
returns ntfs inode number instead of opened inode itself.
Reimplement ntfs_pathname_to_inode() as wrapper to new API.
2006-12-06 18:50:13 +00:00
szaka
3cd5cb9c8a
Don't check free space if output file is FIFO (Andree Leidenfrost)
2006-12-03 18:26:58 +00:00
yura
33ffbb2af7
rename --enable-fuse-module to more clear --enable-ntfsmount and cleanup autotools scripts a bit
2006-12-03 14:19:29 +00:00
aia21
0089670e1c
Use NTFS_MNT_FORENSIC with ntfsresize to restore old behaviour as it is
...
documented, i.e. that ntfsresize does not do any modifciations until you say
so. Also reinstate code to do the journal emptying and setting of dirty flag
on the volume because of it. However update the code so that those things are
only done if they were not already the case.
2006-12-03 08:59:57 +00:00
yura
fb40779709
Force using FUSE 2.6.1 that have proper error message in case of missing fuseblk
2006-12-01 16:04:56 +00:00
aia21
f40bef7246
Disable unmounting at the point of no return when we start doing serious
...
modifications to the volume. Hopefully Szaka will be happy now. (-:
2006-11-28 13:45:42 +00:00
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