Re: [ANNOUNCE] ndevfs - a "nano" devfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 28, 2005 at 12:40:15AM -0700, Greg KH wrote:
> > 1) Predictable, canonical device names are a Good Thing.
> 
> And impossible for the kernel to generate given hotpluggable devices.

Bull. It's clear I'm talking about per-subsystem, not having individual
devices show up with the same name each time. Or are you suggesting that
hotplug might somehow turn my keyboard into a hard drive?

> I don't accept it, and neither does anyone else.

So then explain this to me, I've got a GUI sound player, on first
invocation it displays a list of sound cards installed on the system,
allows the user to select one, and then plays the sound file. How is it
supposed to do that if the device nodes for sound card 0 could be named
anything? I can get a list of sound cards from /proc/asound or
/sys/class/sound, but unless the sound card device nodes are predictably
named there's no way to find them short of searching every node in /dev.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux