[lkml]   [2003]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ramdisk contents lost with 2.6
    Olaf Hering <> wrote:
    > Good morning,
    > is it only me or is the file really gone with 2.6?
    > umount -v /mnt
    > /sbin/mkfs.ext2 /dev/ram3
    > mount -v /dev/ram3 /mnt
    > cp /etc/hosts /mnt
    > sync
    > umount -v /mnt
    > mount -v /dev/ram3 /mnt
    > ls -l /mnt/hosts
    > umount -v /mnt
    > works ok with 2.4.

    Yup. Because the kernel considers the ramdisk as being "memory backed" it
    doesn't do writeback into the blockdev pagecache. If you remove the
    memory-backed flag, ramdisk contributes to dirty memory in undesirable
    ways. That memory-backed flag is too overloaded and needs to be split up.

    It's something I need to fix, but nobody seemed to be hurting from it up to
    now so I figured it could wait until after 2.6.0.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.022 / U:10.136 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site