Getting CD Volume name of mounted images
I am having a hard time getting the volume name of a cd-image.
"volname /dev/dvd" works for a real inserted cd/dvd, but I am trying to use it on a mounted .iso/.bin/.cue file. Volname just fails in these circumstances complaining about that it is not a device but a directory, etc. I mounted the .bin/.cue file with cdemu. Is there an easy way of doing this? |
sounds like you are trying to run volname command on the directory where the iso is mounted.
volname needs the iso file as an argument, not the mount point. |
ah so "volname isofile.bin" ?
I also tried that but all I got was garbage. Somebody suggested "cat isofile.bin | strings | less" which extracted all strings from the bin file including the volume name. But I don't think that is the way to do it :) |
Try 'isoinfo -d -i isofile.bin' (part of the 'mkisofs' package).
|
All times are GMT -5. The time now is 05:52 PM. |