Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
devfsd si o no?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
roberto_dotg
n00b
n00b


Joined: 13 Apr 2005
Posts: 15

PostPosted: Mon Apr 18, 2005 7:08 am    Post subject: devfsd si o no? Reply with quote

ciao lista!
scusate domandina glam a me piace un sacco il comportamento di devfs ma nel kernel dice "OBSOLETE"
quindi :
e' stato rimpiazzato o cosa?
perche a-mme-mmi-piace!
tnx
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Apr 18, 2005 7:21 am    Post subject: Re: devfsd si o no? Reply with quote

roberto_dotg wrote:
ciao lista!
scusate domandina glam a me piace un sacco il comportamento di devfs ma nel kernel dice "OBSOLETE"
quindi :
e' stato rimpiazzato o cosa?
perche a-mme-mmi-piace!
tnx


udev sostituisce completamente devfs. ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Mon Apr 18, 2005 7:37 am    Post subject: Re: devfsd si o no? Reply with quote

comio wrote:

udev sostituisce completamente devfs. ciao


gia' e' stato rimpiazzato, ma devo ancora sbattermi a convertire il sistema a udev.. Fondamentalmente anch'io mi trovo bene con devfs, altrimenti avrei gia' cambiato! :wink:
Sara' la prossima tappa appena ho un po' di tempo... :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Mon Apr 18, 2005 7:46 am    Post subject: Reply with quote

Ecco la guida http://www.gentoo.org/doc/it/udev-guide.xml
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlterX
l33t
l33t


