Date: Mon, 10 Dec 2001 14:21:13 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: John Baldwin <jhb@FreeBSD.org> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, freebsd-arch@FreeBSD.org Subject: Re: Proposed auto-sizing patch to sysinstall (was Re: Using a la Message-ID: <200112102221.fBAMLD648896@apollo.backplane.com> References: <XFMail.011210133843.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
: : :On 09-Dec-01 Andrew Gallatin wrote: :> Then our location of /var/crash appears to be in confict with the :> purpose of /var, so we should move /var/crash to /usr/crash, or teach :> "dump" to be smarter & not dump the entire memory of the machine in :> the first place. Eg, don't dump vnode backed pages, free pages, or :> portions of the address space which aren't backed by physical memory.. : :I vote for /usr/crash, it's what I use all the time anyways. : :-- : :John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ I prefer the official path to be /var/crash (/var/<something>). Since I typically export /usr via NFS read-only I usually put crash in /home. aka /var/crash->/home/crash, or some other partition, or I just leave /var/crash as is and if /var doesn't have any room I run 'savecore <some_directory>' manually after booting is complete. In regards to the "dump" being smarter... system core dump is only a dump of physical memory. It does not dump VM Objects. Of course, it does wind up dumping whatever is in physical memory, such as the file cache, but it's important that it do so or we kernel hackers would have a hard time tracking problems down. Also, you don't want to make a system core dump too 'smart'... the system could be in a very corrupted state when dumping so we can't safely traverse dozens of system structures. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112102221.fBAMLD648896>