Quotes of the week
Quotes of the week
Posted Mar 14, 2011 13:55 UTC (Mon) by nix (subscriber, #2304)In reply to: Quotes of the week by daglwn
Parent article: Quotes of the week
FS-wide corruption is rare, but still does happen: splitting a small critical core in / from a massive pile of not-so-critical parts helps recover from that. We can call the non-critical parts '/usr'.
Posted Mar 14, 2011 18:08 UTC (Mon)
by BenHutchings (subscriber, #37955)
[Link] (5 responses)
Posted Mar 15, 2011 12:34 UTC (Tue)
by nix (subscriber, #2304)
[Link] (2 responses)
Posted Mar 15, 2011 13:17 UTC (Tue)
by foom (subscriber, #14868)
[Link] (1 responses)
/bin:
/sbin:
Commands included in /bin/busybox:
Posted Mar 20, 2011 0:24 UTC (Sun)
by daglwn (guest, #65432)
[Link]
Posted Mar 15, 2011 15:07 UTC (Tue)
by nix (subscriber, #2304)
[Link] (1 responses)
initramfses don't help there. (Sure, backups help, but restoring from backup is annoying.)
This is all fairly pettifogging, true, but anything that leads to /etc being lost less often is a good thing as far as I'm concerned. I suppose it would be possible to put /etc on a filesystem of its own, in a loopback filesystem stored in the root directory, and mount it at the very start of the boot scripts: that would let you have a single unified / and /usr while minimizing the probability that a severely-damaged rootfs would lose you access to /etc. (It wouldn't lower it as far as putting /etc on a different filesystem, but it's hard to get access to a different filesystem without /etc. You could have a skeleton /etc which is just enough to give you access to the real /etc, and is mount --moved out of the way and then overmounted by the real /etc early in the boot process: that combined with an initramfs nicely populated with recovery tools would fix all my concerns, I think, but at the cost of a very unusual mount tree.)
(and I am definitely overthinking this.)
Posted Mar 15, 2011 16:12 UTC (Tue)
by nix (subscriber, #2304)
[Link]
Quotes of the week
Quotes of the week
Quotes of the week
busybox cat chroot cpio dd dmesg false fstype gunzip gzip halt insmod ipconfig kill ln losetup ls minips mkdir mkfifo mknod mount nfsmount nuke pivot_root poweroff readlink reboot resume run-init sh sh.shared sleep sync true umount uname
blkid dmsetup modprobe rmmod udevadm udevd
[, [[, adjtimex, arping, ash, awk, basename, blockdev, brctl, bunzip2, bzcat, bzip2, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, cut, date, dc, dd, deallocvt, df, dirname, dmesg, dnsdomainname, dos2unix, du, dumpkmap, dumpleases, echo, egrep, env, expr, false, fgrep, find, fold, free, ftpget, ftpput, getopt, grep, gunzip, gzip, head, hexdump, hostid, hostname, httpd, id, ifconfig, ionice, ip, ipcalc, kill, killall, klogd, last, length, ln, loadfont, loadkmap, logger, logname, logread, losetup, ls, lzcat, lzma, md5sum, mkdir, mkfifo, mknod, mktemp, more, mount, mt, mv, nameif, nc, netstat, nslookup, od, openvt, patch, pidof, ping, ping6, printf, ps, pwd, rdate, readlink, realpath, renice, reset, rev, rm, rmdir, route, rpm, rpm2cpio, run-parts, sed, setkeycodes, sh, sha1sum, sha256sum, sha512sum, sleep, sort, start-stop-daemon, strings, stty, swapoff, swapon, sync, sysctl, syslogd, tac, tail, tar, tee, telnet, test, tftp, time, top, touch, tr, traceroute, traceroute6, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unlzma, unxz, unzip, uptime, usleep, uudecode, uuencode, vi, watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat
Quotes of the week
Quotes of the week
Quotes of the week