[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Setting up devfs



Once you convert all your config files to use devfs names, you might want
to comment out the first REGISTER and UNREGISTER commands in
/etc/devfs/compat_symlinks and then reboot.  You'll get a much cleaner
looking /dev.  eg:

[ian@solvent:/dev]$ ls
MAKEDEV  dsp      input  mixer      printers  rdvd        stderr   v4l
cdrom    dvd      kmem   mixer1     ptmx      root        stdin    vc
cdroms   fd       log    null       pts       scsi        stdout   vcc
console  floppy   mem    nvidia0    pty       sequencer   tts      xconsole
cpu      full     midi   nvidiactl  random    sequencer2  tty      zero
cua      gpmctl   midi1  port       raw1      shm         urandom
discs    initctl  misc   ppp        rawctl    sound       usb
[ian@solvent:/dev]$

Some programs are hardcoded to look for things at /dev/foo
*cough KMIX cough* so you should add a couple of lines to the bottom of
devfsd.conf that REGISTER the sound devices like so

REGISTER ^sound/dsp CFUNCTION GLOBAL symlink sound/dsp dsp
REGISTER ^sound/mixer CFUNCTION GLOBAL symlink sound/mixer mixer
REGISTER ^sound/mixer1 CFUNCTION GLOBAL symlink sound/mixer1 mixer1
REGISTER ^sound/midi CFUNCTION GLOBAL symlink sound/midi midi
REGISTER ^sound/midi1 CFUNCTION GLOBAL symlink sound/midi1 midi1
REGISTER ^sound/sequencer CFUNCTION GLOBAL symlink sound/sequencer sequencer
REGISTER ^sound/sequencer2 CFUNCTION GLOBAL symlink sound/sequender2 sequencer2

HTH,
	--ian




Reply to: