curious effect with cd-rom

Manuel J. Galan (manolow@step.es)
Fri, 15 Aug 1997 20:14:23 +0100 (WET DST)


---1463811840-269167349-871672483=:587
Content-Type: TEXT/plain; CHARSET=US-ASCII

Hi,

Back in the days of 2.0.x I built a cd-rom ext2 filesystem with the
following procedure:

1- I made a big file and built an ext2 filesystem on top of it
2- I mounted this file usin the 'loop' device and copied several
things, files, etc...
3- After umounting the file, I burnt the big file on a cd-rom with
cdwrite...

Well now the curious thing:

In 2.0.x I could do something like

mount -t ext2 -r /dev/sr0 /mnt (and it worked OK)

In 2.1.x this command fails with error.

mount: wrong fs type, bad option, bad superblock on /dev/sr0,
or too many mounted file systems

And now the funny thing

If I do (in 2.1.x)

losetup /dev/loop0 /dev/sr0
mount -t ext2 -r /dev/loop0 /mnt

It works !!!

(mount is 2.7a)

????

I suspect that this is related to block size changes between 2.0 and
2.1...

Why mount on an ext2 filesystem does not allow to specify the block
size?

-- 
Manuel J. Galan
manolow@step.es

---1463811840-269167349-871672483=:587 Content-Type: APPLICATION/pgp-signature

-----BEGIN PGP MESSAGE----- Version: 2.6.3ia Comment: Requires PGP version 2.6 or later.

iQB1AgUBM/SqlNLJkgqGw1hxAQFq9gL7BOrR30OSGsHCL7P+LNPeToV1ixCN2mgs Bo/fWiAtwTMbKZ6ZJplBgn0HuwkHDL2jsEomHSUGTsRjT8CCVEs7R8JXfK0dD1ZU iznz25ULzh90NIFtZgYsw4ijm1QZFLxi =4r5D -----END PGP MESSAGE-----

---1463811840-269167349-871672483=:587--