Stan’s Obligatory Blog


Filed under: — stan @ 10:49 am

To make a directory into an ISO filesystem image:

mkisofs -L -a -R -o output.raw  /path/to/directory

To mount an ISO image file as a device:

bort# cd /modules
bort# ls -al *vn*
-r-xr-xr-x 1 root wheel 71386 Dec 24 10:36 vn.ko
bort# kldload vn.ko
bort# vnconfig -c /dev/vn0c smoothwall-1.0.iso
bort# mount -t cd9660 /dev/vn0c /mnt

To burn a CD with the image file:

cdrecord -v speed=1 dev/dev/cd0d:6,0 output.raw

Powered by WordPress