this post was submitted on 12 May 2024
328 points (99.4% liked)

Linux

48624 readers
1129 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] d3Xt3r@lemmy.nz 15 points 7 months ago (4 children)

ntfs3 has had several improvements in 6.2 and 6.8, and it's been pretty stable for me of late. I use it to share/backup my Steam game library mainly + for my portable drives for general data storage/local backups, and haven't had any issues.

It's not orphaned. There was a bit of lull after it was introduced in kernel 5.15, and yes it was a bit unstable in the 5.x series, but it's been pretty good since 6.2 where they finally introduced the nocase and windows_names mount options. The performance improvements are worth it if you use NTFS heavily, so I would personally recommend switching.

[–] Sina@beehaw.org 2 points 7 months ago* (last edited 7 months ago) (1 children)

I would have loved to take that performance before I converted my data drives to ext4, however it's just inherently not stable.

Sometimes If you have a power loss you have to run chkdsk on Windows to get out of ro mode, no?

[–] d3Xt3r@lemmy.nz 5 points 7 months ago

There's no need to run chkdsk from Windows, you can run ntfsfix directly from Linux:

sudo ntfsfix /dev/path --clear-dirty
[–] SteveTech@programming.dev 1 points 7 months ago

Ahh thanks! That's good to know!

[–] lemmyvore@feddit.nl 1 points 7 months ago (1 children)

Is this for read-only use? Or is it usable also for modifying files?

[–] d3Xt3r@lemmy.nz 1 points 7 months ago

It's r/w, if you specify the filesystem type as ntfs3. I believe if you use just ntfs it'll be read-only, to mimic the behaviour of the old driver, for compatibility reasons.

[–] taaz@biglemmowski.win 1 points 7 months ago (1 children)

For me, Steam (on Linux) has been periodically corrupting the ntfs disk, I do use it on windows too and not even win hybrid/fastboot/hibernation disabled helps.

May I see what mount options you use for the ntfs3 driver in fstab? I do not currently have the nocase and windows_names ...

[–] d3Xt3r@lemmy.nz 4 points 7 months ago* (last edited 7 months ago)

Mine looks like this:

UUID=blah /media/games ntfs3 uid=1000,gid=1000,umask=000,rw,user,exec,nofail,nocase,windows_names 0 0

If you're copy-pasting this, make sure your uid and gid matches of course.

But the key thing for Steam is you need to have your compatdata folder on a Linux partition, because Proton creates folders with invalid characters (like :). windows_names would prevent that of course, and thus prevents corruption, but it would cause Proton to fail since if can't create those folders/files. So you'll need to symlink that folder on your NTFS disk to point to a folder on a Linux partition.

Eg:

$ mkdir -p ~/.steam/steam/steamapps/compatdata
$ ln -s ~/.steam/steam/steamapps/compatdata /media/games/Steam/steamapps/ 

Of course, before you run the above, you'll need to delete the existing compatdata folder from the NTFS disk.