Re: [PATCH] MMC block removable flag

From: Christoph Hellwig
Date: Sat Jan 08 2005 - 07:08:34 EST


On Sat, Jan 08, 2005 at 11:09:57AM +0000, Russell King wrote:
> Your point 2 isn't user space though.
>
> Also, it's buggy. Consider a SCSI PCMCIA card with SCSI disks attached.
> When you eject that card, your SCSI disks disappear, yet they aren't
> marked as removable. If user space is relying on /sys/block/*/removable
> to tell it if things may go away, then user space is buggy.

It means removable media. The actual device can disappear for just about
any driver these days, considering pci hotplug or PCMCIA or usb or..

> Maybe it's for devices which may be present (eg, floppy driver), but
> which have removable media (eg, floppy disk), rather than removable
> devices?

Yes. Else there would be very little driver that don't set the flag.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/