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