]> arthur.barton.de Git - bup.git/blobdiff - dev/system-info
Drop vestigial compat.range
[bup.git] / dev / system-info
index 054c5ffb544e4eb13794442072111c7c890573f8..919e8e7f7fa9c71f6953b7f9b04760f81ab3d010 100755 (executable)
@@ -2,18 +2,33 @@
 
 set -e
 
+uname -a
+
 case "$OSTYPE" in
     linux*)
         cat /proc/cpuinfo
         cat /proc/meminfo
-    ;;
+        ;;
+    freebsd*)
+        sysctl hw.machine hw.machine_arch hw.model hw.ncpu
+        sysctl hw.{phys,user,real}mem
+        ;;
     darwin*)
         system_profiler SPHardwareDataType
-    ;;
+        ;;
 esac
 
+set -x
+
+git --version
 rsync --version
 
 # Older versions of par2 don't support -V, but it'll still show the
 # version when it fails.
 if command -v par2; then par2 -V || true; fi
+
+df -h
+mount
+
+id
+pwd