diff --git a/.config/scripts/translate_ata_to_dev.sh b/.config/scripts/translate_ata_to_dev.sh new file mode 100755 index 0000000..78deb77 --- /dev/null +++ b/.config/scripts/translate_ata_to_dev.sh @@ -0,0 +1,3 @@ +!#/bin/sh + +find -L /sys/bus/pci/devices/*/ata*/host*/target* -maxdepth 3 -name "sd*" 2>/dev/null | egrep block |egrep --colour '(ata[0-9]*)|(sd.*)'