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. > > > 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 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 > > > > > >