Skip to content

Commit

Permalink
Use ntfs-3g instead of kernel module ntfs.ko.
Browse files Browse the repository at this point in the history
Use ntfs-3g instead of kernel module ntfs.ko to mount the file system.
Since Linux kernel 4.19.37-1 from Debian has dropped the support of
ntfs.ko:
https://metadata.ftp-master.debian.org/changelogs//main/l/linux-signed-amd64/linux-signed-amd64_4.19.37+5_changelog
<snipped>
"* ntfs: Disable NTFS_FS due to lack of upstream security support
    (CVE-2018-12929, CVE-2018-12930, CVE-2018-12931)"
  • Loading branch information
stevenshiau committed Sep 6, 2019
1 parent b5e8d80 commit d825b74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/9990-misc-helpers.sh
Expand Up @@ -472,6 +472,14 @@ is_supported_fs ()
fi

# Try to look if it is already supported by the kernel
# For ntfs, since user space program ntfs-3g will be used. Check ntfs-3g instead of kernel module.
if [ "${fstype}" = "ntfs" ]; then
if type ntfs-3g >/dev/null 2>&1; then
return 0
else
return 1
fi
fi
if grep -q ${fstype} /proc/filesystems
then
return 0
Expand Down

0 comments on commit d825b74

Please sign in to comment.