﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
223	mondo restore hang no floppy present	LazarusLong	Bruno Cornec	"On Debian etch with mondo 2.2.4 installed I am seeing a hang during mondo restore while ""I'm thinking..."" due to my machine having no floppy drive.  This appears to be same as ticket#136 which changeset[1496] tries to fix.  The fix doesnt work on my machine since the dmesg | grep -i floppy shows a valid device.  My machine has a floppy controller but no drive, I think the floppy driver prints a boot message on seeing the controller but doesnt know that no drive is attached.

A better test would be to use ""getfdprm /dev/fd0u1722"" from fdutils - this returns immediately with NO DEVICE.  Alternately use low level calls:

#include <linux/fd.h>
struct floppy_struct fdprms;
int ifd, res;
ifd = open(""/dev/fd0u1722"", O_RDONLY);
if (ifd > 0) { // open OK
   res = ioctl(ifd, FDGETPRM, &fdprms);
   if (res >= 0) { // media OK to mount
   } else { //skip mount
   }
} else { //skip mount
}

Of course, same test would apply to /dev/fd0H1440.
"	defect	closed	high	2.2.5	mondo	2.2.4	major	fixed		
