Le Mercredi 14 Novembre 2001 19:32, Rosaire AMORE �crivit :
> Sur ma 7.2, j'ai un /sbin/devfsd et un /etc/devfsd.conf. Et
> m�me un man devfsd !
> Rosaire

> Andr� Sala�n a �crit :
> > Peut-�tre ailleurs que sous /lib
> >
> > > Etant sur une RH7.1, j'ai v�rifi� et je ne poss�de pas
> > > de /lib/dev-state ce qui laisserai penser que c'est
> > > sp�cifique � MDK.

partie de la doc du noyau sur devfs expliquant le r�le de 
devfsd:

Devfs implements a simple yet powerful protocol for 
communication with
a device management daemon (devfsd) which runs in user space. 
It is
possible to send a message (either synchronously or 
asynchronously) to
devfsd on any event, such as registration/unregistration of 
device
entries, opening and closing devices, looking up inodes, 
scanning
directories and more. This has many possibilities. Some of 
these are
already implemented. See:


http://www.atnf.csiro.au/~rgooch/linux/

Device entry registration events can be used by devfsd to 
change
permissions of newly-created device nodes. This is one 
mechanism to
control device permissions.

Device entry registration/unregistration events can be used to 
run
programmes or scripts. This can be used to provide automatic 
mounting
of filesystems when a new block device media is inserted into 
the
drive.

Et voil� les commentaire de config "mandrake" de devfsd :
# Changes for Mandrake Linux:
#
# Thierry Vignaud <[EMAIL PROTECTED]>
#       - autoload of modules on inode lookup
#       - auto{load,save} of permissions in /var/lib/dev-state/
#       - add an example of how to force default
#       - more ALSA stuff
#       - prevent devfsd to auto{save,load} permissions & ownerships
#         on Unix98 ptys (/dev/pts)
#       - handle CD burners too
#       - call dynamic scripts on device creation/removal

Ce qui correspond � la doc : cr�ation d'inodes si n�cessaire
Ceci dit on dirait bien que �a a chang� d'endroit 
(/lib/dev-state chez moi alors que mentionn�e sous 
/var/lib/dev-state dans ces commentaires ce qui  est peut-�tre 
ton cas.) Si tu veux le reste...en priv� ...au cas ou �a 
diff�rerait de chez toi.

-- 
Andr� Sala�n

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à