LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-09-2011, 10:44 AM   #1
rohini447
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Thumbs up creating iso image programmatically from a file descriptor


Could anyone please let me know if there is any library call or system call in SuSE that can be used to create an iso image out of a file. My requirement is to create a isoimage given the file descriptor(not the filename) of the file.

Regards,
Rohini Chandra
 
Old 06-09-2011, 08:31 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Building an iso image is a non-trivial task, so you won't find this in a single system call.

If you wish to use a library to construct the image, consider one such as libiso9660, which is part of libcdio.

If you need a quick and dirty approach, just copy the file to a named temporary file (eg in /tmp) and exec genisoimage from the main application.

Last edited by neonsignal; 06-09-2011 at 08:37 PM.
 
Old 06-11-2011, 03:42 AM   #3
rohini447
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you neonsignal. I would go through the links you provided. The application in question is currently using mkisofs which accepts a file name instead of descriptor.
 
  


Reply



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
open local file error when creating file descriptor hellgirl Linux - Newbie 1 09-14-2009 10:03 PM
K3B and creating an .iso image from a CD? rgbrock1 Linux - Software 5 11-23-2005 11:17 AM
Creating an ISO image of a CD tawalker Linux - Software 2 01-26-2005 11:03 PM
Creating ISO image question satimis Linux - Software 1 07-16-2004 11:32 PM
Creating dvd iso image chevy2410 Linux - Software 1 06-08-2004 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:41 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
Open Source Consulting | Domain Registration