Commit Graph

4534 Commits (0147a15e1e339ed26dbcba5d2cbd5aeee099a569)
 

Author SHA1 Message Date
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 a1124ce7f4 Fix recent denial of __ntfs_create in reparse point 2007-09-06 18:11:53 +03:00
Yura Pakhuchiy 58ab68b024 ntfsmount: remove some traces of legacy code 2007-09-06 13:51:48 +03:00
Yura Pakhuchiy 9f51bdfd05 Catch and deny all junction/reparse point write operations. (Szaka) 2007-09-05 21:19:53 +03:00
Yura Pakhuchiy 7d6a8f2767 ntfs_ie_add(): cleanup (Szaka) 2007-09-05 21:00:16 +03:00
Yura Pakhuchiy aec646eebc Do not force debug output to be always shown even if --enable-debug specifiend during configure. Let user choose in runtime. 2007-09-05 16:47:03 +03:00
Yura Pakhuchiy 4679daa0af Fix hole instantiating and new API ntfs_rl_fill_zero
Thanks to Szaka for finding this bug and idea of factoring out zero filling code.
2007-09-05 16:38:51 +03:00
Yura Pakhuchiy 219d353226 Fix corner case in hole instantiating in ntfs_attr_pwrite(). (Szaka) 2007-09-04 17:20:13 +03:00
Yura Pakhuchiy 95b044cff3 Small enchantments and cleanups from ntfs-3g 2007-09-03 19:51:13 +03:00
Yura Pakhuchiy 3b64a5a512 trailing spaces 2007-09-03 19:39:24 +03:00
szaka c9172f66cf add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov) 2007-09-02 12:38:29 +00:00
szaka 921457fd65 add ntfs_rol32 and ntfs_ror32 2007-09-02 12:36:33 +00:00
szaka 8e86ba6e8f point to the detailed Changelog and give help how it can be generated 2007-09-01 11:39:53 +00:00
szaka 3ef37024df remove unused list.h header file 2007-09-01 11:28:43 +00:00
szaka f53489f1f3 release 1.826 2007-08-25 21:23:54 +00:00
szaka 19a3585d23 ntfs_volume_startup: cleanup 2007-08-25 21:20:28 +00:00
szaka 718160d167 fix compilation with glibc 2.7 (Tom "spot" Callaway) 2007-08-25 20:27:02 +00:00
szaka 203978705f Unconditionally apply --disable-ldconfig if --disable-library used 2007-08-23 22:53:13 +00:00
szaka 965dd72bb3 Add --disable-library option: don't install libntfs-3g but link into ntfs-3g.
Binary size is 10-15% down, performance is 2-5% up (Bernhard Kaindl)
2007-08-23 22:32:25 +00: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 f5a2ae79a9 Improve endian self-test per discussion with Anton. 2007-08-23 17:39:00 +03:00
szaka 8824fbe7ae Ignore the volume dirty bit because its real meaning is "check the volume"
(set by chkdsk, ntfsresize, ntfsfix) and this is what ext2, ext3, ext4,
reiserfs and xfs do in similar cases. The fact of the real dirtiness is
stored in the NTFS logfile which is already checked for.
2007-08-22 19:59:45 +00:00
Yura Pakhuchiy c0b691ca17 Merge --enable-debug and --enable-debug-logging. Introduce --enable-sparse. 2007-08-22 21:29:19 +03:00
Yura Pakhuchiy 391929cff3 Export NTFS_EFS string 2007-08-22 19:31:24 +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
szaka 1d19c06f6c explain the 'locale' mount option a bit better 2007-08-17 17:13:49 +00:00
Yura Pakhuchiy efe2c9642c minor cleanup 2007-08-16 13:52:18 +03:00
szaka d2fab4e71f fix: utimes() shouldn't update the parent dir mtime (Wayne Sherman, Szaka) 2007-08-10 15:01:21 +00:00
szaka 96d2e7e24f release 1.810 2007-08-09 21:21:13 +00:00
szaka 3b6818862e don't turn on permission checking if umask, fmask or dmask is zero since
the effect were just the opposite users wanted
2007-08-09 21:15:28 +00:00
szaka 742828ab74 fix: unmount (fusermount -u) was denied for an unrpivileged user who was
allowed to mount a block device. FUSE 2.7.0+ is required for the full fix.
2007-08-09 20:11:43 +00:00
szaka a7e4d503e2 fix: rename may updated mtime for some files/dirs (Wayne Sherman, Szaka) 2007-08-09 14:11:54 +00:00
szaka e1e987791b add a section about Windows filename compatibility 2007-08-08 19:07:57 +00:00
szaka 49825fbbee fix hangs in readdir(): ntfs_fuse_filler() returns error if FUSE filler failed 2007-08-08 16:38:26 +00:00
szaka 3b0d3efe40 fix ntfs_readdir(): return with error if filldir() fails 2007-08-08 16:15:15 +00:00
szaka 99ed44885f More explanatory warning if FUSE isn't installed with --exec-prefix=/ 2007-08-06 13:47:59 +00:00
Yura Pakhuchiy 09affc5d42 Whitespaces cleanup 2007-07-31 20:52:36 +03:00
Yura Pakhuchiy 67f0ef364b fix CREDITS to be in utf8, not in mixed encodings 2007-07-23 18:11:39 +03:00
szaka 817e052b80 ntfs_mft_bitmap_find_free_rec: log errno 2007-07-21 22:20:26 +00:00
szaka 75649971f9 ntfs_mft_bitmap_find_free_rec: logging cleanup 2007-07-21 22:18:49 +00:00
Yura Pakhuchiy ea4d352f7e Fix sparse warnings from git HEAD version 2007-07-21 22:01:57 +03:00
Yura Pakhuchiy 87b686f9c9 Undef __bitwise and __force in case someone else defined them before us 2007-07-21 15:13:57 +03:00
Yura Pakhuchiy 311ecc507e Memleak 2007-07-21 15:11:42 +03:00
szaka 8636d42841 ntfs_mft_records_read, ntfs_file_record_read: log all errors 2007-07-20 22:42:19 +00:00
szaka 58e31d44eb ntfs_mft_bitmap_extend_allocation: remove redundant cluster allocation 2007-07-20 22:02:50 +00:00
szaka 6f083fc36f ntfs_mft_bitmap_extend_allocation: rename ret to err to match similar function 2007-07-20 21:52:07 +00:00
szaka ac23ed59c5 add ntfs_inode_base() helper 2007-07-20 21:43:39 +00:00