NAME
attach-bincue - attach a .bin (cdrom image) containing an iso9660 fs to nbd
SYNOPSIS
attach-bincue -i iso9660.bin -m /mnt & # start server
# kill server
umount /mnt
attach-bincue -d /dev/ndx # disconnect server
DESCRIPTION
With the -i switch, attaches a .bin file (containing an iso 9660 filesystem image in the bin/cue "fileformat") to a nbd instance and serve requests.
Otherwise the nbd device specified with -d is sent a disconnect request, usually causing it to exit cleanly.
Despite the name of this program, many more image formats can be attached due to the guessing code - I have successfully mounted nero-nrg, clonecd-img, blindwrite, uncompressed .fcd and a few more formats.
ARGUMENTS
- --image binfile
-
Attached the given file to the network block device and serve requests. The command will only exit on disconnect or any fatal errors.
- --offset bytes
-
The ISO image is offset by the given number of bytes. The default is to guess. Common values are
24,8and0. - --size blocksize
-
The blocksize in bytes. The default is to guess. Common values are
2352,2332and2340. - --device /dev/ndx
-
The nbd device node to use.
attach-bincueautomatically looks for a unused one if this switch isn't given. - --verbose
-
Increase verbosity. With this switch, read requests will be logged to stdout.
- --mount path
-
Try to mount the CD as iso image on the given path.
EXAMPLES
Common combinations of offset and blocksize
attach-bincue -b 2352 -o 24
attach-bincue -b 2332 -o 8
attach-bincue -b 2340 -o 0
AUTHOR
Marc Lehmann <nbd@plan9.de>.