-
well
Well,
The problem is that I can't seem to open /cdrom using xmms. Here's what my files look like:
Code:
[brock@parker brock]$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Feb 11 16:46 /dev/cdrom -> hdc
[brock@parker brock]$ ls -l /dev/hdc
brw-rw---- 1 root cdrom 22, 0 Mar 14 2002 /dev/hdc
[brock@parker brock]$ ls -l / | grep cdrom
drwxr-xr-x 2 root root 4096 Feb 11 16:46 cdrom
[brock@parker brock]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda4 / ext3 errors=remount-ro 0 1
/dev/hda3 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
Using XMMS, I cannot load the cd audio files at /cdrom. Of course in redhat this would be /mnt/cdrom but it's pretty much the same idea. I can however load the audio files by either using /dev/hdc or /dev/cdrom. I'm just trying to solve what the problem here is regarding /cdrom and I can't seem to figure it out.
-
See what "stat /cdrom" says. Also, make sure you're really in the cdrom group with "id".
-
update
Before I state anything here I would like to apologize for starting another topic by accident. I must have hit the new topic button instead of postreply.
Alright, so this is what is specified when running stat on the cdrom
Code:
[root@parker brock]# stat /cdrom
File: "/cdrom"
Size: 4096 Blocks: 8 IO Block: 4096 Directory
Device: 304h/772d Inode: 701803 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Wed Feb 12 16:50:57 2003
Modify: Tue Feb 11 16:46:02 2003
Change: Wed Feb 12 15:31:16 2003
As for the group
Code:
[brock@parker brock]$ id
uid=1000(brock) gid=1000(brock) groups=1000(brock),24(cdrom),29(audio)
I know that I can use /dev/hdc and /dev/cdrom to load the audio files but I want to find out what exactly is causing this to happen. When I load the audio files this way, I also get another file that isn't playable. I assume this is the cd itself.
-
I was thinking that you should stat /cdrom when something was mounted on it. Sorry that I didn't specify that.
-
mount audio cd?
Dolda,
This has to do with reading an audio cd so mounting would not apply here. I'm going to assume that you meant putting in an audio cd and then running stat. Here is what it looks like with the AUDIO cd inside the cdrom
Code:
[brock@parker brock]$ stat /cdrom
File: "/cdrom"
Size: 4096 Blocks: 8 IO Block: 4096 Directory
Device: 304h/772d Inode: 701803 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Wed Feb 12 16:50:57 2003
Modify: Tue Feb 11 16:46:02 2003
Change: Wed Feb 12 15:31:16 2003
Here is what it looks like after mounting a DATA cd
Code:
[brock@parker brock]$ mount /cdrom
[brock@parker brock]$ stat /cdrom
File: "/cdrom"
Size: 4096 Blocks: 8 IO Block: 4096 Directory
Device: 1600h/5632d Inode: 116736 Links: 11
Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Thu Jul 18 09:34:12 2002
Modify: Thu Jul 18 09:08:14 2002
Change: Thu Jul 18 09:08:14 2002
-
Now that makes it quite different. I thought you were reading MP3:s from your CD. Then try running cdplay and see what it returns.
-
cdplay..
As I am running debian, there is no program called cdplay. However, I'm assuming that this is a command line cd probing tool. I have installed and ran cdcd which is another program in debian and it works fine.
I'm going to state again that I am able to run the audio files through /dev/hdc and /dev/cdrom. What I need to do is figure why I cannot use /cdrom to load the audio files into XMMS.
-
Becuse /cdrom is just a directory and doesn't contain anything. You can't mount an audio cd so you need to have it open /dev/cdrom and read it that way.
-
NOT MOUNTING
Ok,
Did I mention that I was mounting an audio cd? We all know that an audio cd CANNOT be mounted. However, the audio cd IS able to load from /cdrom. I've done this before and I'm perplexed why it's causing me trouble now. This is the purpose why I started this thread, to figure out why I cannot do it now when I was able to do it 2 days ago.
-
Are you sure that's what you did two days ago? It should be impossible.