Skip to content

Instantly share code, notes, and snippets.

@jaquer
jaquer / rootfs-snap.sh
Last active Oct 21, 2015
Root FS snapshotting script using BTRFS
View rootfs-snap.sh
#!/bin/sh -e
#
# simple rootfs (/) snapshots using BTRFS
# variables
ROOT=/media/root/@
# begin script
if [ $(id --user) != 0 ]; then
echo "script must be run as root"
View keybase.md

Keybase proof

I hereby claim:

  • I am jaquer on github.
  • I am jaquer (https://keybase.io/jaquer) on keybase.
  • I have a public key whose fingerprint is 2662 DAC9 39F6 6D0E 1E4E CE7E 2041 446F 0433 8084

To claim this, I am signing this object: