Mark ide-floppy drives as removeable in ide-probe.c
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; } }
Alan Cox
AppliedQuoted 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