Commit Graph

50 Commits (c42c502e92c977bac7031f3b7092ec7143548c80)

Author SHA1 Message Date
Erik Larsson 8d06955ea4 Cleaned up and moved label changing functionality into libntfs-3g.
The label changing code in ntfslabel was cleaned up and modified to use the more
advanced functionality of libntfs-3g instead of using older custom code to
resize and create resident attributes.
The core label changing functionality was also moved into the library so it can
be reused by other programs.
2011-09-13 09:43:30 +02:00
Erik Larsson 182c5c2a2f Fix: Forgot to update state bits after last change. 2011-08-03 15:49:40 +02:00
Erik Larsson 7f2d1efa82 Bugfix: ntfs_mft_load didn't fill in the size fields in the $MFT inode. 2011-08-03 11:13:40 +02:00
Jean-Pierre André 571dbc5784 Fixed device path canonicalization for use by devmapper (basilinya)
For some reason, when the monted device is "/dev/mapper/*", a record
in the form "/dev/dm-*" ends up in /etc/mtab and the device cannot be
unmounted.

The reason is unclear, the /dev/mapper name is not a symlink, and the
function doing the name change is not known. No detailed feedback from
the users having met the issue.

The patch changes the name back to the /dev/mapper name after realpath()
is called, and, if there is an actual change, both the name passed to
ntfs-3g and the one passed to fuse and mount are logged in the hope
of getting a clue about what is happening.

But ntfs-3g is probably not the right place for a fix.
2011-07-05 12:17:12 +02:00
Szaka f246d6ce97 Update ntfs-3g.org references 2011-03-27 15:29:48 +03:00
Jean-Pierre André 4c6cf9d977 Moved the knowledge of default upcase size to unistr.c 2011-02-08 13:52:12 +01:00
Jean-Pierre André d4e2a501a5 Enabled forensic mounting 2010-12-21 15:51:07 +01:00
Jean-Pierre André 135cb75249 Fixed logging corrupted $UpCase 2010-11-09 09:40:02 +01:00
Jean-Pierre André 563f5dda3f Implemented a basic check on upcase table 2010-10-26 08:59:51 +02:00
Jean-Pierre André 693aa8780d enabled case insensitive file names in lowntfs-3g 2010-05-25 10:12:44 +02:00
Jean-Pierre André 3745d0a1e3 marked files whose name has a dot initial as "hidden" if option hide_dot_files 2010-05-25 09:58:36 +02:00
jpandre 6f72ec189d Logged the outcome of making $TXF_DATA resident 2010-01-16 09:26:01 +00:00
jpandre da39179421 Merged Anton's patch for $TXF_DATA attribute 2010-01-08 11:15:46 +00:00
jpandre c708a2bdee Fixed TXF_DATA attribute on root directory when made non-resident 2010-01-04 08:09:44 +00:00
jpandre 41a371f4a7 Redesigned caches for indexing cached entries 2009-12-17 17:36:06 +00:00
jpandre 9279c2e493 Fixed inappropriate casts 2009-11-25 14:29:08 +00:00
jpandre a75724fea8 Fixed a few misleading endianness types 2009-11-24 14:18:53 +00:00
jpandre f259fb44df Improved cluster allocation on volumes too filled 2009-07-01 19:16:33 +00:00
jpandre 1e822076d6 Adapted to ntfs-3g.2009.3.8 2009-03-27 09:15:24 +00:00
jpandre a13ee0c82c Fed the free spaces in context for calls from security API 2009-03-27 08:36:07 +00:00
jpandre 93b695f1cc Adapted to ntfs-3g-2009.2.1 2009-02-12 20:32:21 +00:00
jpandre 11216c6942 Adapted to ntfs-3g-2009.1.1 2009-01-23 11:11:44 +00:00
jpandre d3f3a19866 Adapted to ntfs-3g.1.5222-RC 2009-01-05 13:28:06 +00:00
jpandre e5286c09d6 Adapted to ntfs-3g.1.2926-RC 2008-09-19 13:39:38 +00:00
jpandre 412838056a Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +00:00
jpandre 7c05f13884 Adapted to ntfs-3g-1.2531 2008-05-30 07:40:22 +00:00
jpandre 2fa89952ff Fixed cache creation when mount fails 2008-03-12 16:22:24 +00:00
jpandre 53fa335624 Adapted to ntfs-3g.1.2310 2008-03-10 15:35:54 +00:00
jpandre a38b79897d Adapted to ntfs-3g.1.2216 2008-02-18 15:15:13 +00:00
jpandre 2ff8218406 Adapted to ntfs-3g-1.2121-RC 2008-01-23 08:16:23 +00:00
jpandre 038156ba82 Reengineered LRU caches, made generic, and applied to finding inode numbers 2008-01-10 17:32:55 +00:00
jpandre 3a51d80655 Adjusted to v 1.1104 2007-11-20 11:05:49 +00:00
jpandre 13a68a1864 Upgraded to v1.1004 2007-10-06 14:48:10 +00:00
szaka 64f9f0dc1a ntfs_volume_check_hiberfile: relaxed too strict check: if the hiberfil.sys
header has garbage then the volume is not hibernated
2007-09-12 21:11:12 +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 0cee6bc4bb remove redundant ntfs_attr_get_search_ctx() error logging 2007-07-13 20:05:48 +00:00
szaka 496c285c5d ntfs_attr_free()/ntfs_inode_free(): don't scare users with bogus errors 2007-07-09 22:18:07 +00:00
szaka b4470951ac remove unused ntfs_device_umount() 2007-06-08 23:11:55 +00:00
szaka 655d656321 ntfs_umount() can return error 2007-06-08 23:09:43 +00:00
szaka b7baa15d03 check ntfs_inode_close() return values
__ntfs_volume_release() can return error
add ntfs_attr_free(), ntfs_error_set() and ntfs_inode_free() helpers
2007-06-08 22:45:48 +00:00
szaka 7c23599df4 support any size $MFTMirr 2007-04-08 20:32:57 +00:00
szaka 5984592552 support read-write mount with the --force option if logfile is unclean 2007-04-08 20:23:11 +00:00
szaka 03e9f7a477 set mft zone to be the minimum of 12.5% of the disk size and 200 MB 2007-03-17 02:03:09 +00:00
szaka 75c60e5486 fix 64-bit warnings (Yuval) 2007-01-09 21:22:58 +00:00
szaka 45630fa43c ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors 2006-12-08 23:55:10 +00:00
szaka ba03f639fe ntfs_device_mount: more verbose error message 2006-12-07 01:06:20 +00:00
szaka f8d6b01e99 unconditionally sync device 2006-11-10 23:08:06 +00:00
szaka 40ea28867d unconditionally log errors 2006-11-10 23:02:18 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00