How to burn a ext3 file system on a cd?
Leonard den Ottolander
leonardjo at hetnet.nl
Thu Dec 18 20:59:20 UTC 2003
Hi Michael,
> > # dd if=/dev/zero of=<ext3 img> bs=1k count=62M
>
> 1k*62M would be much more than 620M.
Duh. count=620k seems a better figure. Sorry for that.
> > # tune2fs -j -c 0 -i 0 <ext3 img>
>
> A journal for a file to be stored on CD?
I know that's a bit silly. Probably should have advised him just to use an
ext2 filesystem. Here I was just explaining how to make a loopback ext3
file system.
> Really? Does it work for you? I was curious enough to see what I would
> get, and although cdrecord writes the raw data happily, I get this:
>
> # mount -t ext3 -o ro /dev/cdrom /mnt/cdrom
Strange. I actually tested this on RH 9 before submitting the post (with a
smaller filesystem to save me some time burning), and I can mount it with
/dev/cdrom. Now I test it again it works for /dev/cdrom (cd-reader), but
fails for /dev/cdrom1 (cd-writer). Hm. Maybe something to do with scsi
emulation?
Bye,
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the users
mailing list