[Linux-Biella] udev vs devfs
Paul TT
paultt a bilug.linux.it
Lun 6 Apr 2009 13:43:13 CEST
Paolo Ciarrocchi wrote:
> ....
> The Problems:
> 1) A static /dev is unwieldy and big. It would be nice to only show
> the /dev entries for the devices we actually have running in the
> system.
rm.... ;P
> 3) Users want a way to name devices in a persistent fashion (i.e. "This
> disk here, must _always_ be called "boot_disk" no matter where in
> the scsi tree I put it", or "This USB camera must always be called
> "camera" no matter if I have other USB scsi devices plugged in or
> not.")
>
but users want a way also to have the system think about it, not fixed
by the device.... ;)
> ...
> 1) devfs only shows the dev entries for the devices in the system.
>
?????
> 3) devfs does not provide a way to name devices in a persistent
> fashion
di suo no, ma si puo' fare ;P
> Constraints:
> 1) devfs forces the devfs naming policy into the kernel. If you
> don't like this naming scheme, tough.
> 2) devfs does not follow the LSB device naming standard.
>
questa sarebbe una cosa banalmente risolvibile eh..... ;)
> 3) devfs is small, and embedded devices use it. However it is
> implemented in non-pagable memory.
>
>
> 2) udev does not care about the major/minor number schemes. If the
> kernel tomorrow switches to randomly assign major and minor numbers
> to different devices, it would work just fine (this is exactly
> what I am proposing to do in 2.7...)
>
azz, di bene in meglio.... :(
> 4) udev emits D-BUS messages so that any other userspace program
> (like HAL) can listen to see what devices are created or removed.
> It also allows userspace programs to query its database to see
> what devices are present and what they are currently named as
> (providing a pointer into the sysfs tree for that specific device
> node.)
>
questo lo sapevo e mi piace :)
> Constraints:
> 1) udev moves _all_ naming policies out of the kernel and into
> userspace.
>
mah, circa
invero uno poteva farsi i device che voleva anche prima.....
non voglio star qui a fare discussioni sterili su sta cosa, quando
scrivero ' un kernel tutto mio potra' avere senso. a tutt'ora no.
udev per ora non mi piace, non vedo vantaggi, ma finora ho trovato
invece rugne. punto.
--
I've had a few ex-boyfriends hang up on me before, and they were gits too.
- Scott James Remnant, about GIT
Maggiori informazioni sulla lista
Linux