This patch provides for a way to securely move where core files show up and to
set the name pattern for core files to include the UID, Program, Hostname, and/or
PID of the process that caused the core dump. This is very handy for diskless
clusters where all of the core dumps go to the same disk and for production
servers where core dumps want to be segregated from the main production disks.
This also makes it easier to clean up core files since you would no longer need
hunt through the whole filesystem looking for files named "core ".
Under XFS, there currently is no way to repair a damaged filesystem that is
mounted, which makes it rather hard to recover the root (/ )
partition without some form of recovery disk. This script,
plus some specific configuration items will provide for automatic and manual
repair services for XFS file systems.
|