用于读取 DVD FS(数据光盘)的 lib

发布于 2024-07-17 02:21:43 字数 194 浏览 5 评论 0原文

我想我可能想要移植一个库来读取 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

<逆流佳人身旁 2024-07-24 02:21:43

您需要 libudf 它是 GNU libcdio 的一部分

You need libudf which is part of GNU libcdio.

倥絔 2024-07-24 02:21:43

如果您想浏览文件,为什么不让您的操作系统来完成繁重的工作呢? 考虑到现代操作系统已经具备了从 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.

谁对谁错谁最难过 2024-07-24 02:21:43

为什么不直接使用与从硬盘读取文件相同的 I/O 库呢?

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文