关闭

VirtualCD/DVD driver in Linux(Fedora 7)

514人阅读 评论(0) 收藏 举报
1. make a ISO image
cp /dev/cdrom path/ISOName.iso 

2. mount a ISO image
2.1
mkdir /mnt/iso
mount -t iso9660 -o loop path/ISOName.iso /mnt/iso

or
2.2
rm /dev/dvd
ln /dev/loop7 /dev/dvd
/sbin/losetup /dev/loop7 /root/shilenthill.iso (Note: In some Linux system, you can just use "losetup" but not "/sbin/losetup")
mount /dev/dvd /media/cdrom (or mount -t iso9660 -o loop /dev/dvd /media/cdrom)

3. unmount the virtual CD/DVD
umount /media/cdrom
losetup -d /dev/loop7

4. change a CD/DVD
losetup /dev/loop7 path/isoName.iso

Thanks to: http://zhidao.baidu.com/question/10990458.html
and: http://www.itjj.net/tech/OS/Linux/2006-12-22/77216.html
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:219691次
    • 积分:3433
    • 等级:
    • 排名:第9706名
    • 原创:84篇
    • 转载:115篇
    • 译文:0篇
    • 评论:41条
    最新评论