From: <no...@so...> - 2002-12-23 14:52:07
|
Patches item #657859, was opened at 2002-12-23 15:52 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=313751&aid=657859&group_id=13751 Category: Release/Branch: Bering Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alex Rhomberg (alexrh) Assigned to: Jacques Nilo (jnilo) Summary: linuxrc for mounting /var/log Initial Comment: With this linuxrc, you can add a startup parameter log_mnt. This parameter lets you put /var/log on disk or other storage instead of the ramdisk, so the information is preserved after a reboot There are two possibilities how this parameter can be used: log_mnt=/dev/somedevice (e.g. log_mnt=/dev/hda2) puts your log files directly in the given partition by mounting it to /var/log before starting syslog log_mnt=/dev/somedevice:/somedir (e.g. log_mnt=/dev/hda2:/logs) puts the log files in the /logs directory on the given partition, by mounting the partition to /logmnt and replacing /var/log with a symbolic link to the directory on that partition Note that the generation of the devices (root.dev.mk) had to be moved ahead of the initialisation of /var/log ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=313751&aid=657859&group_id=13751 |