/srv/irclogs.ubuntu.com/2024/07/23/#ubuntu-discuss.txt

lotuspsychj3good morning01:41
JanCstuffandthings: I'm not sure that was a conscious decision for ntfs3 vs. ntfs-3g14:05
stuffandthingsit just occured to me, maybe 3g is left in there for people upgrading from a system that used to use it14:06
JanCthat would be handled on upgrade, so it wouldn't have to be in new installs really14:07
JanCbut if I had to guess: it's possible there are some things that are supported or not in one vs. the other14:08
ravageWhen 3g came around the kernel driver was read only 14:10
JanCe.g. I'm not sure whether (& if so: how) ntfs3 supports user mapping?14:11
ravageI think it now has write support but the default driver for everything you would do on an NTFS filesystem is still 3g I think 14:12
ravageHave not followed the kernel development side really 14:12
stuffandthingsi think so, ive been using 3 for a while just as a user14:12
JanCwell, the old 'ntfs' driver could write, but that was strongly non-recommended, as it would likely mess up any modern NTFS filesystem IIRC  :)14:13
stuffandthingsby default, ntfs3 was used to mount ntfs partitions14:13
JanCthe 'ntfs3' driver should be good14:13
stuffandthingsi never had a prob with 3g, other than it being slow14:13
stuffandthingsntfs3 is a bit problematic but nothing showstopper14:13
stuffandthingsand kernel 6.11 is going to fix lots of ntfs3 stuff14:14
JanClooking at the kernel documentation for ntfs3, I don't see anything about user mapping, something ntfs-3g does support, so maybe it's still there for those who need that?14:14
JanC(it's used to map between Windows & linux users)14:16
stuffandthingswell all i know is that when i mount the drive with dolphin, and then go to the properties, it says ntfs314:16
stuffandthingsand i can write to it14:16
stuffandthingsall while never getting asked to elevate14:17
JanCthat works through udisks & PolicyKit14:20
stuffandthingswhats the command to see if its 3 or 3g?14:21
stuffandthingswell its most certainly uses ntfs3 by default14:30
JanCmount should tell you, but I assume the Dolphin info is right too14:32
stuffandthingsi did a grep to confirm14:33
JanCthis is one of the features that I think aren't supported by ntfs3: https://github.com/tuxera/ntfs-3g/wiki/File-Ownership-and-Permissions#mapping-the-users14:38
JanCmost people probably don't need it14:38
stuffandthingsthis is whats coming in 6.11: https://www.phoronix.com/news/Linux-6.11-NTFS314:40
stuffandthingspull request link is in there14:40
stuffandthingsnothing about whats in the link unfortunately14:41
JanCoh, now that I think about it, I think there are no tools for ntfs3, so no way to create an NTFS file system or check it for errors, so for that the ntfs-3g tools are used14:41
stuffandthingsoh yeah? i never realized that14:42
JanC*that* might be why it's still installed  :)14:42
stuffandthingsprobably14:42
stuffandthingsthats a big one14:42
stuffandthingsis it just me or should ubuntu enable windows_names flag by default14:44
stuffandthingsseems like an easy way to prevent data loss for newcomers14:44
JanCmaybe it's set by default?  did you try?14:46
stuffandthingsits not, i enabled it though14:47
stuffandthingsbut by default, its not on14:48
stuffandthingsi can imagine a scenario in which someone copies a file with an unknown illegal character, runs windows and wonders where the file went14:50
stuffandthingsthat actually happened to me, fortunately, i know about looking at scandisk logs and the found.000 dir14:50
JanCthe worst would be a file that has a special meaning in Windows  :)14:53
JanCmaybe file a bug about that14:53
stuffandthingsshould i? i was going to but people were talking me out of it, pointing to bugs filed from 2009, in which the consensus was 'boo ms bad, ms do bad things, me angry for hearing about this!'14:55
JanCugh?14:55
stuffandthingsbasically seems like no one wanted to hear that anything might be wrong, both in the chan and on the posts from '0914:56
JanCdo you have a link for that?14:56
stuffandthingslets see if i can find it again14:56
JanCI mean, I can see that happening on a forum, but it shouldn't happen in a bug tracker14:56
stuffandthings...and on the main ubuntu chan14:57
JanCI mean, it would be best if you can mark a disk somehow, so that the ntfs mount utility can know whether you want that enabled or not for that particular disk14:58
stuffandthingsthats the thing, i raised it with them and got crap for it so i kind of didnt bother any more14:58
JanCbut without that "marking" it should default to what is least likely to cause issues14:58
stuffandthingsright?14:59
stuffandthingsthats what i thought too14:59
JanCI mean, if it isn't used to exchange data with Windows why would you use NTFS at all?14:59
JanCthere might be some other reasons, but those are probably going to be fairly niche15:00
stuffandthingsin my cause because i have a few big, full drives as relics from a time when i mained windows, but yeah, i agree with the sentiment15:01
stuffandthingsthe main reason to have an ntfs drive is to interact with data that works on windows, if it defaults to not do that properly, its kinda bad15:02
stuffandthingsin my cause i rebuilt a kubuntu iso with that flag on15:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!