View previous topic :: View next topic |
Author |
Message |
goofus Apprentice
Joined: 19 Nov 2004 Posts: 180
|
Posted: Thu Jan 20, 2005 4:16 pm Post subject: newb question about cd-images |
|
|
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.
i just have seen kiso and cdemu. are those good choices? |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Jan 20, 2005 4:23 pm Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Jan 20, 2005 4:30 pm Post subject: |
|
|
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 |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Jan 20, 2005 4:41 pm Post subject: |
|
|
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 |
|
|
goofus Apprentice
Joined: 19 Nov 2004 Posts: 180
|
Posted: Thu Jan 20, 2005 4:58 pm Post subject: |
|
|
yep, i have loop in kernel. so no new apps needed. thank you. |
|
Back to top |
|
|
|