LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2005, 09:55 AM   #1
Darkvater
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
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?
 
Old 03-15-2005, 08:08 PM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
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.
 
Old 03-16-2005, 07:13 AM   #3
Darkvater
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 03-16-2005, 12:58 PM   #4
NVRAM
LQ Newbie
 
Registered: Oct 2004
Location: Western USA
Distribution: Fedora,Suse,Redhat,Puppy,etc.
Posts: 13

Rep: Reputation: 1
Try 'isoinfo -d -i isofile.bin' (part of the 'mkisofs' package).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 09:12 PM
In fc3 Can I umount a Logical Volume which is mounted auto in fstab? TomF Linux - Newbie 2 12-16-2004 02:40 AM
mounted volume can only be accessed by root EcceVery Debian 7 08-01-2004 09:45 AM
Volume labels in Debian cause everything to be mounted read-only? racoontje Debian 0 07-09-2004 04:40 PM
Hi, Can I write files to mounted iso images? zhaoyoubing Linux - General 2 08-14-2003 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration