Re: [ANNOUNCE] submount: another removeable media handler

H. Peter Anvin (hpa@zytor.com)
Mon, 19 May 2003 10:12:38 -0700


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/