2026

Spring

2025

Autumn

Summer

Set System Env-Vars in UNIX

7 min read

How to set true system-wide environment variables on macOS with a simple Launch Agent and shell script, so GUI apps and every shell see them.
Clean Disk Space in Ubuntu

3 min read

Fix apt install errors caused by no free space in /var/cache/apt/archives by locating the full partition and using a temporary cache path.
Network IO Models

15 min read

A walkthrough of the five I/O models on Linux, with C and Java implementations.

Spring

Set Git Proxy

2 min read

Set up a proxy for Git operations, both for HTTP/HTTPS and SSH connections.
2024

Autumn

Summer

Spring

Move WSL to Another Drive

2 min read

Move an installed WSL distribution to another drive by exporting, unregistering, importing, and restoring the default user.
File System

31 min read

File system basics, directory management with FCBs and inodes, file sharing via hard and symbolic links, physical file structures, and free space management.
I/O System

30 min read

I/O controllers, channels, and control modes (polling, interrupt, DMA); device data structures; disk scheduling (FCFS, SSTF, SCAN, CSCAN); buffering.
The Dead Lock

16 min read

Causes and necessary conditions of deadlock, plus prevention, avoidance, detection, and recovery, including the Banker's Algorithm.
The Processor Scheduling

8 min read

Levels of processor scheduling, scheduling queue models and criteria, scheduling algorithms, and real-time scheduling.
Process Scheduling in OS

4 min read

Notes on process scheduling triggers, evaluation metrics, and common algorithms such as FCFS, SJF, RR, MLFQ, EDF, and LLF.
Thread

8 min read

Threads as the basic unit of scheduling, thread control, synchronization with mutexes, condition variables, and semaphores, and ULT vs KLT.
Inter Process Communication

12 min read

Types of IPC: shared memory, pipes, message-passing systems, mailboxes, and client-server mechanisms like sockets and RPC.
ProcessSync

22 min read

Process synchronization in operating systems, covering critical sections, semaphores, hardware synchronization, and classic synchronization problems.

Winter