script help
I'm writing a script and I'm performing basic sanity checks. One of the checks needed is to see if a floppy is inserted in the drive. The floppy doesn't need to be mounted so I'm just trying to use the quickest, dirtiest way to find out if a disk is in the drive. For example a command that returns a value of 0 if disk is there or a non-zero value if it isn't in the drive.
|