From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:09:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5A9106566C for ; Sat, 16 Jan 2010 23:09:21 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id D8B7B8FC12 for ; Sat, 16 Jan 2010 23:09:20 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0GN9JOS091941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Jan 2010 00:09:19 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0GN9Jc4043884; Sun, 17 Jan 2010 00:09:19 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sun, 17 Jan 2010 00:09:19 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: RW In-Reply-To: <20100116230112.1db466f5@gumby.homeunix.com> Message-ID: References: <20100116230112.1db466f5@gumby.homeunix.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: changing place of .core files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 23:09:21 -0000 On Sun, 17 Jan 2010, RW wrote: > On Sat, 16 Jan 2010 23:23:52 +0100 (CET) > Marco Beishuizen wrote: > >> Normally when a program crashes, it places a .core file in the >> homefilesystem. Is there a way of changing the filesystem where >> FreeBSD places it's core dumps? > > cd to another directory before starting the program. This won't work most of the time because a lot of programs are not started by me as user. For example npviewer.bin core dumps a lot because of bad flash. But npviewer.bin is started by Firefox, not by me. -- Horngren's Observation: Among economists, the real world is often a special case.