linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

chunkyhairball, in Bcachefs Merged into the Linux 6.7 Kernel

I’m always nervous when hearing about new filesystems since a certain high profile news incident a several years back.

I really, really, really hope that Kent Overstreet has a really good relationship with any partner or spouse he may or may not have.

z3rOR0ne, in Systemd Working On "Storage Target Mode" Feature - Inspired By Apple macOS
@z3rOR0ne@lemmy.ml avatar

Not compelling to me. Gonna stick with runit and/or s6 on my Artix Linux systems at home. But you do you Lennart.

ksquared,

Same for me, but dinit

Blackmist, in Mozilla Finally Launches An APT Repository For Easy Firefox Nightly Updating

You don’t even build from source?

What kind of Linux users are you?

kogasa,
@kogasa@programming.dev avatar

Never built Firefox from source but Chromium takes way longer than the kernel for me. Like half an hour on a 5800x3D. Bit much for nightly updates.

KISSmyOS,

It’s called Nightly cause you let it compile over night.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

Ok Gentoo Police now go back to ricing

lemann, in Bcachefs Merged into the Linux 6.7 Kernel

Built-in encryption in bcachefs sounds great, that’s the only thing that BTRFS has been missing for me so far.

Bonus points if it can be decrypted on boot like LUKS, and double bonus points if its scriptable like cryptsetup (retrieve key from hardware device, or network, or flash stick etc)

bcachefs.org/Encryption/

Will likely give bcachefs a spin as soon as it drops in Debian Unstable 😁

ReversalHatchery,

Can’t BTRFS be used on a LUKS volume? Or does it have disadvantages?

lemann,

Yeppp this is what I currently do, and offers the best performance IMO compared to using something like gocryptfs in userspace on top of BTRFS. Pretty happy with it except a few small things…

It can be a bit of a faff to mount on a new machine if its file manager doesn’t support encrypted volumes natively ☹️. On your daily you can have it all sorted in your crypttab and fstab so it’s not an issue there

My main problem though is if it’s an external USB device you have encrypted with LUKS, the handles and devices stay there after an unexpected USB disconnect… so you can’t actually unmount or remount the dm-crypt device after that happens. Anytime you try, the kernel blocks you saying the device is busy - only fix i’m aware of is a reboot.

If the encryption is managed by the filesystem itself, one would probably assume this kind of mounting & unexpected disconnect scenario would be handled as gracefully as possible

ReversalHatchery,

I see, good points.

I have also experienced that dangling devices break remounting it, but I think there’s a quicker solution for it: dmsetup remove insert_device_name_here.
It’s still a manual thing, though, but 2 steps better. Maybe it can be automated somehow, I haven’t looked into that yet.

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Triple bonus points if it can do swap files on the encrypted filesystem.

Unkend,

Does it lockup like ZFS?

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Dunno yet. I’m going to remain optimistic until then.

lolcatnip, in What's the difference between package manager and why are there so many?

I think a lot of what drives the creation of redundant open source tools is that the urge to address a matter of personal taste meets the urge to start a new project, so people create new things that are different in key ways from older ones, but not necessarily better, and not necessarily even different enough to justify the amount of work that goes into them.

In some ways it feels a lot easier to start a new project then to build off an existing one:

  • You don’t have to familiarize yourself with the old code, which may be in a language you don’t know or don’t like
  • You don’t have to deal with the existing maintainers, who may or may not be supportive of the changes you want to make
  • You don’t have to support use cases that don’t matter to you personally
drwho, in XBPS has spoiled me - advice needed.

apk isn’t any more or less than using dpkg by itself, or opkg. As for what I use, I use Arch at home and Ubuntu on my virtual machines (because they’re officially supported by my hosting provider). They work for me. I like them.

massive_bereavement, in Bcachefs has been merged into Linux 6.7
@massive_bereavement@kbin.social avatar

The story behind bcachefs development is mildly wild.

Secret300,

Where can I find the story behind it? This is the first I’ve heard of it

LaLiLuLuCo,

I don’t know of anything that documents it as well as reading the literal mailing list responses at each time it became relevant.

But the actual development story isn’t that interesting other than when some extremely unprofessional behavior from a lot of parties occurred.

Like actual piss baby anti social nerd shit.

massive_bereavement, (edited )
@massive_bereavement@kbin.social avatar

Sorry, I don't know if it is documented anywhere, but in summary the project started with bcache (block cache) from a single developer (Kent Overstreet A.K.A Evil Pie Pirate) in 2010 that explained he was building a module for the Linux Kernel.

Bcache is a method of using a fast ssd drive as a caching mechanism for slow but large hdds. As is, the project was quite ambitious but then, when the developer was working in an evolution of bcache (kind-of lessons learned re-implementation), the project grew into a general-purpose POSIX filesystem.

Considering the origins of the most popular file system implementations, expecting a single individual being successful creating a general-purpose one sounded over ambitious.

Then in 2013, out of the blue, Kent left Google to solely work in this project. (In reality though, he spent two years later in Datera as well.)

Then, how do you finance a single developer for a file system from 2013 onwards up to today, when it finally merged into the kernel?

