LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2003, 10:36 PM   #1
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Rep: Reputation: 15
RH9 & direct cd's


is it possible to read direct-cd's made in windows through linux? i have rh9. and i mean direct-cd's that arent closed/finished.

i try this:

Code:
# modprobe udf
# mount -t udf /dev/cdrom1 /directory
and it tells me:

Code:
mount: block device /dev/cdrom1 is write-protected, mounting read-only
mount: wrong fs-type, bad option, bad superblock on /dev/cdrom1, or too many mounted file systems
so, my question is, is what im trying to do possible? if so what do i do to do so?

Last edited by warheros; 07-05-2003 at 10:37 PM.
 
Old 07-05-2003, 11:14 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try
mount /dev/cdrom1 /directory

Redhat should be smart enough and pick the right filesystem for your CD. Make sure you make the directory first before mounting it. If its an audio CD, you can not mount it.
 
Old 07-06-2003, 12:05 AM   #3
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
thanks for the reply, this is what i got from doing that:

Code:
/dev/cdrom1: invalid argument
mount: block device /dev/cdrom1 is write-protected, mounting read-only
/dev/cdrom1 invalid argument
mount: you must specify the filesystem type
and i know audio cd's cant be mounted. when i load in the cd, it brings up a gui file explorer window opening the cd to "///burn:" and shows nothing in it. i read up on that, and it says it does that when you put a blank disc in you can drag and drop stuff to it. but i know the disc isnt empty.

Last edited by warheros; 07-06-2003 at 12:09 AM.
 
Old 07-06-2003, 07:11 PM   #4
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
*bump*
 
Old 07-06-2003, 09:40 PM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Direct-cd's work fine for me. Are you sure the cd isn't already mounted (check /proc/mounts)? I've only used it with cdrw, are you using cdr?

You can even record on direct-cd's if you patch your kernel. It works well on mine.
 
Old 07-08-2003, 07:02 PM   #6
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
it's not already mounted.
 
Old 07-08-2003, 07:16 PM   #7
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Can you mount normal iso9660 filesystems using the same device? Have you tried more than one UDF formatted cd?

I've heard you can test the filesystem with this:
UDF Verification Software

BTW, if your interested in CDRW write support you can get your kernel patches here and the udftools here. Format UDF version 1.5 (like this: "cdrwtool -d <device> -v 0x0150 -q") if you want windows to be able to use it.

Last edited by zmedico; 07-09-2003 at 12:21 AM.
 
Old 07-08-2003, 10:04 PM   #8
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
they dont have my patch for my kernal version. and, i think it doesnt work because the cd isnt actually formated to udf until you choose to do so. because when you do format it, you cant write anymore to it using the direct cd, am i correct? therefore, i cant open it using udf in rh9.

have not tried opening iso6990 cd's.
 
Old 07-09-2003, 12:12 AM   #9
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by warheros
they dont have my patch for my kernal version. and, i think it doesnt work because the cd isnt actually formated to udf until you choose to do so. because when you do format it, you cant write anymore to it using the direct cd, am i correct? therefore, i cant open it using udf in rh9.
No, that's not how it works with cdrw (I don't know about cdr). The cd must be formatted with a UDF filesystem before data is recorded on it. Then it behaves much like any other writable filesystem. I'm not aware of anything you would need or want to do to it to make it unwritable.

Quote:
Originally posted by warheros
have not tried opening iso6990 cd's.
If you haven't successfully mounted any cd's then the problem is probably the device you're trying to use (/dev/cdrom1). Maybe /dev/hdb, /dev/hdc, /dev/scd0, /dev/scd1, or something will work.
 
Old 07-10-2003, 05:16 PM   #10
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
you must close the cd before it can be read in linux. i figured it out. and once you close it, you cant write to it anymore. which kind of messes some things up for me. but anyways, thanks for all the help, i figured it out finally.
 
Old 07-10-2003, 06:09 PM   #11
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
That's a cdr then, right? I never encountered any such behavior with cdrw.
 
Old 07-10-2003, 09:09 PM   #12
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Original Poster
Rep: Reputation: 15
cdr, hence the name cdrw, re-write.
 
Old 08-03-2003, 01:45 PM   #13
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Hi Guys,

I know that it has been some time since anyone put a reply in this forum, however, I'm confused by what someone said. I have a CDR that I wish to be able to read in Linux but I cannot. I need a UDF reader installed to be able to read a CD that I made from Windows using Roxio. I closed the CD but I still cannot read it.

Anyone know what I have to do? Thanks.
 
Old 08-04-2003, 03:18 AM   #14
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
It seems like warheros had success reading an MS Windows UDF CDR with linux, after the CDR was closed. Did you try something like "mount -t udf /dev/cdrom /mnt/cdrom" and get the error "mount: wrong fs type, bad option,
bad superblock on /dev/cdrom, or too many mounted file systems"?

Last edited by zmedico; 08-04-2003 at 03:20 AM.
 
Old 08-04-2003, 07:35 AM   #15
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Yes, I believe that is what I got yes.
 
  


Reply


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
Making RH9 install CD's DJ Shaji Red Hat 3 05-30-2005 01:51 AM
cannot copy video cd's in rh9.0 naglin Linux - Software 3 08-15-2004 04:13 PM
Using Apache 2(?) on RH9. How to direct domain name to my pc? in2jesus18 Linux - Newbie 2 04-22-2004 09:26 AM
burning cd's on rh9 jugOlguin Linux - Newbie 2 10-12-2003 06:44 PM
rpm's wont install from RH9 cd's Axo Linux - Newbie 2 05-11-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 AM.

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