From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] fbarray: make all fbarrays hidden files Date: Mon, 23 Apr 2018 21:56:01 +0200 Message-ID: <1528313.VrkqK0vgdz@xps> References: <738d08e521a8987ceeb2748db5b765d8b8531e54.1524481846.git.anatoly.burakov@intel.com> <20180423124832.GA100540@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson To: "Burakov, Anatoly" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0F4A61066 for ; Mon, 23 Apr 2018 21:56:03 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 23/04/2018 15:47, Burakov, Anatoly: > On 23-Apr-18 1:48 PM, Bruce Richardson wrote: > > On Mon, Apr 23, 2018 at 12:14:13PM +0100, Anatoly Burakov wrote: > >> fbarray stores its data in a shared file, which is not hidden. > >> This leads to polluting user's HOME directory with visible > >> files when running DPDK as non-root. Change fbarray to always > >> create hidden files by default. > >> > >> Signed-off-by: Anatoly Burakov > >> --- > >> > >> Notes: > >> Is /tmp always user-accessible? Maybe not use home > >> directory at all? > >> > > Good change. > > > > Acked-by: Bruce Richardson Applied, thanks > > A further improvement would to put the files as not-hidden but inside a > > hidden subdirectory e.g. ".dpdk" > > Good suggestions, I'll work on this. There are other places where we create file. Please try to move all in the same place.