mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Remco van Mook <remco@virtu.nl>
To: bert hubert <ahu@ds9a.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: buffer/page cache aliasing? Re: 2.4 odd behaviour of ramdisk + cramfs
Date: Thu, 13 Nov 2003 17:58:54 +0100	[thread overview]
Message-ID: <5.1.0.14.2.20031113175123.027970a8@services3.virtu.nl> (raw)
In-Reply-To: <20031113164544.GA24997@outpost.ds9a.nl>

At 17:45 13-11-2003 +0100, bert hubert wrote:
>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?

I've just checked it with an ext2 filesystem - exactly the same thing happens.

Now, what's more interesting is that if I try again with a bigger filesystem
(3MB instead of 750KB) the problem only appears every now and again.

So it's probably got nothing to do with cramfs in particular, but more with the
size of the filesystem.

Remco


  reply	other threads:[~2003-11-13 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-13 16:32 Remco van Mook
2003-11-13 16:45 ` buffer/page cache aliasing? " bert hubert
2003-11-13 16:58   ` Remco van Mook [this message]
2003-11-13 16:59 ` Meelis Roos
2003-11-13 17:13   ` Remco van Mook
2003-11-13 17:41     ` Meelis Roos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.2.20031113175123.027970a8@services3.virtu.nl \
    --to=remco@virtu.nl \
    --cc=ahu@ds9a.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®