mengesb
Group: Members
Posts: 4
Joined: June 2006 |
|
Posted: June 18 2006,19:57 |
|
Quote (tedmoore99 @ June 18 2006,12:34) | Kerry: Using the cheat codes modifies the way your data is stored after you shutdown. For example: mydsl=hda4, home=hda4, etc tells the bootloader that you want those directories stored on hda4. However the toram cheatcode tells the system to copy the entire system into ram at boot time.
There is the script "bootlocal.sh" which allows you to have some commands/scripts run at boot time which modifies this. Entering the command: "mount /dev/hda3 /usr" in bootlocal.sh tells the system to mount the hd as a filesystem at the mount point during boot time.
Enjoy --Ted |
so what I'm looking to do is first install the thing to HD... and use toram boot options?
Basically this will be a server environment; so reboots will be an occurance.
What I've had in previous linux distros was something in the rc.d to auto start my user games in their directories as their users (so they can control the process) - but what I'm trying to do with DSL is to run this system with minimal storage, and brunt of the sys in memory (toram). During reboots, this data may need to be saved... but I should be able to reference things such as logs to the user's directory.
so here's a more detailed look. The game will be installed in /etc/hlds (should be completely contained in memory ... approximately 1.6gb), the /usr directory will be in memory, but any /usr/<username> will be on hda? What this means to me is I'll probably be solinking the game so the user can run the process , and logs will be created on the HD.
At reboot, the data that will need to be saved will be things such as the httpd files (hosting of stats), mysql databases, and logs (which should be already on the hd from what I can think of here)
I hope this helps me a little, but from what I get here, I need to install HD first, then use bootlocal.sh with 'toram' or is that something done at console?
Heh, kinda confused, but I may be looking for a noob installation at some point here.
|