Archive
OS22 writings
Two columns get cramped on a narrow screen — one column reads better
Tags
4zqHhLxVFLbd2Gb61u7LI031fLcHSuKua+LWObTNEqnLDzn8Hjm7mJN8GSWt2ybraHft9VcRm3L0NJH+RJ4rC+TDgMtk3upwelvPAatsnTRPS0U6khDeqXYvBQv6UbyQONc1t7s+eugjDFLfCA8cRNd3cI5HqzKHAQoAU0nZF97RPHFKwh9d7uI5nCGfgLSQVSqO1F/Q2C2eN7LPQxx/3X9XTdgjjG4vmrESuW4pbz46WqwDVPqOgpeufzecDeDwsYh7XDr7+jUkBO1783BDMj6Nqagy+PrNBqPpeovJVo8bDdHxKHZjnqW3Pqfgl06PfjKRBhMTxoIaoa4Cw1TZtW5RflAxYPBRfw5xeMa8nqPFPlxGoJazQyU+CzklShVheNNILYJE52gr94s0jh3jXfuVlm1mpDFnwbSE5X1Uv9kwBhqUAVIeqIXKUI5k0TlC9Iu23/aURnrjZQwvA4dtttwNwxrmdDkPpbKdnwOJA0hMBrfyWuogkAHNhEhPEkVRSTz9FD2XExShEYYyg1w3n9zlwoy4aRXsa1cNpnBHuMasMFsif/gf0NzdPtNp3aFsE1KmIClLKc0YM+2gdM4jz2xPEIDWomW1qdeVKOlTJPiUmkWfKY07ytXKCHL1Uy0dsHlpWkRIj+kBQhJyNI6zbaUHoOwa7Z0d8yMjun3xFlHj4oPnUrceX1rJzDowANSkSGusAPDt4YZqeCvrcJzwIJAs/r61SpJ6yCwnDD6BVezFebDB0TQytZbOszT5VbTaBxj8+MtjP3aRoO7e8t3dqwDK5EnY/8YNIATes+BRsPu6O0HXVlYmdxPZKbefqh6Ap7g4GgxrBoqA9LEk3v6RO/AR2NBce+aWEAaayASFlgEQh8qCWaFWg8rVOBl5grOqlLWrXcb02W2QvmkPxcPUyxM87F4W+m87Z15+g3XnZaZvbKanqzJCyl6v0qliSW9Ac1smNR2axwpi3bUlyPNj7IYfUgojL+JunpjEB9rYZpkTWN8eyE8N9RoKiG+6SzqoQAofbxlBJfGK9mxh9hNHJqyJc7l7aNpL9G/3uztkhB+GGw27n7QACW6DPApdWfDxpmj945mpgTIxiqS4CSYp27YEn8aaozQsmWJ1UgprgnjvIcc6SwxCMiacXUvy2/x5Ol02+0iCbiB5OLV0O2BQuIjPAjElWbmm3Pe6etkwWPPOU5rGiseff/B5dAec8KOrrJojUPfwvhmizpUQQzomE2uwQzazNMKjgJzXh9xm
- Use Symlinks to Keep LLM Configuration Files in SyncCoding agents use different project memory files like AGENTS.md, CLAUDE.md, and GEMINI.md. Symlinks let them share one source of truth.
- Nushell - Cross-PlatformEncapsulating cross-platform functions and isolating OS-specific configs using Nushell.
- Set System Env-Vars in UNIXHow 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.
- IO MultiplexingA brief walkthrough of how select, poll, and epoll are implemented.
- Clean Disk Space in UbuntuFix 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 ModelsA walkthrough of the five I/O models on Linux, with C and Java implementations.
- Set Git ProxySet up a proxy for Git operations, both for HTTP/HTTPS and SSH connections.
- Personalization for Mobile PhonesNotes on phone home-screen personalization, including color palettes, icon packs, widgets, fonts, and Samsung Theme Park.
- Unix/Linux OS IntroductionAn introduction to the Linux operating system, file operations, and permission management
- Move WSL to Another DriveMove an installed WSL distribution to another drive by exporting, unregistering, importing, and restoring the default user.
- File SystemFile system basics, directory management with FCBs and inodes, file sharing via hard and symbolic links, physical file structures, and free space management.
- I/O SystemI/O controllers, channels, and control modes (polling, interrupt, DMA); device data structures; disk scheduling (FCFS, SSTF, SCAN, CSCAN); buffering.
- The Dead LockCauses and necessary conditions of deadlock, plus prevention, avoidance, detection, and recovery, including the Banker's Algorithm.
- The Processor SchedulingLevels of processor scheduling, scheduling queue models and criteria, scheduling algorithms, and real-time scheduling.
- Process Scheduling in OSNotes on process scheduling triggers, evaluation metrics, and common algorithms such as FCFS, SJF, RR, MLFQ, EDF, and LLF.
- ThreadThreads as the basic unit of scheduling, thread control, synchronization with mutexes, condition variables, and semaphores, and ULT vs KLT.
- Inter Process CommunicationTypes of IPC: shared memory, pipes, message-passing systems, mailboxes, and client-server mechanisms like sockets and RPC.
- Concurrency & Parallelism Etc.Notes on concurrency, parallelism, CPU cores, hardware threads, processes, and threads in operating systems.
- ProcessSyncProcess synchronization in operating systems, covering critical sections, semaphores, hardware synchronization, and classic synchronization problems.
- Process Description and ControlOS process management: precedence graphs and program execution, process description, and process control.
- Process & ThreadAn introduction to processes and threads
- Introduction to Operating SystemsAn overview of operating systems, their definition, goals and roles, history, basic characteristics, main functions, and structural design.