Commit Graph

106 Commits (f73d77d56845f85ea4a2a309d2efffb72d78afa7)

Author SHA1 Message Date
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
cha0smaster a0d011018b ntfsmount: add no_detach option 2006-02-20 00:32:01 +00:00
cha0smaster 32420ad699 implement POC of syslog logging handler, make ntfsmount to use it 2006-02-13 01:23:31 +00:00
antona af9fd39611 Wheee! Lots of last minute fixes and enhancements.
- Compiler warning fixes for gnome-vfs and fuse modules. (Anton)
- Change volume mounting (actually device opening) to happen with
  O_EXCL bit set so at least on Linux no one can change the device
  block size under our feet.  (Anton)
- Change volume mounting and mkntfs to set the device block size to the
  sector size using BLKBSZSET ioctl (Linux only).  This should be
  optimal for performance and should fixes the bug of not being able to
  create the backup boot sector if the number of sectors on the device
  is odd, the sector size is 512 bytes, and the kernel is 2.4.  (Anton)
- Enforce cluster size, mft record size, and index record size to be at
  least equal to the sector size and verify they are still valid and in
  particular display a warning message if the volume will not be
  mountable by the kernel driver (it requires mft record size and index
  record size to be below or equal to the system page size which we
  determine using sysconf()).  (Anton)
2006-02-03 22:19:17 +00:00
cha0smaster ad13b78697 ntfsmount: fix 25 API compatibility 2006-02-01 23:55:07 +00:00
cha0smaster c11567824a ntfsmount: fix ls output in case some files can not be accessed due to windows named data streams accees interface 2006-02-01 18:24:58 +00:00
cha0smaster 63f5ddb8c2 ntfsmount:
Support FUSE versions from 2.3.0 to 2.5.1 under Linux and 2.5.X under FreeBSD.
Warning tested only under FUSE-2.4.1. Will test under FUSE-2.5.1 at home.
2006-02-01 17:37:34 +00:00
cha0smaster ead758ed7c ntfsmount: Rename "succeed_chmod" -> "silent". Do not return error on chown too. 2006-01-30 21:53:42 +00:00
cha0smaster de23d9f540 determine to where pass kernel_cache option without #if's 2005-12-03 16:40:20 +00:00
cha0smaster e47ed2e413 more warning fixes 2005-12-02 17:09:41 +00:00
cha0smaster 96e6c64860 fix error message 2005-12-01 20:46:03 +00:00
cha0smaster d4872f5045 ntfsmount: Mount point is optional parameter 2005-12-01 13:15:49 +00:00
cha0smaster 77fb717ef3 Fix warnings on FreeBSD 2005-11-30 16:58:03 +00:00
cha0smaster 3001c88d64 Easier FreeBSD support, allow FUSE >= 2.3 for FreeBSD 2005-11-30 16:54:11 +00:00
cha0smaster 172a8bbe4f oops, should do FUSE_USE_VERSION magic before including <fuse.h> 2005-11-29 18:00:06 +00:00
cha0smaster c705170a5f ntfsmount: Add FreeBSD support. 2005-11-29 17:57:53 +00:00
cha0smaster 8298b35bc8 use ntfstime.h instead of time.h 2005-11-27 16:50:45 +00:00
cha0smaster 8afff2c7e2 minor fix to usage output 2005-11-27 15:26:39 +00:00
cha0smaster 25c31eb40b ntfsmount: add static inline to mark free space outdated (Thanks Szaka) 2005-11-25 14:31:29 +00:00
cha0smaster e0787d0983 ntfsmount: Mark information about free MFT records and clusters outdate after write operations everywhere. 2005-11-24 15:06:11 +00:00
flatcap 493b3a6bcd minor corrections 2005-11-22 01:14:36 +00:00
flatcap af6f7606e4 tidy evil roff usage
add/document missing options
add missing authors
standardise program usage()
standardise options look
update download and contact details
2005-11-21 21:25:14 +00:00
cha0smaster f7b087b07d it seems that atime updates in fuse a broken, handle them ourselves 2005-11-16 17:09:12 +00:00
cha0smaster 5266967632 ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time. 2005-11-15 16:41:39 +00:00
cha0smaster 0e808deef1 * update ntfsmount to new logging, remove all #ifdef #DEBUG, add debug option
* ntfsmount: enable kernel_cache for fuse >= 2.4.0 by default
* ntfscp fix style in code introduced by Rich
2005-11-14 12:19:39 +00:00