Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 1483  / 1 Year ago, sun, january 8, 2023, 4:05:12

I've been using the characters ":" and "|" as part of file names without any problems in Ubuntu 18.04 to create files in a NTFS external drive.
Last week I installed Ubuntu 22.04 and can't write files whose names contain those characters to my NTFS drive.
The returned error is "Invalid argument".
I've done some research but couldn't find anything relevant for this apparent huge change.
So my questions are: does anyone know about this? Is a permanent change? Is just a bug? Should I give up using NTFS?
Thanks for any advice.


More From » ntfs

 Answers
2

You are right, there is a change ... as of kernel 5.15 a new NTFS driver(module) is integrated into the kernel ... It's called NTFS3 which replaces(obsoletes) the old NTFS kernel driver(module) itself and the NTFS-3G(NTFS driver for FUSE).


The old drivers were lenient and allowed filenames that were not allowed by Windows, either because they contain some not allowed character (which are the nine characters " * / : < > ? | and those whose code is less than 0x20) or because the last character is a space or a dot ... while the new driver doesn't.



Original Kernel level support for NTFS was contributed into a Linux
Kernel back in 2001 and is very limited in functionality, especially
write-support. Till now, NTFS-3G was the de facto way to enable NTFS
in Linux. However, NTFS-3G is a filesystem in userspace (FUSE). The
main drawback of this implementation is performance. On the contrary,
NTFS3 is a kernel NTFS implementation, which offers much faster
performance than FUSE based implementations.



[#433] Monday, January 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
variark

Total Points: 82
Total Questions: 114
Total Answers: 122

Location: Sweden
Member since Mon, May 8, 2023
1 Year ago
variark questions
Wed, Nov 3, 21, 13:30, 3 Years ago
Thu, Dec 15, 22, 02:10, 1 Year ago
Sun, Jun 26, 22, 12:20, 2 Years ago
Tue, Dec 14, 21, 15:40, 2 Years ago
Tue, Jun 1, 21, 01:39, 3 Years ago
;