Joined: 03 Apr 2004
Posts: 754
Location: rm -rf /*

PostPosted: Mon Apr 18, 2005 8:25 am    Post subject: Reply with quote

fedeliallalinea wrote:
Ecco la guida http://www.gentoo.org/doc/it/udev-guide.xml


Bene grazie!
Anche io ho notato che devfs è obsoleto, però ho anche notato che
gentoo l'applica di default come politica di installazione!
Che differenze ci saranno con il passaggio ad udev??
qualcuno parlava di maggior sicurezza e velocità (anche se impercettibile)...
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Mon Apr 18, 2005 8:28 am    Post subject: Reply with quote

udev oltre ad avere una migliore gestione delle periferiche (soprattutto le rimovibili), gira in userspace
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Mon Apr 18, 2005 9:44 am    Post subject: Re: devfsd si o no? Reply with quote

roberto_dotg wrote:
e' stato rimpiazzato o cosa?
perche a-mme-mmi-piace!

Il problema è che non piaceva ai developer del kernel :D
Fidati, udev ti piacerà di più visto che ti consente di fare cose che con devfs erano assolutamente precluse :wink: (ti consiglio di leggerti la sezione relativa alle "regole" per le periferiche che puoi impostare sotto udev)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
btbbass
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 287
Location: Asti o Torino

PostPosted: Mon Apr 18, 2005 10:13 am    Post subject: Reply with quote

unico avviso (è una cosa da pochissimo, quindi non spaventarti): se usi udev e disinstalli devfsd devi cambiare il tuo

Code:
 /etc/Xorg11/xconfig


nella parte relativa al mouse (a me è successo, per lo meno)
Ho dovuto cambiare, avendo un mouse usb

Code:
 /dev/mouse


in

Code:
 /dev/input/mice


Se hai un mouse psx, cerca nel forum, trovi sicuramente la stringa da immettere
_________________
Chi dice che è impossibile non interrompa chi lo sta facendo

-Proverbio Cinese -
___________________________________
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Mon Apr 18, 2005 1:04 pm    Post subject: Reply with quote

Ho installato la prima 2005.0 che usa udev.
Mi sono rabbuiato quando in /dev ho trovato n-mila device 8O
cosa che non succedeva col buon devfs.

E' normale o si devono creare delle regole per evitare la creazione
indiscriminata di device?

CIauz
morellik
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Mon Apr 18, 2005 1:47 pm    Post subject: Reply with quote

Ti crea tante pty?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Apr 18, 2005 2:03 pm    Post subject: Reply with quote

A me risultano 690 oggetti... ma in gran parte sono link... udev sa essere molto prolisso con i link
Code:

$ ls -l /dev/dvd* /dev/cd*  /dev/pg*
lrwxrwxrwx  1 root root 3 Apr 18 11:41 /dev/cdrom -> sr0
lrwxrwxrwx  1 root root 3 Apr 18 11:41 /dev/cdrw -> sr0
lrwxrwxrwx  1 root root 3 Apr 18 11:41 /dev/dvd -> sr0
lrwxrwxrwx  1 root root 3 Apr 18 11:41 /dev/dvdrw -> sr0
lrwxrwxrwx  1 root root 3 Apr 18 11:41 /dev/pg0 -> sr0


(...e i link qui sopra qualcuno lo ho creato io, giusto per aumentare l'entropia....)
_________________
Ciao da me!
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Mon Apr 18, 2005 3:46 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ti crea tante pty?


A parte le pty che sono in gran parte link.
Ma ho, per esempio, 168 hdXY (non ho alcun disco IDE), 65 fdX (ho un solo floppy) e dato che il server
ha un controller HP Smart Array che crea in /dev una directory cciss, udev mi crea
ben 768 device 8O 8O che non sono link.
Non mi sembra molto funzionale a meno che non ci sia da smanettare nella configurazione
di udev.

morellik
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Mon Apr 18, 2005 5:44 pm    Post subject: Reply with quote

morellik wrote:
Ho installato la prima 2005.0 che usa udev.
Mi sono rabbuiato quando in /dev ho trovato n-mila device 8O
cosa che non succedeva col buon devfs.

Hai messo RC_DEVICE_TARBALL="no" in /etc/conf.d/rc?
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Tue Apr 19, 2005 8:45 am    Post subject: Reply with quote

fabius wrote:
morellik wrote:
Ho installato la prima 2005.0 che usa udev.
Mi sono rabbuiato quando in /dev ho trovato n-mila device 8O
cosa che non succedeva col buon devfs.

Hai messo RC_DEVICE_TARBALL="no" in /etc/conf.d/rc?


No. Provo.

Grazie
morellik
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Tue Apr 19, 2005 1:55 pm    Post subject: Reply with quote

morellik wrote:
No. Provo.

Allora e' sicuramente quello se no non si spiega le migliaia di hdXY che hai
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1565
Location: switzerland

PostPosted: Wed Apr 20, 2005 5:00 am    Post subject: Reply with quote

io sono passata questa mattina da devfs a udev sul mio portatile.

quando usavo devfs potevo usare sia il touchpad che il mouse usb.

ora in X riesco ad usare soltanto il mouse usb, qualcuno sa come posso usare "contemporaneamente" entrambi i mouse?


(il cat sul device del touchpad funziona)
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4811
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Apr 20, 2005 5:06 am    Post subject: Reply with quote

luna80 wrote:

ora in X riesco ad usare soltanto il mouse usb, qualcuno sa come posso usare "contemporaneamente" entrambi i mouse?

Io ho il touchpad su /dev/input/mouse0 e l'usb su /dev/input/mice.

Comunque qualche prova con il cat su /dev/input/... dovrebbe bastare a trovare la configurazione corretta.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1565
Location: switzerland

PostPosted: Wed Apr 20, 2005 8:50 am    Post subject: Reply with quote

@cloc3: grazie per la dritta, non avevo pensato di cercare un device dove funzionavano entrambi...:oops: pensavo fosse un altro problema

a me con /dev/input/mice funziona sia il touchpad che l'usb.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Wed Apr 20, 2005 10:54 am    Post subject: Reply with quote

@morellik: hai poi risolto mettendo a no quella voce?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Wed Apr 20, 2005 11:03 am    Post subject: Reply with quote

@fedeliallalinea: ti posso rispondere io che ho il suo stesso problema. No, il "problema" con
Code:
RC_DEVICE_TARBALL="no"
si è risolto :(
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Wed Apr 20, 2005 11:38 am    Post subject: Reply with quote

fedeliallalinea wrote:
@morellik: hai poi risolto mettendo a no quella voce?


Scusa il ritardo, ma ho avuto un po' di lavoro extra da fare.

Ho provato impostando RC_DEVICE_TARBALL="no" e per me sembra funzionare.
Dopo il riavvio del server non ho più device hdXY e in /dev/cciss ho solo i device che ho creato.

Grazie per la dritta.

Ciauz
morellik
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1565
Location: switzerland

PostPosted: Wed Apr 20, 2005 11:43 am    Post subject: Reply with quote

fedeliallalinea wrote:
@morellik: hai poi risolto mettendo a no quella voce?


io prima di mettere la voce (mi ero dimenticata) avevo molti più device, poi l'ho messa ed i device sono diminuiti ,...in ogni caso ne rimangono anche a me 960 (come randomaze)...non pochi.

inoltre, per quale motivo vengono creati tutti quel link per le tty? è normale?
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 21, 2005 10:32 am    Post subject: Reply with quote

luna80 wrote:

inoltre, per quale motivo vengono creati tutti quel link per le tty? è normale?


Mi pare se ne fosse parlato in un altro post, sempre se non ricordo male ci dovrebbe essere un bug report aperto, vedi cosa dice.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Thu Apr 21, 2005 10:51 am    Post subject: Reply with quote

gutter wrote:
Mi pare se ne fosse parlato in un altro post, sempre se non ricordo male ci dovrebbe essere un bug report aperto, vedi cosa dice.

Avevo pure sottoposto un bug e mi avevano detto che era giusto (https://bugs.gentoo.org/show_bug.cgi?id=73885)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Thu Apr 21, 2005 12:17 pm    Post subject: Reply with quote

Ho disattivato il salvataggio su tar e il numero di device è sceso da 1500 a 697.... comunque tanti! Ho ancora una barcata di hd* (mentre ne possiedo solo 4), tonnellate di pty e tty più varie ed eventuali:

bash-2.05b$ ls /dev/hd* | wc -w
17
bash-2.05b$ ls /dev/pty* | wc -w
279
bash-2.05b$ ls /dev/tty* | wc -w
329
bash-2.05b$ ls /dev/vcs* | wc -w
18

Inoltre, non funziona più VMWare: non trova /dev/vmnet0 e devo lanciare ogni volta /opt/vmware/bin/vmware-config.pl.

Come faccio a risolvere il problema senza riattivare quell'opzione?
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum