Subject: Re: Determine if Floppy is in drive?
To: Eric Fox <eric@fox.phoenix.az.us>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 01/29/2003 12:00:57
Eric Fox <eric@fox.phoenix.az.us> writes:
> Does anyone know of a way to determine if a floppy has been inserted into
> the drive before attempting to mount it?
Try to read a block or two from the raw device before mount?
> I have a scripted process that
> I'd like to have wait and periodically check for the existance of the
> floppy before mouunting it and continuing.
>
> /\---/\ Eric J Fox
> / o o \ http://fox.phoenix.az.us/
> \.\ /./ ---------------------------
> \@/ "Of course it runs NetBSD."
> .
>
--
Perry E. Metzger perry@piermont.com