Results 1 to 10 of 16
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-12-2003 #1Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
well
Well,
The problem is that I can't seem to open /cdrom using xmms. Here's what my files look like:
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.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
The best things in life are free.
- 02-12-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
See what "stat /cdrom" says. Also, make sure you're really in the cdrom group with "id".
- 02-12-2003 #3Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
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
As for the groupCode:[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
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.Code:[brock@parker brock]$ id uid=1000(brock) gid=1000(brock) groups=1000(brock),24(cdrom),29(audio)
The best things in life are free.
- 02-12-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I was thinking that you should stat /cdrom when something was mounted on it. Sorry that I didn't specify that.
- 02-12-2003 #5Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
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
Here is what it looks like after mounting a DATA cdCode:[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
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
The best things in life are free.
- 02-12-2003 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
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.
- 02-13-2003 #7Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
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.The best things in life are free.
- 02-13-2003 #8Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
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.
- 02-13-2003 #9Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
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.The best things in life are free.
- 02-13-2003 #10Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Are you sure that's what you did two days ago? It should be impossible.


Reply With Quote
