|
|
发表于 2005-5-9 12:36:54
|
显示全部楼层
挂载cue/bin格式的虚拟光驱文件
http://www.linuxsir.cn/bbs/showthread.php?t=196413
对于CUE+BIN形式的虚拟光驱,可以用 cdemu 来挂载。这个就相当于windows下的虚拟光驱,把cue+bin虚拟成一个设备,代价就是一个LKM。
CDemu是linux的一个内核模块。主要用来模拟CD驱动器及挂载在windows系统下常见的 cue/bin 形式的虚拟光驱。它包含user space program来控制内核模块。你也可以用它来观看SVCD和挂载cue/bin形式的数据光盘。
CDemu程序基于GPL
下载:
http://robert.private.outertech.com/virtualcd/cdemu-0.7.tar.bz2
安装:
$ tar -jxvf cdemu-0.7.tar.bz2
you need the source of your current running kernel.
/lib/modules/$(shell uname -r)/build/include needs to point at it.
build the module:
$ make
install the module and user space utilities:
$ sudo make install
now simply load the kernel module:
$ sudo modprobe cdemu
(no message should be displayed after running modprobe)
to load a bin/cue image:
$ cdemu 0 image.cue
$ mount /dev/cdemu/0 /mnt/cdrom
(some things may be different on your system)
for more information, please review the help output:
$ cdemu -h |
|