Re: ext2 on CD-ROM not working... (2.1.42)

Manuel J. Galan (manolow@ext.step.es)
Fri, 06 Jun 1997 17:14:08 +0100


Andrew E. Mileski wrote:

> > I burnt an ext2 fs on a cd-rom, I can mount it (ro) perfectly with
> > kernel 2.0.x , but now I
> > get from the kernel:
> >
> > <4>VFS: Unsupported blocksize on dev 0b:00
>
> Not a solution...but a cheap band-aid. Use a loop device, 'cause
> they have a fixed block size of BLOCKSIZE (=1024 bytes). CD-ROms
> have a 2k block.
>
> --
> Andrew E. Mileski mailto:aem@netcom.ca
> Linux Plug-and-Play Hardware Support
> http://www.redhat.com/linux-info/pnp/
> XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html
> Ottawa-Carleton Linux User's Group (OCLUG) http://www.storm.ca/~linux/

Yes, that is what I did:

1- dd if=/dev/zero of=big_file bs=1k count=400
2- mke2fs -vm0 big_file
3- mount -o loop big_file /mnt
4- copy, tar, etc files on /mnt
5- umount /mnt
6- cdwrite .....

As I told you It worked OK but no longer...

BTW the block size is 1024 ...