Commit Graph

1126 Commits (1b5fb2693cc59c071edb627ee2d952e83d473543)

Author SHA1 Message Date
Yura Pakhuchiy a81520731c Install mount.fuse.ntfs symlink (to match mount with subtype=ntfs option) 2007-09-23 00:50:45 +03:00
Yura Pakhuchiy 42f475f552 ntfsmount: Cache directory in which was performed last operation 2007-09-23 00:37:49 +03:00
Yura Pakhuchiy 4f7f0f654e ntfsmount: Implement .fgetattr() 2007-09-21 17:58:07 +03:00
Yura Pakhuchiy 36af29fe72 ntfsmount: Implement .ftruncate() 2007-09-21 17:50:40 +03:00
Yura Pakhuchiy 3f8abbf2ca ntfsmount: Implement .create() 2007-09-21 17:40:22 +03:00
Yura Pakhuchiy d1a7006798 ntfsmount: Introduce macro NTFS_FUSE_GET_NA for receiving ntfs_attr* from fuse_file_info* 2007-09-21 15:51:50 +03:00
Yura Pakhuchiy 5151f826c4 ntfsmount: Save pointer to ntfs_attr in (fuse_file_info *)->fh and use it in ntfs_fuse_{read,write} 2007-09-20 15:46:31 +03: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 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 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 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 65a81e3563 ntfsclone do bad things about endians, so revert it to original state and put mark on it to not perform sparse bitwise checks 2007-08-23 17:58:52 +03:00
Yura Pakhuchiy 6df32ed1ab ntfsinfo: Dump content of LOGGED_UTILITY_STREAM in hex in verbose mode 2007-08-22 19:30:12 +03:00
Yura Pakhuchiy 4b58df6817 New API: ntfs_attr_get_name
Add new API ntfs_attr_get_name - returns pointer to unicode name of attribute.

TODO: I believe we have several such local helpers in ntfsprogs and libntfs.
Find and replace them with this one.
2007-08-22 19:28:44 +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 ea4d352f7e Fix sparse warnings from git HEAD version 2007-07-21 22:01:57 +03:00
Yura Pakhuchiy 8981594cf0 ntfsdecrypt: Fix sparse warnings. 2007-06-30 20:19:25 +03:00
Yura Pakhuchiy d059090386 info: nice LCN dumping 2007-06-08 13:48:28 +03:00
Yura Pakhuchiy 0d264b7d25 Introduce sparse endian annotations. Adopt library (also fix 2 real bugs) and progs (lots of bugs). 2007-06-08 13:47:57 +03:00
Yura Pakhuchiy e6620be16d Do not create holes in ntfs_attr_pwrite that will be instantiated right after creation
* Add new API: __ntfs_attr_truncate that allow user to select whether holes should be created or clusters allocated
* Update ntfs_attr_pwrite and ntfscp to use it.
2007-06-08 13:35:47 +03:00
Yura Pakhuchiy 52d034e5f3 ntfsmount: fix errno in truncate() operation 2007-06-08 13:34:16 +03:00
aia21 62d49cb175 Minor updates for OSX compatibility, i.e. glibtoolize not libtoolize, and
automake 1.10 fix, etc.
2007-03-19 14:39:44 +00:00
yura 2c7fd02349 ntfsmount: use utimens() instead of deprecated utime(). 2007-03-13 18:52:02 +00:00
yura 01dad951c2 minor cleanups 2007-03-13 18:39:47 +00:00
aia21 3575e2089e - mkntfs: Use Vista $Boot rather than XP one. (Anton) 2007-03-06 15:44:30 +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
aia21 f6adc3fc78 - mkntfs: Create more Vista like volumes. We now match the security
descriptor attributes (but not yet the security descriptors stored in
  $Secure).  (Anton)
- libntfs: Rewrite ntfs_upcase_table_build() to generate a Vista
  compatible upcase table ($UpCase).  (Anton)
- mkntfs: Remove own generation of upcase table, i.e. delete
  ntfsprogs/upcase.[ch] and use ntfs_upcase_table_build() supplied by
  libntfs.  (Anton)
2006-12-19 16:31:52 +00:00
yura bedd6f4a13 add some debug output useful on freebsd for aligned access testing 2006-12-18 13:32:58 +00:00
aia21 0911eb8b0d Make volumes created with mkntfs more compliant with Vista (still not finished). 2006-12-15 14:52:43 +00:00
aia21 5f3079c2bb Fix ntfstruncate build breakage. 2006-12-13 10:51:32 +00:00
aia21 19257df7f0 Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself.
- mkntfs: As announced, remove the deprecated support for creation of
  NTFS 1.2/3.0 volumes.  We now create NTFS 3.1 volumes only.  (Anton)
- mkntfs: Remove lots of unused/unneeded debugging code.  (Anton)
2006-12-13 10:46:49 +00:00
aia21 78c46fd3c3 - Do not create object id attribute on NTFS 1.2 volumes.
- Create object id attribute after volume flags attribute.
2006-12-13 09:17:14 +00:00
aia21 1a4fb3431c - mkntfs: Generate a random DCE compliant UUID for the created volume
and include --with-uuid[=PFX] and --without-uuid options.  (Anton)
- configure.ac: Set language to C.  (Anton)
- mkntfs: Always set default cluster size to 4096 bytes regardless of
  volume size.  This is what Windows Vista does and it makes perfect
  sense from a performance point of view.  (Anton)
2006-12-13 00:11:50 +00:00