[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to verify inserted floppy...
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: How to verify inserted floppy...
- From: Ben Goren <ben_(_at_)_trumpetpower_(_dot_)_com>
- Date: Mon, 25 Feb 2002 09:31:59 -0700
On Mon, Feb 25, 2002 at 02:44:53PM +0100, trade account wrote:
> [. . .] Is there a better way to check and see if the floppy is
> mounted and the file is there?
if mount | grep fd0 > /dev/null; then
echo "The floppy is mounted."
else
echo "The floppy is not mounted."
fi
b&
--
Ben Goren
mailto:ben_(_at_)_trumpetpower_(_dot_)_com
http://www.trumpetpower.com/
icbm:33o25'37"N_111o57'32"W
[demime 0.98d removed an attachment of type application/pgp-signature]
Visit your host, monkey.org