Snd_ich/pcm, Devfs or ls bug?

Ryan Sommers ryans at gamersimpact.com
Wed Dec 31 23:11:29 PST 2003


Came across this little oddity while playing with audio:

root at lilshadow(/sys/dev/sound/pci):cd /dev
root at lilshadow(/dev):ls -l mixer*
crw-rw-rw-  1 root  wheel   30,   0 Jan  1 00:41 mixer0
root at lilshadow(/dev):ls -l mixer
crw-rw-rw-  1 root  wheel   30,   0 Jan  1 00:41 mixer
root at lilshadow(/dev)

I don't believe this is an ls(1) bug since an audio app couldn't find
/dev/mixer. Trying to symlink mixer0 to mixer fails with file exists as
well.

If you need any more info let me know.

PS If the problem is in ls(1) there is a patch on bin/59320 to fix a
formatting issue with the '-h' option.

-- 
Ryan "leadZERO" Sommers
Gamer's Impact President
ryans at gamersimpact.com
ICQ: 1019590
AIM/MSN: leadZERO

-= http://www.gamersimpact.com =-




More information about the freebsd-current mailing list