lkml.org 
[lkml]   [1999]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.3.28: more on ramdisk problem
Hi,

I dd'd a BFS image to a ramdisk and mounted it - got all zeroes in file
data, then od -tx4 -Ax /dev/ram0 | less and behold all data is there
correctly (chose BFS because its layout is so trivial that you can read it
by looking at its hexdump). Then dd'd the image back to a file and mounted
via loopback - all file's now can be read correctly.

So, only when we go through VFS to /dev/ram0 (any fs on it
(any=ext2,minix,bfs)) we get zeroes as file's data. But read/write to
/dev/ram0 block device works correctly.

Regards,
Tigran.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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