Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
newb question about cd-images
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
goofus
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 180

PostPosted: Thu Jan 20, 2005 4:16 pm    Post subject: newb question about cd-images Reply with quote

1. exist a program to view/add/delete/extract content to cd-images? at least for isos?

2. can i mount cd-images like i could with daemon-tools/alcohol?


edit: well, lazy questions. :D

i just have seen kiso and cdemu. are those good choices?
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Jan 20, 2005 4:23 pm    Post subject: Reply with quote

I always mount isos on a loop device (you need support for this in the kernel.)
Code:
mount -o loop file.iso /pathto/mountpoint


And I use mkisofs to create iso files. To add I guess I would mount the image, cp it to somewhere, then add the stuff and then create a new iso image.....
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Jan 20, 2005 4:30 pm    Post subject: Reply with quote

Both can actually be accomplished with the same method: loop mounting.

Code:
mkdir /mnt/iso
mount -t iso9660 -o loop /path/to/image/file /mnt/iso

and the contents will be accessible in the normal manner.
You always have to specify the filesystem type with loop mounting; mount can't guess it like it normally does.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Jan 20, 2005 4:41 pm    Post subject: Reply with quote

Hmmm I once tried to edit a mounted iso. It would only mount it as read only. I thought the filesystem is just not capable of incoorperating changes on the fly. Never tested it since then. Would be nice if it can be done indeed :)
Back to top
View user's profile Send private message
goofus
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 180

PostPosted: Thu Jan 20, 2005 4:58 pm    Post subject: Reply with quote

yep, i have loop in kernel. :) so no new apps needed. thank you. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum