[Linux-Biella] cups + udev + gutsy = associazione a delinquere
Emanuele Aina
em a nerd.ocracy.org
Mer 7 Nov 2007 23:54:40 CET
Paolo Ciarrocchi riportò:
> Mi sfugge qualcosa, da
> http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs
>
> Provide a persistent device naming solution:
> Lots of people want to assign a specific name that they can talk to
> a device to, no matter where it is in the system, or what order they
> plugged the device in. USB printers, SCSI disks, PCI sound cards,
> Firewire disks, USB mice, and lots of other devices all need to be
> assigned a name in a consistent manner (******udev doesn't handle network
> devices, naming them is already a solved solution, using nameif*******).
> udev allows users to create simple rules to describe what device to
> name. If users want to call a program running a large database
> half-way around the world, asking it what to name this device, it
> can. We don't put the naming database into the kernel (like other
> Unix variants have), everything is in userspace, and easily
> accessible. You can even run a perl script to name your device if
> you are that crazy...
Visto che è qualche anno che nessuno sente più il bisogno di difendere
devfs, la mia diagnosi è che si tratti di documentazione
veeeeeeeeeecchia. :)
Per quel che ne so io oggidì udev è diventato La Soluzione Totale per
questo genere di cose.
Magari sbaglio, ma perché usare due programmi quando uno basta?
--
Buongiorno.
Complimenti per l'ottima scelta.
Maggiori informazioni sulla lista
Linux