Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660374 - sys-fs/ntfs3g requires patch to access volumes mounted by recent win10
Summary: sys-fs/ntfs3g requires patch to access volumes mounted by recent win10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-04 19:08 UTC by Mike Blumenkrantz
Modified: 2019-03-23 12:59 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Blumenkrantz 2018-07-04 19:08:14 UTC
The issue (along with patch to fix it) in more detail here: https://bugzilla.redhat.com/show_bug.cgi?id=1527231

Basically, without this patch it's impossible to perform any operations on a volume which has been accessed by a recent version of Windows 10; all operations will hang indefinitely.
Comment 2 Teika kazura 2019-01-29 00:52:40 UTC
This plugin worked for my sys-fs/ntfs3g-2017.3.23-r1:
  https://github.com/ebiggers/ntfs-3g-system-compression
(I learned it from this debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845162#5)

Without this plugin, I can mount my Win10 volume, but when I access some directories, say by
 $ ls <MS Win partition>/Windows/Fonts
it emits this to stderr:
------------------------------------------------------------------------
ls: cannot access '/mnt/win/Windows/Fonts/8514fix.fon': Input/output error
ls: cannot access '/mnt/win/Windows/Fonts/8514fixe.fon': Input/output error
[...]
------------------------------------------------------------------------

I also see this message in /var/log/messages:
------------------------------------------------------------------------
Jan 24 23:04:27 localhost ntfs-3g[7205]: Hint /usr/lib64/ntfs-3g/ntfs-plugin-80000017.so: cannot open shared object file: No such file or directory
------------------------------------------------------------------------

The above github repo provides the lacking plugin. Notice it is
* by a 3rd-party,
* limited to read-only, and
* the last change was in May 2017.

Dunno who's the author, either. (It's read-only, so harmless for your ntfs partitions. Don't forget to build in a sandbox.)

Regards.

# It's weird that the vanilla upstream package is aware of the lacking so-lib, but actually it doesn't provide it.
Comment 3 Pacho Ramos gentoo-dev 2019-02-26 17:17:47 UTC
We can take also Fedora's patches, they are probably properly tested
Comment 4 Larry the Git Cow gentoo-dev 2019-03-23 12:59:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97a616356b7dccec15d1c5be2c2c861afa160fa

commit e97a616356b7dccec15d1c5be2c2c861afa160fa
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-03-23 12:58:31 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-03-23 12:58:49 +0000

    sys-fs/ntfs3g: Support Windows 10, fix automagic dep...
    
    - Apply Fedora fixes, this also adds support for windows 10 (#660374)
    - Prevent it from wrongly linking to hwinfo (#602360)
    - udev rule is not needed and causes issues (#635080)
    
    Closes: https://bugs.gentoo.org/660374
    Closes: https://bugs.gentoo.org/635080
    Bug: https://bugs.gentoo.org/602360
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../files/ntfs3g-2017.3.23-big-sectors.patch       | 379 +++++++++++++++++++++
 .../files/ntfs3g-2017.3.23-check-mftmirr.patch     |  12 +
 .../files/ntfs3g-2017.3.23-full-clusters.patch     |  81 +++++
 sys-fs/ntfs3g/ntfs3g-2017.3.23-r2.ebuild           | 103 ++++++
 4 files changed, 575 insertions(+)