buffer/page cache aliasing? Re: 2.4 odd behaviour of ramdisk + cramfs

From: bert hubert
Date: Thu Nov 13 2003 - 11:47:28 EST


On Thu, Nov 13, 2003 at 05:32:49PM +0100, Remco van Mook wrote:

> #! /bin/sh
> cat /flash/modules-2.4.21 > /dev/ram1
> mount -t cramfs -o ro /dev/ram1 /lib/modules
>
> Running it once causes the mount to fail with 'cramfs: wrong magic' -
> running it twice will make mount succeed on the second try.

Sounds like buffer/page cache aliasing perhaps? Does it work with other
filesystems?

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/