Patreon. The whole thing was financed through it.

That said, there are other collaborators like Daniel Hill, Dave Chinner or Brian Foster, yet what's surprising is how this started as a side project and eventually became the main competitor of corporate-developed file systems by Patreon funding.

Note: A bit of hype-control here, btrfs which would be the main "competitor" was merged into kernel 14 years ago, so bcachefs still has a long way to go before we can trust it with our data.

ramble81, in Systemd Working On "Storage Target Mode" Feature - Inspired By Apple macOS

Yay, yet another storage protocol over the network.

russjr08, in 6 Reasons Why You Should Consider Using NixOS Linux
@russjr08@outpost.zeuslink.net avatar

I find the concept of NixOS to be incredibly cool, and in terms of immutable operating systems it would in theory be one that I’m really interested in!

But the last time I tried it, I found that I was constantly fighting the system, and the documentation is all over the place and confusing. There’s things like “Oh hey use Flakes!” but then most of the documentation doesn’t really cover Flakes because it’s still considered experimental, yet it feels like the majority of the community uses it.

I also had software that would just randomly break, and when trying to track down the changes from Nixpkgs I couldn’t find anything that would prompt why it broke. Which… seems counterproductive to one of the strong points of Nix.

One example I ran into, is OpenRazer - the service is no longer being exposed and was reported 7 months ago. I did my best to try to track down the changes that broke it, but I suspect it’s possibly a lower level change outside of the OpenRazer package/module that caused it to break.

I get the impression that if I wanted to try to fix it, I’d have to take on the massive gauntlet of understanding how all of NixOS’ internals work, and while yes someday I’d love to have a better understanding, right now I’m more focused on just making sure the things I’d like (or even need in some cases, like software for my job) just works.

601error,
@601error@lemmy.ca avatar

These comments really speak to me as someone who is comfortable in Arch but mildly interested in NixOS. The concept seems great, and it seems to work very smoothly when it works. Yet there are always these war stories where people have had to fight the system, to debug some misbehaving hack that is nonetheless required to smash a particular package into the NixOS mould. It is discouraging. The idea I get is that NixOS involves more time doing OS curation chores than does Arch, which already hits the limit of my willingness.

Flakes are another issue. The pre-flakes way seems to be de-facto deprecated, yet the new, flaky way is experimental. I don’t want to waste time learning a doomed paradigm, and I don’t want to depend on anything experimental.

For me, configuration files in git plus btrfs snapshots is just so straightforward. I want to see NixOS as a better way, but I can’t.

russjr08,
@russjr08@outpost.zeuslink.net avatar

Pretty much, unfortunately. It sucks, because in order for Nix to accomplish its vision, things have to be like this - I don’t really see a way around it.

I am amazed by what the Nix[OS] community has accomplished and give high respect to them for it, but I can’t do it. If the documentation (and procedures, eg Flakes) were a bit more structured I’d probably be a bit more willing to put more time into trying to figure it out but… that’s just not the case currently.

I have similar feelings about immutable distros, it is a very intriguing concept but every single time I’ve tried one out, I run into some issue that requires hacks to get around it. If I did end up using one long-term, it’d probably be something from Universal Blue because it seems fairly easy to just modify the image. However, it’s still a massive paradigm shift of getting used to making changes at build-time (of the image), rather than making changes to your system at runtime.

For now, I just do pretty much the same thing you do, important dotfiles go into git, and btrfs snapshots for “Uh oh, something broke and I need things to work right now” moments (which is thankfully quite rare).

Satelllliiiiiiiteeee, in Systemd Working On "Storage Target Mode" Feature - Inspired By Apple macOS
@Satelllliiiiiiiteeee@kbin.social avatar

Target disk mode is fantastic, I'm thrilled to see this coming to Linux

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Worked in IT, target disk mode is a life saver when you have to recover data from a laptop with a broken screen/keyboard/bad ribbon cable and don’t want to take apart something held together by glue.

mindlight, in Bcachefs has been merged into Linux 6.7

Does Bcachefs come with any guarantees regarding my wife’s wellbeing?

If not, I’m definitively sticking with my OpenZFS.

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Depends… you didn’t write ReiserFS, did you?

geoff, in Bcachefs Merged into the Linux 6.7 Kernel

I’m a happy btrfs user, but it’s most definitely a great thing to see what seems like a really clean implementation like this that is able to learn from the many years of collective experience with ZFS and btrfs.

sxan, in Bcachefs Merged into the Linux 6.7 Kernel
@sxan@midwest.social avatar

Good. For one thing, we can move on to drama about something else. But, also, I’d like to play with it without having to build a kernel.

clot27,
@clot27@lemm.ee avatar

I am on nixos and I can do exactly that.

GnomeComedy,

Is this the new “Arch, btw?”

clot27,
@clot27@lemm.ee avatar

😂 hope its not

toyvo,

Seemingly. I’m also on nixos

ultra,

I also use NixOS btw

ultra, in XBPS has spoiled me - advice needed.

APK is really fast

tony, in Bcachefs has been merged into Linux 6.7

What I’ve read looks good but it’s going to need a track record of reliability before I’d trust it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #