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
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
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
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
28226c183b
Mount block devices with blkdev mount option
2007-09-11 19:46:20 +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
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
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
58ab68b024
ntfsmount: remove some traces of legacy code
2007-09-06 13:51:48 +03:00
Yura Pakhuchiy
95b044cff3
Small enchantments and cleanups from ntfs-3g
2007-09-03 19:51:13 +03:00
Yura Pakhuchiy
ad0c5f59c9
Transparently integrate reading of encrypted files into library
...
This adds crypto.[ch], several exported functions that you are not interested
to use and dependency on >=libconfig-1.0.1 to read list of PFX files with keys.
See libntfs/config for example configuration file.
2007-08-22 16:55:57 +03:00
Yura Pakhuchiy
efe2c9642c
minor cleanup
2007-08-16 13:52:18 +03:00
Yura Pakhuchiy
52d034e5f3
ntfsmount: fix errno in truncate() operation
2007-06-08 13:34:16 +03:00
yura
2c7fd02349
ntfsmount: use utimens() instead of deprecated utime().
2007-03-13 18:52:02 +00:00
yura
857573a2e4
minor style fix and changelog description
2007-01-07 19:19:53 +00:00
uvman
dcc13dca8b
ni->allocated_size for resident files is rounded up to multiples of 8. A '>> 9' on such value may round up or down. Fix it to always round up. Samba 3 use st_blocks to detect if a file is sparse. ActiveSync 4 fails on sparse files.
2007-01-07 19:08:22 +00:00
yura
197a4cc756
- upgrade to new shiny fuse option parsing API instead of my old hackish one (more readable and -4kb code)
...
- remove show_sys_files and add case_insensitive options
2007-01-03 18:27:10 +00:00
yura
bedd6f4a13
add some debug output useful on freebsd for aligned access testing
2006-12-18 13:32:58 +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
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
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
18c8f75c7b
make ntfs_attr_rm to always close attribute (both on success and failure)
2006-11-22 18:28:13 +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
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
yura
0ac08318a6
use nice error messages from ntfs-3g
2006-11-13 17:01:53 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +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
45e3b4acd0
upgrade to FUSE 2.6 API
2006-11-06 12:51:44 +00:00
yura
c65bacb25b
ntfsmount: require FUSE version >= 2.6.0 for build. Fixes fusermount
...
lookup problem and allows to drop compatibility code.
2006-11-05 21:40:57 +00:00
yura
116a467dc0
* fix ntfsmount build
...
2006-11-05 14:42:46 +00:00
uvman
7d585a0327
Change callers of malloc() to ntfs_malloc() (Szaka). Fix compilition (Yuval).
2006-11-01 13:30:40 +00:00
yura
b1583bdce6
Fix several memleaks
2006-10-27 14:15:32 +00:00
aia21
14659dfc20
Fix ntfsmount compilation.
2006-05-19 04:22:53 +00:00
cha0smaster
d0cd21d4e3
vimspell rules
2006-05-15 21:35:38 +00:00
cha0smaster
8842271dde
This code should be in fuse, if should exist at all.
2006-04-27 22:22:02 +00:00
szaka
a3ec003be1
Workaround for libfuse not being able to find fusermount when mount(8) used
2006-04-27 21:05:38 +00:00
szaka
c7a53338c0
Fix all incorrect getopt_long() return value usages.
2006-04-05 12:43:06 +00:00