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

Martin Schlemmer
2004-01-08T18:31:29Z

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]