On Tue, 8 Oct 2002 [EMAIL PROTECTED] wrote:

Belated note...

> Is it possible to write a e2fs directory structure to CD?
> Say I want to backup /www  on my linux e2fs system. 
> Then later on, just mount the cd as you would any other e2fs partition.
> I use cdrecord, slack linux 8, 2.2 kernel I believe.
> 
> I've looked thru the FAQs.
> 
> Any help appreciated.

One thing to note is that with older kernel versions the block size must
be larger than the sector size, so a block size of 4k is needed.

  dd if=/dev/zero bs=1m count=650 of=image.iso
  mke2fs -b 4096 image.iso
  mount -o loop image.iso /mnt
  cp my_files /mnt/subdir
  umount /mnt
  cdrecord -pad dev=b,d,l speed=xx image.iso

As noted, e2fs is not optimal for a CD!
-- 
rob bogus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to