{"id":2951,"date":"2021-09-07T00:34:30","date_gmt":"2021-09-07T07:34:30","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=2951"},"modified":"2021-09-07T00:34:30","modified_gmt":"2021-09-07T07:34:30","slug":"kernel-5-15-early-test-for-new-ntfs-support","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2951","title":{"rendered":"Kernel &#8211; 5.15.  Early Test for New NTFS Support.."},"content":{"rendered":"<p>As usual, the next release of Linux includes new features, but this time &#8211; with <strong>5.15<\/strong> &#8211; it now includes new NTFS read\/write support in the kernel.\u00a0\u00a0\u00a0\u00a0\u00a0 The code for this is from <em>Paragon<\/em>, and is already in the 5.15 codebase on git, so I decided to test it..<\/p>\n<p>As this was pre-RC code, it also flagged up another new kernel &#8216;feature&#8217;, as the kernel compile failed with a warning &#8211; and now all compile warnings are treated as errors by default.\u00a0\u00a0 Fortunately, this can be disabled by de-selecting the new &#8216;<strong><span style=\"font-family: Courier New, Courier, monospace;\"><em>compile the kernel with warnings as errors<\/em><\/span><\/strong>&#8216; option.\u00a0\u00a0 Apart from pre-pre-release kernels, I usually see kernel compile warnings with a new major release of GCC, so the &#8216;disable&#8217; feature will be useful..<\/p>\n<p>The new NTFS (ntfs3) options include &#8216;<em><span style=\"font-family: Courier New, Courier, monospace;\"><strong>64 bits per NTFS clusters&#8217;<\/strong><\/span><\/em>, which should typically <span style=\"text-decoration: underline;\">not<\/span> be selected, as it is incompatible with current releases of Windows..<\/p>\n<p>Some of the userland code will need to be updated to recognise &#8216;ntfs3&#8217;, but this can still be entered manually..<\/p>\n<p>After compiling the git &#8216;<strong><span style=\"font-family: Courier New, Courier, monospace;\">5.15-pre0<\/span><\/strong>&#8216; kernel and booting, I then deinstalled the old ntfs-3g software, then created an ntfs USB stick on Win10, and copied a couple of files onto it.\u00a0 Then plugged into the Linux system:<\/p>\n<p>Console:<br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.253447] ntfs3: sdc1: ino=5, &#8220;\/&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.253451] ntfs3: sdc1: ino=5, &#8220;\/&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.253453] ntfs3: sdc1: ino=5, &#8220;\/&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.254655] ntfs3: sdc1: ino=27, &#8220;xxxxxxxx.AVI&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.254660] ntfs3: sdc1: ino=27, &#8220;xxxxxxxx.AVI&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.255344] ntfs3: sdc1: ino=29, &#8220;xxxxxx.tar.xz&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.255348] ntfs3: sdc1: ino=29, &#8220;xxxxxx.tar.xz&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.255405] ntfs3: sdc1: ino=28, &#8220;S1200030.MP4&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.255408] ntfs3: sdc1: ino=28, &#8220;S1200030.MP4&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[12083.255419] ntfs3: sdc1: ino=24, &#8220;System Volume Information&#8221; add mount option &#8220;acl&#8221; to use acl<\/span><\/strong><\/p>\n<p>I then created a temporary <em>ntfs<\/em> directory, and mounted the ntfs3 USB stick on it:<\/p>\n<p><strong><span style=\"font-family: Courier New, Courier, monospace;\">[root@rg400g4 rgadsdon]# mount \/dev\/sdc1 ntfs -t ntfs3<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">[root@rg400g4 rgadsdon]# ls ntfs<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">xxxxxxxx.AVI xxxxxx.tar.xz S1200030.MP4 &#8216;System Volume Information&#8217;<\/span><\/strong><\/p>\n<p>Copied files to\/from it, and then unmounted, and mounted back on the Win10 system, and everything worked as it should..<\/p>\n<p>Apart from better compatibility, the main benefit is improved performance, which will help me, when moving large 4K video clips around..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 September 7th 2021.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As usual, the next release of Linux includes new features, but this time &#8211; with 5.15 &#8211; it now includes new NTFS read\/write support in the kernel.\u00a0\u00a0\u00a0\u00a0\u00a0 The code for this is from Paragon, and is already in the 5.15 codebase on git, so I decided to test it.. As this was pre-RC code, it also flagged <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2951\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[706,5,14,15,2420,19],"tags":[2424,2421,2422,2423,1175],"class_list":["post-2951","post","type-post","status-publish","format-standard","hentry","category-alpha-release","category-compilation","category-kernel","category-linux-2","category-ntfs","category-opinion","tag-early-tests","tag-kernel-5-15","tag-new-ntfs","tag-ntfs3","tag-success"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2951"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2951\/revisions"}],"predecessor-version":[{"id":2953,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2951\/revisions\/2953"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}