I have a remote computer on which I want to install a new hard drive for rsync backup. The problem is, I don't know what controller technology is used (PATA, SATA, SATA2, ...) and how many available slots are left. I'd like to obtain this information remotely, rather than physically opening up the chassis and looking at wires.
How do I query the SATA or PATA controllers? I'm interested in the following points:
- Which controllers exist in the machine
- How many (and which) disks are attached to each controller
- How many available slots are there