用于读取 DVD FS(数据光盘)的 lib
我想我可能想要移植一个库来读取 DVD 文件系统。 我不是在谈论电影,而是在谈论数据光盘。 我有现有的代码可以从光盘上进行原始读取。 我需要请求这些数据并允许我浏览光盘上的文件的代码。 我可以为此使用什么库?
-编辑- 注意:我使用的是无操作系统硬件。 Ppl 似乎错过了这一点,但 Alnitak 抓住了它并给了我一个很好的答案:)
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 :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您需要
libudf
它是 GNUlibcdio
的一部分。You need
libudf
which is part of GNUlibcdio
.如果您想浏览文件,为什么不让您的操作系统来完成繁重的工作呢? 考虑到现代操作系统已经具备了从 DVD 挂载文件系统所需的一切,而且已经有很多人在使用和调试这些代码,而不是像 libdvdread 这样的用户空间库的用户群更小、更集中——不利用它们似乎很愚蠢。
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.
为什么不直接使用与从硬盘读取文件相同的 I/O 库呢?
Why not just use the same I/O libs you'd use to read files from a hard disk?