Re: [ANNOUNCE] submount: another removeable media handler

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon May 19 2003 - 12:12:38 EST


Steve Brueggeman wrote:
> Off Topic, sorry.
>
> Is there a way to detect whether a floppy has been installed, without
> actually forcing the motor to spin, and heads to engage???
>
> I'd like to create a simple auto-run utility that constantly looks for
> a special file on a MSDOS formatted floppy, and run it if found.
> Unfortunately, the only way I know of to determine if a floppy is
> installed is to open the floppy device, which causes the undesired
> motor spin-up, and head access.
>
> Any help is greatly appreciated!!!
>

Electrically it should be possible. Whether or not the floppy device
driver supports it is another matter.

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:35 EST