Not for everyone. Each programmer has their own appreciation of what is good coding music.
(From most influential to least)
#!/boot/bzImage | |
# Linux kernel userspace initialization code, translated to bash | |
# (Minus floppy disk handling, because seriously, it's 2017.) | |
# Not 100% accurate, but gives you a good idea of how kernel init works | |
# GPLv2, Copyright 2017 Hector Martin <[email protected]> | |
# Based on Linux 4.10-rc2. | |
# Note: pretend chroot is a builtin and affects the current process | |
# Note: kernel actually uses major/minor device numbers instead of device name |
Not for everyone. Each programmer has their own appreciation of what is good coding music.
(From most influential to least)
#cloud-config | |
coreos: | |
units: | |
- name: systemd-sysctl.service | |
command: restart | |
- name: create-swap.service | |
command: start | |
runtime: true | |
content: | |
# swith to sudo | |
sudo -i | |
# create swap | |
touch /2GiB.swap | |
chattr +C /2GiB.swap | |
fallocate -l 2048m /2GiB.swap | |
chmod 600 /2GiB.swap | |
mkswap /2GiB.swap |