Skip to content

Instantly share code, notes, and snippets.

View jedimstr's full-sized avatar

Philip De Leon jedimstr

  • NBC News
View GitHub Profile
@jedimstr
jedimstr / identify_drive.sh
Created July 31, 2017 04:28
Identify Drive for unRAID or Linux
#!/bin/bash
export OMIT=0
[ ${DEBUG:=0} -gt 0 ] && set -x -v
declare -a DRIVES MODELS CHOICE
typeset -x DRIVES MODELS CHOICE CMDS
TMPFILE="/tmp/identify_drive.$$"