LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-30-2004, 11:05 AM   #1
SheldonPlankton
Member
 
Registered: Jun 2004
Posts: 129

Rep: Reputation: 15
What's on a ISO 9660 CD-ROM filesystem file?


Hi

I have a bunch of ISO 9660 CD-ROM filesystem files sitting around in my /tmp directory.

[root@localhost tmp]# ls -l CDrec-*
-rw-r--r-- 1 root root 686620672 Jun 29 12:38 CDrec-29.06.2004_1
-rw-r--r-- 1 root root 110919680 Jun 29 12:42 CDrec-29.06.2004_2
-rw-r--r-- 1 root root 686161920 Jun 30 08:19 CDrec-30.06.2004_1
-rw-r--r-- 1 root root 686620672 Jun 30 08:43 CDrec-30.06.2004_2
-rw-r--r-- 1 root root 207388672 Jun 30 08:53 CDrec-30.06.2004_3

I want to be able to see what files are in them before I write them to a CD with cdrecord.

Do I need to mount them? If so how do I do that with out burning a CD?

Thanks
 
Old 06-30-2004, 11:17 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
use the loop device to mount them, I'm not sure but maybe it was something like

mount -t iso /dev/loop1 /tmp/CDrec-29.06.2004_1
mount /dev/loop1 /mnt/cdrom

or maybe it was

mount -t iso /tmp/CDrec-29.06.2004_1 /mnt/cdrom

one of them might work i think?
 
Old 06-30-2004, 11:21 AM   #3
SheldonPlankton
Member
 
Registered: Jun 2004
Posts: 129

Original Poster
Rep: Reputation: 15
Thanks! I needed to do the loop thing ...

[root@localhost tmp]# mount /tmp/CDrec-30.06.2004_1 /mnt/cdrom
mount: /tmp/CDrec-30.06.2004_1 is not a block device (maybe try `-o loop'?)
[root@localhost tmp]# mount -o loop /tmp/CDrec-30.06.2004_1 /mnt/cdrom
[root@localhost tmp]# ls -l /mnt/cdrom/
total 668797
-r--r--r-- 1 root root 2048 Jun 30 08:18 boot.catalog
-r--r--r-- 1 root root 2949120 Jun 30 08:16 bootflop.img
-r--r--r-- 1 root root 0 Jun 30 08:18 CDrec-30.06.2004_1
-r--r--r-- 1 root root 4000 Jun 30 08:18 Checksums.md5
dr-xr-xr-x 4 root root 8192 Jun 30 08:15 doc
-r--r--r-- 1 root root 247 Jun 30 08:16 hda1._boot.log.gz
-r--r--r-- 1 root root 2824053 Jun 30 08:16 hda1._boot.tar.gz
-r--r--r-- 1 root root 54420 Jun 30 08:18 hda2._.log.gz
-r--r--r-- 1 root root 671182848 Jun 30 08:18 hda2._.tar.gz_
-r--r--r-- 1 root root 7820111 Jun 30 08:15 rd-base.img.bz2
-r--r--r-- 1 root root 603 Jun 30 08:18 TRANS.TBL
-r-xr-xr-x 1 root root 13 Jun 30 08:15 VERSION
[root@localhost tmp]#
 
Old 06-30-2004, 03:23 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
ill have to remember that "-o loop" option, thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to parse an ISO 9660 image into file stream? macarthor Programming 2 09-13-2005 04:02 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
dm-crypt encrypted filesystem on a CD-ROM qwijibow Linux - General 0 09-14-2004 02:11 PM
cdr question - iso 9660 kater0000 Linux - Hardware 2 01-09-2004 07:49 AM
ROM Filesystem phantom0810 *BSD 0 07-08-2003 08:16 AM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration