Skip to contentSkip to conversation

Mark ide-floppy drives as removeable in ide-probe.c

PATCH Applied Paul Bristow 2 participants 2 messages Oct 22, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Signature · 18 lines
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;
                    }
                }
Applied
#1 lore raw
Quoted 2 lines · Paul Bristow

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

Applied