Re: cdrecord newbie mystified at step zero
- From: Scott Hemphill <hemphill@xxxxxxxxxxxxx>
- Date: 13 Aug 2007 11:49:50 -0400
Charles Packer <mailbox@xxxxxxxxxxx> writes:
On Aug 13, 2:31 am, Matt Giwer <jul...@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
You don't mount blank media. cdrecord sends data to the drive telling it to
burn a file system on it.
Ah! Based on this remark, also as made
by Scott Hemphill in his followup,
I realized that, okay, you just start
writing to a blank CD. Same goes for
getting the track numbers from a partially
filled CD -- you just execute cdrecord
with -msinfo. (But first, I had to get my
device designation, ATA:1,1,0, correct.)
What had confused me was the structure
of the tutorial I cited, which states,
ahead of where it gets down to the business
of recording, that "Data CD's must be
mounted before one may access them."
In the context, such a "Note" apparently
is gratuitous and irrelevant.
So, just now, I was able to write a test
directory to a blank CD after making it
into a .iso. As you say, though, it
"disappears" the directory and writes
the contents file by file. It would be
nice to retain directories -- the way I
can with Nero under Windows XP --
but maybe that's asking too much of
a Linux command-line utility. For the
time being, though, it will work as a
backup for digital images, which is
my immediate need.
"mkisofs" does retain the directory structure. The contents of the
directory you specify to it are used as the contents of the top level
directory in the file system. If there are directories within that
directory, they will show up as directories in the file system.
If you look at the man page for mkisofs, you will realize that its
capabilities are considerable. Furthermore, you can mount the file
system under Linux to see what it looks like without ever burning a
CD-ROM:
$ mkisofs ... > /tmp/test.iso
$ su -
# mkdir /tmp/mnt
# mount -t iso9660 -o loop /tmp/test.iso /tmp/mnt
Now you can peruse the file system, which has been mounted at
/tmp/mnt. When you're done, you can unmount the file system:
# umount /tmp/mnt
# rmdir /tmp/mnt
Scott
--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.
- References:
- cdrecord newbie mystified at step zero
- From: Charles Packer
- Re: cdrecord newbie mystified at step zero
- From: Matt Giwer
- Re: cdrecord newbie mystified at step zero
- From: Charles Packer
- cdrecord newbie mystified at step zero
- Prev by Date: Re: cdrecord newbie mystified at step zero
- Next by Date: Re: cdrecord newbie mystified at step zero
- Previous by thread: Re: cdrecord newbie mystified at step zero
- Next by thread: Re: cdrecord newbie mystified at step zero
- Index(es):
Relevant Pages
|