Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-02-2003, 01:46 PM   #1
Registered: May 2003
Posts: 161

Rep: Reputation: 32
/dev directory

Is there any way for me to figure out which files in the /dev directory are being used.

The question comes from me trying to play audio with mplayer.

When I run the command:
"mplayer -vo xv -ao alsa9 filname.avi" everything runs fine but I wanted to know which devices mplayer was using to output the video and audio

I tried going thru the dsp0-4, audio, and such and adding them to the audio output command like:
"mplayer -vo xv -ao alsa9:/dev/dsp filename" but nothing seemed to actually play audio.

It would be nice to have a one to one relation ship of the /dev directory, like when I look at fstab and see "/dev/hda3 /mnt/windows etc"
Old 12-02-2003, 02:10 PM   #2
LQ Newbie
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 22

Rep: Reputation: 15
try fuser /dev/whatever
Old 12-02-2003, 03:20 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

lsof | grep \/dev

Old 12-02-2003, 05:18 PM   #4
Registered: May 2003
Posts: 161

Original Poster
Rep: Reputation: 32
Thanks for the tips... looks like those will help alot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no files in /dev directory balajia82 Linux - Software 1 10-12-2005 09:18 PM
/dev/mapper directory joshnya Linux - Newbie 11 09-15-2005 04:09 AM
/dev directory Dave-Bowskill Programming 0 09-20-2004 12:52 AM
/dev directory class_struggle Linux - Newbie 2 07-13-2004 01:30 PM
/dev directory nny0000 Slackware 3 02-03-2004 07:37 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration