Why don't you try to mount the floppy or the cd, if it succeeds, there's a
disk / cdrom, if it fails, there not...

Ron Rademaker

On Mon, 17 Jul 2000, Brian Schramm wrote:

> Is there a program that I can run in Linux that will tell me if there is a
> disk in a floppy or a cd in a cdrom drive on a machine?  I control
> machines remotly and it would be nice to know if someone stuck a disk in a
> drive that has the potencial of booting off it so I know if a reboot will
> do what I want.
> 
> Brian
> 
> Brian Schramm
> [EMAIL PROTECTED]
> www.linuxexpert.org
> 
>                
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

Reply via email to