user34537
user34537

Reputation:

lib to read a DVD FS (data disc)

I am thinking i might want to port a lib to read a DVD filesystem. I am not talking about movies but datadisc. Theres existing code for me to do raw reads from the disc. I need code that request this data and allow me to browse files on the disc. What lib can i use for this?

-edit- NOTE: I am using an OSless hardware. Ppl seem to miss that but Alnitak caught it and gave me a great answer :)

Upvotes: 1

Views: 432

Answers (3)

Alnitak
Alnitak

Reputation: 339985

You need libudf which is part of GNU libcdio.

Upvotes: 3

Kip
Kip

Reputation: 109493

Why not just use the same I/O libs you'd use to read files from a hard disk?

Upvotes: 0

Charles Duffy
Charles Duffy

Reputation: 295746

If you want to browse files, why not let your operating system do the heavy lifting? Given that a modern OS will already have everything it needs to mount filesystems from DVDs -- and that there will be numerous people already using and debugging this code, as opposed to a smaller and more focused userbase for a userspace library such as libdvdread -- it seems silly not to leverage them.

Upvotes: 0

Related Questions