xfs
[Top] [All Lists]

not xfs related - just hoping someone here has a better understanding

To: <linux-xfs@xxxxxxxxxxx>
Subject: not xfs related - just hoping someone here has a better understanding
From: Russel Ingram <ringram@xxxxxxxxxxxxxx>
Date: Tue, 20 Feb 2001 09:41:10 -0700 (MST)
Sender: owner-linux-xfs@xxxxxxxxxxx
This is completely not related to XFS other than that I am using devfs
because it was installed with the RH7.0-SGI-XFS_PR and I would like to
understand it and use it.  I'm hoping someone here has a better
understanding of the devfsd and its config file that I have been able to
accomplish.

Does anyone know why the commented lines at the very bottom of this config
make my devfsd puke?

# Sample /etc/devfsd.conf configuration file.
# Richard Gooch  <rgooch@xxxxxxxxxxxxx>         3-JUL-2000
#
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER        .*              MKOLDCOMPAT
UNREGISTER      .*              RMOLDCOMPAT

# You may comment out the above and uncomment the following if you've
# configured your system to use the original "new" devfs names or the really
# new names
#REGISTER       vc/.*           MKOLDCOMPAT
#UNREGISTER     vc/.*           RMOLDCOMPAT
#REGISTER       pty/.*          MKOLDCOMPAT
#UNREGISTER     pty/.*          RMOLDCOMPAT
#REGISTER       misc            MKOLDCOMPAT
#UNREGISTER     misc            RMOLDCOMPAT

# You may comment these out if you don't use the original "new" names
REGISTER        .*              MKNEWCOMPAT
UNREGISTER      .*              RMNEWCOMPAT

# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP          .*              MODLOAD

#
# Uncomment this if you want permissions to be saved and restored
#REGISTER       .*              COPY    /dev-state/$devname $devpath
#CHANGE         .*              COPY    $devpath /dev-state/$devname
#CREATE         .*              COPY    $devpath /dev-state/$devname

REGISTER       scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS 0.0 644
REGISTER       scsi/host.*/bus.*/target.*/lun.*/cd PERMISSIONS 0.0 666
#REGISTER        scsi/host0/bus0/target0/lun0/cd        CFUNCTION GLOBAL 
symlink $devname cdrom
#UNREGISTER     scsi/host0/bus0/target0/lun0/cd CFUNCTION GLOBAL unlink cdrom
#REGISTER       misc/psaux      CFUNCTION GLOBAL symlink $devname mouse
#UNREGISTER     misc/psaux      CFUNCTION GLOBAL unlink mouse
#REGISTER       v4l/video0      CFUNCTION       GLOBAL  symlink $devname video
#UNREGISTER     v4l/video0      CFUNCTION       GLOBAL  unlink  video

Any suggestions from anyone are greatly appreciated.  The online docs
haven't been much help so far (insufficient examples makes it difficult
when you don't fully understand what the docs are saying in the first
place).

Thanx,
Russ
-- 
---------------------------------------------------------------
"Bill Gates and Microsoft have ruined the computer industry for
 a long time to come by creating a class of ignorant and lazy
 computer users."  --Russel Ingram

"Mommy ... can I go out and ... KILL TONIGHT!?"
                   --Glen  Danzig, The Misfits
---------------------------------------------------------------
Russ Ingram
Gargoyle Computer Consulting
(307)742-1361
www.gargoylecc.com


<Prev in Thread] Current Thread [Next in Thread>