Re: Broken Initial RAM Disk support

From: Peter Samuelson (peter@cadcamlab.org)
Date: Sun Jan 16 2000 - 00:36:01 EST


  [Dick Johnson]
> > # Set some compatibility links.
> > #
> > ln -s /dev/tty0 ${RAMDISK}/dev/systty
> > ln -s /dev/tty0 ${RAMDISK}/dev/console
> > ln -s /dev/ram1 ${RAMDISK}/dev/ram
> > ln -s /lib ${RAMDISK}/usr/lib
> > ln -s /lib ${RAMDISK}/usr/local/lib

[James W. Laferriere <babydr@baby-dragons.com>]
> Are you sure of these links ? I didn't see a chroot above
> to change the location of / to the ${RAMDISK} .

Should work fine. symlink() does not parse its first argument in any
way; it puts the text directly into the filesystem. The link only has
to be valid when it is actually followed (i.e. after you reboot, in
this case).

Peter

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:12 EST