Messages in this thread | | | Date | Tue, 30 Nov 2010 17:00:11 -0800 | From | Greg KH <> | Subject | Re: How do I choose an arbitrary minor number for my tty device? |
| |
On Tue, Nov 30, 2010 at 01:33:52PM -0600, Timur Tabi wrote: > Greg KH wrote: > >>> > > When this function is called, userspace had better know exactly what is > >>> > > going on as it can get confused due to the lack of uevents happening. > >> > > >> > Thanks for the explanation, but I'm just concerned that you'll add a comment > >> > that says, "don't call this function". A quick grep will show that there are > >> > users of this function, and we'll have this exact conversation all over again. > > Care to turn the above into a patch? I'll be glad to apply that as well > > One question: why are uevents not happening?
What uevent would describe this? Userspace asked for the rename to happen, so it better be aware that it did.
We don't want to do a "remove" and then "add" sequence of events, that would confuse everyone.
thanks,
greg k-h
| |