Discussion:
Virtual CD drive for FreeBSD?
Mark Ovens
2006-01-10 15:43:35 UTC
Permalink
Is there such a thing as a virtual CD drive in the Ports. Something that
allows you to treat an ISO image file - data or audio - as though it
were a real CD in a real drive? Like Nero ImageDrive in Windows.

TIA

Regards,

Mark
Svein Halvor Halvorsen
2006-01-10 15:50:34 UTC
Permalink
Post by Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that
allows you to treat an ISO image file - data or audio - as though it
were a real CD in a real drive? Like Nero ImageDrive in Windows.
Look no further than the base system. mdconfig(8) the image file, and
then mount_cd9660(8) the device node.
Eric Schuele
2006-01-10 15:57:41 UTC
Permalink
Post by Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that
allows you to treat an ISO image file - data or audio - as though it
were a real CD in a real drive? Like Nero ImageDrive in Windows.
TIA
Regards,
Mark
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
man mdconfig
--
Regards,
Eric
Michael McDowell
2006-01-10 16:04:03 UTC
Permalink
FreeBSD is very upto date :-)

Michael
Post by Eric Schuele
Post by Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that
allows you to treat an ISO image file - data or audio - as though it were a
real CD in a real drive? Like Nero ImageDrive in Windows.
TIA
Regards,
Mark
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
man mdconfig
--
Regards,
Eric
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Igor Robul
2006-01-10 15:58:17 UTC
Permalink
Post by Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that
allows you to treat an ISO image file - data or audio - as though it
were a real CD in a real drive? Like Nero ImageDrive in Windows.
md(4)

mdconfig -a -t vnode -f your_iso.iso

then it prints name of device (in my case md1)

then
mount_cd9660 /dev/md1 /mnt

and after you have finished
umount /mnt
mdconfig -d -u 1
Wojciech Puchar
2006-01-10 19:52:16 UTC
Permalink
Post by Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that
well it has virtual CD, virtual DVD, virtual floppy, virtual disk and
virtual any-block-device

man mdconfig :)

in base FreeBSD distribution.


mdconfig -a -t vnode -o readonly -f file

will show device name like md0

and /dev/md0 is your "virtual CD"

Continue reading on narkive:
Loading...