101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

488
active users

#s6

0 posts0 participants0 posts today

I think it's about time I ditched Arch Linux for Gentoo. Arch has gotten easier and I've gotten bored with it. Once I've settled to Gentoo, I'd have Void Linux scratch my "Arch Linux" itch

I mean, I've already explored Linux distros with different inits. I don't think anything can stop me when I have Arch, Gentoo, and Artix wiki handy

gentoo.org/

www.gentoo.orgWelcome – Gentoo LinuxThe website of Gentoo, a flexible Linux distribution.
Replied in thread

For example, colmena would call a script, that script would determine the system is running on partition A, install the new kernel on partition B, update the userspace in-place, re-execute the init system (#s6 for now) and then you could reboot to complete the upgrade with the new kernel.

If the new kernel is broken, you would go back to the A kernel, otherwise you would promote the B kernel to be functional and stick to it.

5/???

Replied in thread

@josephholsten

The interoperability problems are significant. H. Peter Anvin's flock(1) uses flock(2), whereas you are using fcntl(2).

Ironically, this means that #Linux is your worst nightmare, because #Illumos and the BSDs guarantee that those two will (locally) interlock, whereas Linux doesn't and the world has thus got two #flock tools on Linux that don't interlock.

That's going to be a #Unix StackExchange answer somewhen.

#NFS #setlock #fcntl #lockf #FreeBSD #s6
@ska @synlogic @cks

Replied in thread

@josephholsten

Interesting. Another one. At this rate I'm going to have to factor out a list so that I don't keep laboriously repeating the names.

It's worth your having a HISTORY section on your manual page. Speaking from experience of _reading_ HISTORY sections, 20 years from now, people will quietly thank you.

I've tried to do that myself. e.g. jdebp.info/Softwares/djbwares/

#NFS #setlock #flock #lockf #Illumos #FreeBSD #Linux #s6
@ska @synlogic @cks

Replied in thread

This brings up an interesting point. s6-setlock uses fcntl(2) per-process POSIX-standardized locking (per fd_lock()), not the BSD-style per-open-file-description locking of the Pape/Bernstein tools.

Has anyone ever hit the edge case of locking something like /etc/passwd (or /etc/mtab, both called out on the fcntl(2) manual page) and then chaining to something that opens and closes the password file (or whatever)?

#NFS #setlock #flock #s6 #Illumos #Linux
@ska @cks