Re: how to reuse the initrd ram by busybox?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 9 May 2006 09:03:00 +0800
zhuzhenhua <zzh.hust@xxxxxxxxx> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux