this post was submitted on 26 Jul 2024
143 points (97.4% liked)

Linux

48664 readers
504 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
 

For me, I really want to get into niri, but the lack of XWayland support scares me (I know there’s solutions, but I don’t understand them yet).

Also, I stopped using Emacs (even though I love its design and philosophy with my whole heart) because it’s very slow, even as a daemon.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 4 months ago (3 children)

Bcachefs, and bcachefs on root. Need something with filesystem level encryption instead of LUKS, and *ubuntu's and derivatives have all abandoned ZFS on root installs now.

[–] [email protected] 3 points 4 months ago (1 children)

Bcachefs has filesystem encryption without LUKS? Did this have an audit? I use BTRFS and it is fine, but boot is unencrypted (using TPM would be cool)

[–] [email protected] 3 points 4 months ago (1 children)

https://en.wikipedia.org/wiki/Bcachefs

Bcachefs is a copy-on-write (COW) file system for Linux-based operating systems.[3] Features include caching,[4] full file-system encryption using the ChaCha20 and Poly1305 algorithms,[5] native compression[4] via LZ4, gzip[6] and Zstandard,[7] snapshots,[4] CRC-32C and 64-bit checksumming.[3] It can span block devices, including in RAID configurations.[5]

I see it has an audit back in 2017, but I've yet to find anything newer. The finding was good, but suggested further audit be done.

[–] [email protected] 2 points 4 months ago (2 children)

I dont see the difference to BTRFS apart from encryption and maybe caching? I was always confused why people hype it so much.

Interesting, yes I wouldnt not use LUKS if the alternative is less known, not used by enterprise distros

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago)

The tiered storage stuff is pretty cool. You can say "I want this data on this disk, so if I get a cache miss from a faster disk/RAM it'll come from this other disk first."

I believe it also has some interesting ways of handling redundancy like erasure coding, and I thiiiink it does some kind of byte-level deduplication? I don't know if that's implemented or is even still planned, but I remember being quite excited for it. It was supposed to be dedupe without all of the hideous drawbacks that things like ZFS dedupe have.

EDIT: deduplication is absolutely not a thing yet. I don't know if it's still on the roadmap.

EDIT: Erasure coding is deffo implemented, however.

[–] [email protected] 1 points 4 months ago (1 children)

It's mainly supposed to be simpler and by extension faster than btrfs (which is kinda proven by the fact that fewer devs made this thing work in less time when compared to btrfs). It happens to enable some extra features that way too.

However, while btrfs annecdotally had many issues, it's used by big players like SUSE and even bigger ones like Facebook these days. bcachefs on the other hand is nowhere near as battle tested, so I'll stay away from it for a little longer.

[–] [email protected] 2 points 4 months ago

Does it have the self-healing capabilies of btrfs scrup and btrfs defragment? I guess btrfs balance is b-tree specific.

I heard BTRFS is bettter than EXT4 because it can do these things, EXT4 cant

[–] LeFantome 1 points 4 months ago (1 children)

Bachefs is in the kernel now so trying it on a spare drive or partition is super trivial these days depending on distro. You only need a few minutes of time.

Getting it on root is a bit harder as almost no installers support it yet. The only distro I can think of is CachyOS.

[–] [email protected] 1 points 4 months ago

It's far more ready than Wayland, get it into these distro's installers! Are you listening, distros?