Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-ntfs-3g: 提交列表

external/ntfs-3g


RSS
Rev. 时间 作者
6deff43 pie-x86 2021-07-06 17:32:32 Chih-Wei Huang

Merge branch 'edge' of git://git.code.sf.net/p/ntfs-3g/ntfs-3g into pie-x86

Change-Id: I78a7e202bfb0934e5000b8c4904c9a5d79dc35d5

28ee8d4 2021-07-06 17:32:15 Chih-Wei Huang

Revert "Change ioctl() cmd argument to be unsigned int"

This reverts commit aa8f2fcf2ba6bd9ab1973c48e06970f33d1e90b0.

56b8e71 2021-01-26 18:06:18 Jean-Pierre André

Fixed a constant string concatenation

Adjust for recent compilers requiring a space between concatenated strings.

094f9b3 2021-01-26 18:06:18 Jean-Pierre André

Fixed a minor endianness ajustment bug

The endianness ajustment was the wrong one though it did the correct thing.

894b7dd 2021-01-26 18:06:18 Jean-Pierre André

Checked the locations of MFT and MFTMirr at startup

On startup make sure the lcns of the MFT and the MFTMirr are not null and
they are different, so that the mounting is denied gracefully if they are.

5d46b32 2021-01-26 18:06:18 Jean-Pierre André

Enabled Recording the special files the same way as WSL

Optionally record the special files (symlinks, fifos, sockets, character
and block devices) using reparse points instead of using Interix representation.
Doing so, the special files are interoperable with Windows Subsystem for
linux (WSL).

172da09 2021-01-26 18:06:17 Jean-Pierre André

Dropped rejecting having both EA and reparse data

Windows traditionally rejected having both EA and reparse data assigned
to a file, but Windows 10 has dropped the constraint and it uses this
condition massively, so do the same. Note that pre-Windows 10 chkdsk.exe
removes the EA' on reparse points, potentially damaging more recent
volumes.

8073ab6 2021-01-26 18:06:17 Jean-Pierre André

Supported use of WSL special file

The Windows Subsystem for Linux (WSL) of Windows 10 uses reparse points
to record special files (symlinks, fifos, sockets, char or block devices).
Honor such reparse points with the same meaning as WSL.

a67746c 2021-01-26 18:06:17 Jean-Pierre André

Relocated the mount point field in volume

The location of the mount point field in the volume attributes was
dependent on compiling options, thus creating an uneasy dependency
for plugins. So relocate the field to be independent on options.

8fa3dd3 2021-01-26 18:06:17 Jean-Pierre André

Defined ntfs_realloc() and ntfs_free()

Currently memory allocations are done through ntfs_malloc() and
ntfs_calloc(), but releases are done through free(3). Defining an
ntfs_free() relay facilitates the debugging of memory leaks in
plugins.

76fe04d 2021-01-26 18:06:17 Jean-Pierre André

Built reparse symlinks from mount point recorded in volume

When building a symlink to emulate a Windows junction or absolute
symlink, use the mount point recorded in the volume attributes.
This enables the plugins to emulate object as symlinks.

c3c5c77 2021-01-26 18:06:17 Jean-Pierre André

Checked file type on OpenIndiana when deleting a file with a reparse point

On OpenIndiana a check is needed to ensure directories are not removed
by rm(1) and files not removed by rmdir(1)

b086c9e 2021-01-26 18:06:17 Jean-Pierre André

Inserted the reparse tag in the bad reparse symlink

The reparse tag is not quoted in the "unsupported reparse point"
fake symlink shown when a reparse point cannot be processed. The tag
is useful to determine which plugin, if any, is missing.

02673bd 2021-01-26 18:06:17 Jean-Pierre André

Enabled actions on directories in reparse plugins

The plugins triggered by reparse points can now act on a directory
through link(2) unlink(2) and creat(2).

4b8a660 2020-11-18 19:33:49 Jean-Pierre André

