Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2000 11:29:32 +0300
From:      Stefan KORONKA <KoronkaS@interscope.ro>
To:        'leegold' <goldtech@worldpost.com>, newbies@FreeBSD.org
Subject:   RE: audio ques. simplication.
Message-ID:  <D08F9E2FE307D411857300104B34F1A202D877@URANUS>

next in thread | raw e-mail | index | archive | help
> some nice person gave me some info on how they setup their cdplayer.
> could someone help me understand what they are saying? - it's 
> a bit advanced
> for me:
> 
> > On typical FreeBSD installations, xcdplayer wants the
> > -device option filled in with the location of the disc
> > in /dev, e.g:
> > xcdplayer -device /dev/acd0c
> 
> ok what did they just say? what does the above command do?

ok .. here is it:

1.
"/dev/acd0c" is the "logical name" of the physical device (in this case, the
cdrom)
This might be the "logical name" of the cdrom on your machine, or it may be
not ..
To check this, try do the folowing (and I hope that I'm not complicating
this even more):

-put a data cd in your unit, then run:

#mount /cdrom			
(this will mount you cd; the system will solve everything for you, if you
are lucky :)
(after this command, you can see files from the cd in /cdrom directory
-assuming that is a data cd)

#mount
(this will list the mounted device - eg, harddisk(s), the cdrom and other
stuff)

Now, from this list, look at the line where the word "/cdrom" appears. 
It might be something like "/dev/acd0c on /cdrom ISO9..." and other stuff. 
That "/dev/acd0c" is that "logical name" (I don't think that this is the 
proper definition, but let's keep it).
Note: on your system, it might be something else, not "/dev/acd0c".
Anyway, I think that this is the most usual case.

If you want to get out the cd from the unit, you must first release the
device:
#umount /cdrom

Now, hoping that you got so far .. you have that "logical name", and a clue 
of what that means.

2.
xcdplayer -device /dev/acd0c

This will say: hey, you, "xcdplayer", my cdrom is there ... play it !


Good luck.

Stefan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D08F9E2FE307D411857300104B34F1A202D877>