cdfs file

Kristian Rink kristian at
Tue Sep 12 08:47:51 UTC 2006

Hash: SHA1

Am Tue, 12 Sep 2006 11:01:20 +0530
schrieb "Shrikar archak" <shrikar84 at>:

> Is there any way to create cdfs files in linux or simulate it (if
> possible for windows also).
> I wanted to have a cdfs file set.

Hmmm, not sure I understand what you mean, but I'll give it a try
anyhow: If you're talking about making a copy of a CD-ROM medium to a
file in your filesystem, things are rather easy: Just insert the disc
to be "filed" into your drive, open some terminal and issue a

dd if=/dev/<cd-drive> of=<fileimage>.iso	,

replacing <cd-drive> with the device name of your CD-ROM drive (most
likely to be "hdb" [primary IDE slave] or "hdc" [secondary IDE master])
and <filename> with a reasonable name for the image.

Once the process has finished, you will find <filename>.iso in your
home folder, which by then will contain a copy of your CD stored in
an ISO-9660 file system (hence the name "iso image"). To access its
content, do something like

sudo mount -t iso9660 -o loop <filename>.iso /mnt

and look into /mnt... Your CD content by then should be there.

Note 1: You _might_ go the same way in a Windows environment, but I
have never really tried whether Windows by now provides a decent tool
for opening ISO-9660 image files (I know that Windows NT 4.0 doesn't) -
at least you can write ISO images to CD using most of the Windows CD
recorder tools.

Note 2: Following this _only_ will deal with the _data_ content of a
CD. Thus, the .iso image will _not_ include audio tracks and anything
stored on the CD and not being data. ;)


- -- 
Kristian Rink * * jab: kawazu at
icq: 48874445 *  fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)

Version: GnuPG v1.4.5 (GNU/Linux)


More information about the ubuntu-users mailing list