Fixed maintining the allocated size when updating sparse files

When filling a hole in a sparse file, the beginning of the runlist
does not need to be updated. However the allocated size is within
the extent holding its beginning and it needs to be updated.

7bcae87 2020-11-18 19:29:05 Jean-Pierre André

Allowed customization of sbin for tool directory

Enabled the configure option --sbindir to define where a few ntfsprogs
tools should be installed

903db23 2020-08-25 17:29:42 Erik Larsson

Change default xattr access method to 'openxattr' for macOS builds.

The namespaced way of accessing extended attributes doesn't make sense
in macOS which doesn't use namespaces.

1511a5c 2020-08-25 17:26:29 Erik Larsson

Add support for 'position' argument in macOS xattr functions.

The 'position' argument is only used for the legacy resource fork and is
disallowed for other extended attributes. The name check is placed first
in the functions as this is how macOS behaves (EINVAL is returned if the
attribute is not the resource fork attribute and the position is non-0
even when the attribute does not exist).

4ecc13c 2020-08-24 22:50:18 Erik Larsson

Replace ENODATA with ENOATTR in xattrs functions for macOS builds.

The contract in macOS xattr functions is to return ENOATTR when an
extended attribute cannot be found.

39579a0 2020-08-14 19:03:09 Jean-Pierre André

Fixed possible null dereferencings

A null directory pointer could appear as being dereferenced. Fix that,
though it probably never occurs in real conditions.

cd68a08 2020-08-14 18:57:02 Jean-Pierre André

Recovered space when an index root is shortened

In rare situations, removing an entry from an index root while
rebalancing the index tree, its space was not recovered from the index
root, causing chkdsk to complain. Truncate the index root when this
happens.

d6558f1 2020-08-14 18:50:35 Jean-Pierre André

Defined option "posix_nlink" to compute a Posix compliant st_nlink

When the mount option "posix_nlink" is used, the number of links
returned by stat complies with Posix : the legacy 8.3 names are not
taken into account, and the subdirectories are taken into account
for directories. This causes some overhead for recomputing the
number of links.

1bc996f 2020-08-14 18:36:57 Jean-Pierre André

Avoided information leak when processing garbled compressed data

When a compressed file has been deteriorated through hardware error
or accidental overwriting, some unrelated data could be leaked.
Make sure to zero fill the buffer when this happens.

6bdd1e8 2020-08-14 18:32:50 Jean-Pierre André

Displayed the plugin path in the basic help message

The ntfs-3g plugin directory depends on the distribution and may be
difficult to determine. This displays the directory in the basic help.

5d6fd5c 2020-08-14 18:27:24 Jean-Pierre André

Used kernel cacheing on read-only mounts or with lowntfs-3g

Kernel cacheing is now safe when using lowntfs-3g on Linux. It is also
safe on read-only mounts with both ntfs-3g and lowntfs-3g.

4163390 2020-03-08 18:34:17 Jean-Pierre André

Fixed defining the request argument of ioctl()

An occurrence of changing the request from int to unsigned long was
missing.

3f65ccd 2020-03-08 18:17:21 Jean-Pierre André

Exported the translations of Windows paths

The translations of Windows paths designed for translating Windows symlinks
and mount points may also be used in plugins for translation execlinks,
so make them available.

7cd46f9 2020-03-08 18:03:23 Jean-Pierre André

Fixed object types returned in readdir() for reparse points

The types of reparse point objects cannot be decided upon the data
available in a directory, so we must delegate their determination to a
specific plugin when available, and be consistent if there is none.

aecd9f0 2020-03-08 17:57:27 Jean-Pierre André

Decoded execlink reparse data

Add execlink to the list of recognized reparse tags.

4c8d97c 2020-03-08 17:51:48 Jean-Pierre André

Fixed ntfsfallocate on a void file

The situation when there were no runlist when ntfsfallocate is applied
was not taken into account.

Show on old repository browser