summaryrefslogtreecommitdiff
path: root/hosts/iroha/scripts/map-kernel-ata
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-07-19 15:50:09 -0400
committerAndrew Opalach <andrew@akon.city> 2025-07-19 15:50:09 -0400
commit85a47287e56ba9100420246531ebea5996cc0486 (patch)
tree7c70a593fc2678fd7175c32188bbae32044ed08d /hosts/iroha/scripts/map-kernel-ata
parent68f39eb867c851acb651f79604aba119ecaa9527 (diff)
downloaddotfiles-85a47287e56ba9100420246531ebea5996cc0486.tar.gz
dotfiles-85a47287e56ba9100420246531ebea5996cc0486.tar.bz2
dotfiles-85a47287e56ba9100420246531ebea5996cc0486.zip
End of NixOS container era
Diffstat (limited to 'hosts/iroha/scripts/map-kernel-ata')
-rwxr-xr-xhosts/iroha/scripts/map-kernel-ata3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/iroha/scripts/map-kernel-ata b/hosts/iroha/scripts/map-kernel-ata
new file mode 100755
index 0000000..db18971
--- /dev/null
+++ b/hosts/iroha/scripts/map-kernel-ata
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+#sudo grep '[0-9]' /sys/class/scsi_host/host{0..9}/unique_id
+sudo ls -l /sys/block/*