Re: removable media revalidation - udev vs. devfs or static /dev

From: Martin Schlemmer
Date: Thu Jan 08 2004 - 13:33:34 EST


On Thu, 2004-01-08 at 03:15, Greg KH wrote:

> The problem is the following:
> - user plugs in their usb flash reader with no media in it
> - the main block device is create, no partitions
> - user plugs a flash stick/whatever into the reader
> - kernel gets no notification of this event
> - userspace gets no notification of this event
>
> How can userspace know to open the main block device now? Require that
> we put a big "Rescan media now" button on the desktop? That's one way,
> but users are used to having to not do that.
>

Stupid question - can't the kernel do the rescan?


--
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part