added: scripts from @zethra's configs, and tidied flake structure lili bit
This commit is contained in:
parent
b0a649e560
commit
9a3fbee8bb
25 changed files with 230 additions and 0 deletions
9
home/scripts/zethra/iommu-groups.sh
Executable file
9
home/scripts/zethra/iommu-groups.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
shopt -s nullglob
|
||||
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
|
||||
echo "IOMMU Group ${g##*/}:"
|
||||
for d in $g/devices/*; do
|
||||
echo -e "\t$(lspci -nns ${d##*/})"
|
||||
done;
|
||||
done;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue