2002-10-22 20:26:34

by Paul Bristow

[permalink] [raw]
Subject: [PATCH] Mark ide-floppy drives as removeable in ide-probe.c

The following patch marks ide-floppy drives as removeable. devfs and
partition handling code needs this to work properly. Please apply.

--

Paul

Email: [email protected]
Web: http://paulbristow.net
ICQ: 11965223



--- linux-2.5.44/drivers/ide/ide-probe.c.orig Tue Oct 22 23:26:31 2002
+++ linux-2.5.44/drivers/ide/ide-probe.c Tue Oct 22 23:22:27 2002
@@ -166,6 +166,7 @@
printk("cdrom or floppy?, assuming ");
if (drive->media != ide_cdrom) {
printk ("FLOPPY");
+ drive->removable = 1;
break;
}
}



2002-10-22 20:58:03

by Alan

[permalink] [raw]
Subject: Re: [PATCH] Mark ide-floppy drives as removeable in ide-probe.c

On Tue, 2002-10-22 at 21:31, Paul Bristow wrote:
> The following patch marks ide-floppy drives as removeable. devfs and
> partition handling code needs this to work properly. Please apply.

Applied