文件名称:read_cd_vol_info
- 所属分类:
- Linux/Unix编程
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Subl****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
ISO 9660 is a international standard that defines a filesystem for CD/DVD media. To get the volume name from such system in Linux we ll be dealing with the its device path once again. On my system the device path of the CD/DVD device is /dev/scd0.
Also, it is important to know where is this information stored on the CD. Surfing and google-ing around I found the site that explains ISO 9660 in detail: types, modes, sectors etc.
Field of interest (called Volume ID) is located in the sector 16 called Primary Volume Descr iptor on the 32808. byte of the CD, and its length is 32 bytes.
Also, it is important to know where is this information stored on the CD. Surfing and google-ing around I found the site that explains ISO 9660 in detail: types, modes, sectors etc.
Field of interest (called Volume ID) is located in the sector 16 called Primary Volume Descr iptor on the 32808. byte of the CD, and its length is 32 bytes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
read_cd_vol_info.cc