lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [BusyBox] [Fwd: Loopback device setup?]
Date
On Tuesday 17 February 2004 02:20, Tom Guilliams wrote:
> in /driver/block/loop.c -
>
> loop_set_fd()
>
> /*
> * If we can't read - sorry. If we only can't write -
> * well, it's going to be read-only.
> */
> if (!aops->readpage)
> goto out_putf;
>
> I confirmed the "if (!aops->readpage)" is true. I'm not sure what the
> readpage routine is trying to do (which dev or file) in my command below -
> # mount -t ext2 -o loop ramdisk.image rootfs
>
> Anyone have any thoughts?? This is all being done in the /tmp
> dircectory which is mounted as "tmpfs". Not sure if that has anything
> to do with it.

I recall that tmpfs cannot do readpage (by design?).
CCing LKML, maybe someone will pour in more info.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.034 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site