From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v2] tools: add configure --with-dumpdir=DIR option Date: Fri, 8 May 2015 08:54:12 +0200 Message-ID: <20150508065412.GC4342@aepfle.de> References: <1430896124-604-1-git-send-email-olaf@aepfle.de> <20150507080144.GA28443@zion.uk.xensource.com> <20150507081051.GA18798@aepfle.de> <1430990570.2660.337.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1430990570.2660.337.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , Stefano Stabellini , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, May 07, Ian Campbell wrote: > On Thu, 2015-05-07 at 10:10 +0200, Olaf Hering wrote: > > On Thu, May 07, Wei Liu wrote: > > > > > On Wed, May 06, 2015 at 07:08:44AM +0000, Olaf Hering wrote: > > > > The current base directory /var/xen for domU dumps will be patched to > > > > /var/lib/xen by most distros. Provide a configure option to avoid > > > > patching the source. > > > > > > > > If the option is not specified the default remains /var/xen/dump. > > > You have not patched docs. I think it still references /var/xen/dump. > > > I discovered this when I read the manpage of xl.cfg. > > > > The default does not change. Last time I looked the docs refer to both > > /var/xen/dump and /var/lib/xen/dump. Do you want me to update the > > example in xl.cfg? > > Does anyone actually use the non-FHS compliant current default > of /var/xen/dump? Should we consider switching it to something more > standard? Perhaps having done so making it configurable wouldn't be > useful any more (although I'd be happy with it being so if desired). Changing the default would work as well I think. Right now the path is hardcoded. Should I adjust the patch to honour --localstatedir= or leave the hardcoded path in the source? Olaf