Re: [ANNOUNCE] udev 0.1 release

Greg KH (greg@kroah.com)
Fri, 11 Apr 2003 14:57:55 -0700


On Fri, Apr 11, 2003 at 11:09:03PM +0200, Arnd Bergmann wrote:
>
> - Someone accidentally removes the cable that connects a few hundred
> (mounted) disks
> - The cable is replaced, but - oops - to the wrong socket
> - The person notices the error and now places the cable into the right
> socket.
>
> At this time we have four concurrent hotplug events for every single
> disks that we want to be finished in order and we want every disk
> to end up with its original minor number in the end. If this is not
> possible, the system still needs to be in a sensible state after this.

No, you want to make sure you have the same "name" after that. As any
userspace apps that had a open file on the original disks are basically
screwed anyway, we want a way to enable them to recover nicely.

And no, I don't want to go into the whole, remove a device and plug it
back in, and userspace never noticed the difference while it held an
open file handle. That's a problem I don't want to even go near right
now, and is totally different from what udev is trying to do :)

thanks,

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