creating a small iso image from a CD

This is a discussion on creating a small iso image from a CD within the Linux General forums, part of the Linux Forums category; How do you get the iso image of a CD without copying all the unused data space? If you use ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-12-2003
Marcel van der Goot
 
Posts: n/a
Default creating a small iso image from a CD

How do you get the iso image of a CD without copying all the unused
data space? If you use readcd or dd, you always get an iso image of
about 650MB, even if the CD contains less than a MB. While you can limit
the number of sectors or blocks, apparently this cannot be done in the
obvious way:

% df
/dev/cdrom 292954 292954 0 100% /mnt/cdrom
% readcd sectors=0-144 f=isofs.img
% ls -l isofs.img
-rw-r--r-- 1 root root 294912 Aug 11 18:17 isofs.img

While the image is big enough, it is incomplete (readable, but some
files are missing).

It seems obvious that somewhere in the OS there is code that knows exactly
how to read only the necessary data, but is there an application that
uses that to simply copy the minimum size image?

Thanks,
Marcel van der Goot
<vdgoot@earthlink.net>
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0