[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101201010011.GB31571@kroah.com>
Date: Tue, 30 Nov 2010 17:00:11 -0800
From: Greg KH <greg@...ah.com>
To: Timur Tabi <timur@...escale.com>
Cc: Michael Ellerman <michael@...erman.id.au>,
Greg KH <gregkh@...e.de>, Scott Wood <scottwood@...escale.com>,
Arnd Bergmann <arnd@...db.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Stuart Yoder <stuart.yoder@...escale.com>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists