Linux DVD+/-R Driver.

Programming, for all ages and all languages.
Post Reply
Barney

Linux DVD+/-R Driver.

Post by Barney »

Hi.

I posted some time ago with regards to writing to a windows partition (here), however, I have done much more research and need some more help if possible.

Basically, the new goal is reading/writing to a DVD in linux (CentOS). I have been looking on google but havent found anything to help me. All I really need to do is access (read/write) a DVD; I will be using my own contiguous file system, so will need to be able to read/write to individual sectors minimum.

Also, the data wont all be written in 1 go, it will be added to/read from at different times.

Any info will be appreciated.
Thanks.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux DVD+/-R Driver.

Post by Pype.Clicker »

all my knowledge of DVD access in linux stands in growisofs and k3b. But i guess you're more looking for a sort of hdd-like access to the medium itself (like, operating directly on /dev/cdrom), right ?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Linux DVD+/-R Driver.

Post by Solar »

"Package Writing" is the keyword here, the underlying file system is called UDF. There's a kernel option "UDF file system support" under File Systems / CD-ROM/DVD Filesystems, and another option "Packet writing on CD/DVD media" under Device Drivers / Block devices.

Unfortunately that's about all I know about it, but perhaps that helps you googling for it.
Every good solution is obvious once you've found it.
Barney

Re:Linux DVD+/-R Driver.

Post by Barney »

Pype.Clicker wrote:i guess you're more looking for a sort of hdd-like access to the medium itself (like, operating directly on /dev/cdrom), right ?
That is correct.
Solar wrote: "Package Writing" is the keyword here, the underlying file system is called UDF.
Thanks! It has definately given me something to research. I have had a quick look and packet writing/UDF should allow me to access the disk like the hard disk/floppy. This means I now need to find out how to access a hard drive directly, which should be easier to find out ;D

Thank you for your time.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux DVD+/-R Driver.

Post by Pype.Clicker »

Barney wrote: This means I now need to find out how to access a hard drive directly, which should be easier to find out ;D
Such as using ATAPI ??
Post Reply