cat /proc/partitions
Lists which HD devices have capacity. grep in this for your interesting drive.
cat /proc/diskstats
This is less clear, but probably contains some answers.
And as birg891 already pointed out, you can scan the /dev/disk/by-* directories, but probably they will not provide much useful information (this is my experience).
Better you get the opportunity to use hdparm . To get information about the manufacturer, if you can restore it at all, you need to send a certain command to the device, which is easy with hdparm but hard to achieve without using tools. I do not know how to execute ioctl() using only bash.
source share