Re: where i can find src of 'linuxrc' ?

Martin Schulze (linux-kernel@infodrom.north.de)
Fri, 25 Sep 1998 18:22:31 +0200


Herve REY wrote:
> where i can find src of 'linuxrc' ?

Read the documentation of initrd. linuxrc is a (generic) shell script.

This is a linuxrc which I use on one machine, for example.

----------------------------------------------------------------------
#! /bin/ash

if [ -s /etc/mdtab -a -f /sbin/mdadd ]
then
echo "Preparing system for rootfs raid."
/sbin/mdadd -ar
/bin/mount -t proc /proc /proc
echo 0x900 > /proc/sys/kernel/real-root-dev
/bin/umount /proc
else
echo "No mdtab or mdadd found."
fi
----------------------------------------------------------------------

Regards,

Joey

-- 
A mathematician is a machine for converting coffee into theorems.

- 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/