Christian Lehnert — Linux, Hacking & Faith

tag: #linux

10 posts
3 months ago Appreciate Your Package Manager

Building Linux From Scratch means living without a package manager for the duration, and the absence teaches you what the presence was doing all along. apt install is one command. Underneath it is dependency resolution, ordering, conflict detection, file tracking, and clean removal, all of which you do by hand under LFS, and all of which you stop noticing the moment you have a package manager to do them for you.

#linux #lfs #apt #package-manager
3 months ago Ubuntu Touch Convergence - The Fairphone as a Desktop

The follow-up to running Ubuntu Touch on a Fairphone 4 is the feature that actually distinguishes it from every mainstream phone. Plug the phone into a monitor over USB-C, pair a Bluetooth keyboard, and the phone becomes a desktop computer. The phone's own touchscreen then works as the trackpad. This is convergence, and once it works, it changes what the phone is for.

#ubuntu-touch #ubports #fairphone #linux
3 months ago bcachefs - The Best Filesystem Design That the Kernel Threw Out

bcachefs is, on technical merit, the most interesting copy-on-write filesystem to arrive on Linux in a decade. It is also, as of Linux 6.18, no longer in the kernel, ejected after a governance dispute between its author and Linus Torvalds and now shipping as a DKMS module like ZFS. This is the story of a filesystem whose engineering and whose politics point in opposite directions, and what that means for anyone deciding whether to run it.

#linux #bcachefs #kernel
3 months ago halt vs shutdown - The Case for the Simpler Command

shutdown is the command operators reach for out of habit when they want to bring a system down. For the common case (a single-user workstation, a headless server, an ad-hoc maintenance window), halt does the same orderly shutdown with less ceremony and a simpler invocation. The reason shutdown won the muscle memory is historical and no longer applies on modern systemd systems.

#linux #freebsd #sysadmin
4 months ago adduser vs useradd - The Debian Trap

On Debian and Ubuntu, two commands look like they do the same thing. They do not. adduser is a Perl wrapper from the adduser package. useradd is the raw binary from upstream shadow-utils. The difference catches operators who write portable scripts and expect either name to work the same way on RHEL or Alpine.

#linux #debian #ubuntu #tip-of-the-week
1/3 older >