Charles,
I finally have a working update to the /linuxrc script for bering.
It seems to be time to try and submit my patch again It allows to use a log_mnt parameter to mount /var/log/ on a persistent partition that is not lost reboots.
I use this to save the logs on a DoM.
Could you take a look at the support requests 657859 and 658015? You can find the info and patch there. Direct links: http://sourceforge.net/tracker/index.php?func=detail&aid=657859&group_id=137 51&atid=213751 http://sourceforge.net/tracker/index.php?func=detail&aid=658015&group_id=137 51&atid=213751
Hmm...I like this idea, but why make a symlink from /var/log rather than simply mounting your persistent log device directly to /var/log, instead of the tmpfs ramdisk?
I propose making log_mnt a new leaf.cfg variable (could also come in via the kernel command line). Rather than the format you used, however, I would like to use the existing PKGPATH/LEAFCFG format (dev[:filesystem).
If the log_mnt variable is set, linuxrc would mount the log_mnt device directly to /var/log, and skip making the tmpfs ramdisk. If log_mnt is unset or null, the current behavior would result. Does this seem acceptable to everyone?
Also, any reason (or drawback) to handling /tmp exactly the same way? I realize /tmp doesn't need to be persistent, but someone might want to be able to mount /tmp on something other than a ramdisk, and I might be able to save some space (or at least not grow /linuxrc much) if I fold togheter the /var/log and /tmp processing.
-- Charles Steinkuehler [EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel