Page 1 of 1

Checking if Hard disk is present

Posted: Wed Mar 30, 2022 8:08 am
by yasar11732
Hi,

I have implemented something similiar to lspci command, and it gives me this output;

Image

I am seeing IDE controller whether or not I set up a harddisk in qemu. Which makes sense, because IDE controller is there even tough there may not be any disk connected.

How can I know whether or not the disk is actually connected to IDE controller?

Best Regards,

Re: Checking if Hard disk is present

Posted: Wed Mar 30, 2022 8:18 am
by iansjack