linux-mips
[Top] [All Lists]

Re: how to reuse the initrd ram by busybox?

To: zhuzhenhua <zzh.hust@gmail.com>
Subject: Re: how to reuse the initrd ram by busybox?
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 9 May 2006 10:21:11 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips@linux-mips.org
In-reply-to: <50c9a2250605081803l3ac0465ase56bab689d1b34e8@mail.gmail.com>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250605081803l3ac0465ase56bab689d1b34e8@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On Tue, 9 May 2006 09:03:00 +0800
zhuzhenhua <zzh.hust@gmail.com> wrote:

> now i use a initrd to boot my system, then switch to the real root
> filesystem, and i want to reuse the initrd.
> i see in the redhat, it use the blockdev --flushbufs /dev/ram0 to
> flush the initrd ram.
>  and i can't find blockdev in busybox, so i use the freeramdisk
> /dev/ram0, but it seems has no effect.is there any other command to
> finish this job?

"blockdev --flushbufs" only do ioctl(fd, BLKFLSBUF, ...).
You can make simple program.

Yoichi

<Prev in Thread] Current Thread [Next in Thread>