[dpdk-dev] [PATCH] fbarray: make all fbarrays hidden files

Burakov, Anatoly anatoly.burakov at intel.com
Mon Apr 23 15:47:06 CEST 2018


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 <anatoly.burakov at intel.com>
>> ---
>>
>> Notes:
>>      Is /tmp always user-accessible? Maybe not use home
>>      directory at all?
>>
> Good change.
> 
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> 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.

-- 
Thanks,
Anatoly


More information about the dev mailing list