Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Linux - Power Loss Meltdown

initramfs

🚑 What broke Sudden power-loss left the system in an inconsistent state. (while /roota was being modified) First boot stopped in BusyBox with ALERT! UUI...

Linux - Provisioning of My Machine

fzf

NVIDIA Driver Open the Additional Drivers application Select NVIDIA driver metapackage from nvidia-driver-570 (proprietary, tested) Reboot Run nvidia-smi to ensure it worked Nvidia Dock...

Linux - Operating System

Paging, Concurrency, Time

Paging A page of memory is the smallest fixed-length block of virtual memory managed by OS. To use virtual memory, the OS needs to transfer pages between the main memory and the secondary memory. ...

Linux Miscellaneous Thingies

Window Focus, Screenshots, File System, Shortkeys, UART, Tmux, ffmpeg, Firefox, Chrome, Power Modes

=============================================================================================================== Screenshots =======================================================================...

Linux - Packaging Systems

apt, dpkg

Installation Chain apt, apt-get, apt-cache talks to the repository servers, download .deb, calculate dependency tree, the hand the final files to dpkg for the actual install. E.g., 1 sudo apt ins...

Linux - Programming And Toolchain

ldd

ELF and Dynamic Linking Executable and Linkable Format (ELF) is the standard binary file format on Linux, most BSDs, and many embedded systems. It replaces older a.out and COFF formats. | Aspect ...

Linux - Filesystem

inode, soft/symbolic link, FIFO

Inode On every Unix-style filesystem (ext4, XFS, APFS, etc.), each regular file, directory, FIFO, … is represented on disk by a tiny metadata record called an inode (“index node”). That’s like a f...

Linux - Udev Rules, Systemd Services, inotify

Udev Rules Systemd Services, Inotify

Udev Unix Kernel is a monolithic kernel and provides API to access these hardware. Udev is a device manager of Linux Kernel, and serves as a successor of the Unix Kernel. It handles device nodes i...

Linux - SSH and X Window System

X Window System, SSH, Static IP

SSH Generate an SSH Key: ssh-keygen -t rsa -b 4096. This will create ~/.ssh/id_rsa and optionally sets a passphrase Copy ssh onto a remote machine: ssh-copy-id username@rem...

Electronics - General Science Facts

Adiabatic Cooling, Centripedal & Centrifugal Forces

Adiabatic Cooling In an adiabatic process, the system does not gain or lose heat (Q=0Q=0), meaning that all changes in internal energy come from work done by or on the gas. For an ideal gas, the i...