lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How do I choose an arbitrary minor number for my tty device?
Greg KH wrote:
> I really don't want to get into it, but the networking code is the only
> thing that allows this due to the userspace "want" to rename devices
> because we can't create symlinks to network devices like we can for all
> other devices (as they use device nodes.)
>
> 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.

--
Timur Tabi
Linux kernel developer at Freescale



\
 
 \ /
  Last update: 2010-11-29 23:39    [W:1.149 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site