LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Floppy drive (https://www.linuxquestions.org/questions/linux-hardware-18/floppy-drive-25867/)

sundarraj_d 07-16-2002 06:51 AM

Floppy drive
 
Hi,

I removed my floppy drive from the system. Still the open() system call returns the descriptor. Even the ioctl like GETDRVTYPE etc are going through fine.

I need to find whether the drive is connected to the system or not.

Can any one help me out how to do this..

Thanx
Sundarraj

bbeers 07-16-2002 10:14 AM

I think the kernel only cares if there is a floppy _controller_ installed, until you actually try to access the media. I think that even disabling the floppy controller in the bios may not prevent the kernel from detecting and enabling the floppy controller.

-Bob


All times are GMT -5. The time now is 08:03 PM.