* Brian Schramm in "Monitoring program" dated 2000/07/17 14:25 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 dri
You could try mounting, if that fails then use dd to try and read the
device. If it succeeds, then there is a disk there but without a normal
filesystem. You might then assume it is a special boot image floppy, or
if you know what sort of magic information to look for, you could try
checking for
How about cat /dev/fd0 will that work?
Ron Rademaker
On Mon, 17 Jul 2000, Brian Schramm wrote:
> That only works on normal floppies. If I have a boot floppy in there that
> was created a special way most systems will not mount them directly. But
> they will still boot from them.
>
>
> Bria
That only works on normal floppies. If I have a boot floppy in there that
was created a special way most systems will not mount them directly. But
they will still boot from them.
Brian Schramm
[EMAIL PROTECTED]
www.linuxexpert.org
On Mon, 17 Jul 2000, Ron Rademaker wrote:
>
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
5 matches
Mail list logo