From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15EBFA04C5; Sat, 5 Sep 2020 01:31:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CCC81BC25; Sat, 5 Sep 2020 01:31:08 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id E19B7255 for ; Sat, 5 Sep 2020 01:31:06 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id bh1so1824836plb.12 for ; Fri, 04 Sep 2020 16:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=akZd/jh4lXwmIOiJo3UcGy1q1XHjgEZKhsfQlwm7xs8=; b=uwJa3Es77llfMypeJccdok+rI3MuCzVTdzzMbNY9Er3nYyUJtMi46Mb8HVQ3bm0C3q iejw847nR80rEgkxUfJnUKRkmsb+z/416Ixj2SPfesBFyw5mQ3FFWKINeGKbA3QULmYM WljzLjgo7DaaDwUBX5o+dRzQxAsesrVFw1PQnS3Rgf/6ewki+mH+5YdMSxVnp7WpgaZ8 ADAVFkk9I0Ip2YiRresN6vuJysUe4maS/8DWCnD9UEBrKjhl7Fuzxl8WlTCtYwKXtgbb L8fPTR7bkBcDe2aNNCylKWSPTqs1MQ6RVQPUGTrK3K980zNbFtCNjoz5dzvs2zVVs9Ad p89A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=akZd/jh4lXwmIOiJo3UcGy1q1XHjgEZKhsfQlwm7xs8=; b=gJ+DLAXT1S2Zj888FTDrNL+h44oKDn4usfGcH28AtAJF9hpsQytYQE7aKsAORceEw2 fTDf/uqMd7swR06x9FIIcOIeo7Ln1/iw6p4fahVY5//P0qJCOXGVCXkzHMNjhe4uFnqi srWvrwrQNjTMKjVsD7iUbNGKMOX+e+qFAmOq0cMxoNO5Knkdf7FoZhKUUOz/jK0Z9Mn+ DfbwQcDABVH1ADpGVk1ygXkL+1/cLI9U+TRVVWwHQK0nLehwAnhelR3+VG0HovV5Ca5T S1vZESZBo6tHEJZwxJFkxbRQQMW41snqDc0Tm1Ll4otpTv5aU8VcuqOis1kg1ySS7bad GOfw== X-Gm-Message-State: AOAM530tN3goa74YaeYCLS2jBaJikctMBOxjPu3kDiAq8y+z/ARz2JOK jr9LbQIpVXkRFmFJDaXx6CVNEw== X-Google-Smtp-Source: ABdhPJz4BEmfSngO/yyu3pwqrrZPGxq8Mz0/P7gu78RuRG04eZKHBafLtzbUExfVcHijB42E7ddZag== X-Received: by 2002:a17:902:8605:: with SMTP id f5mr10691257plo.263.1599262265777; Fri, 04 Sep 2020 16:31:05 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id md10sm6149709pjb.45.2020.09.04.16.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 16:31:05 -0700 (PDT) Date: Fri, 4 Sep 2020 16:30:57 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: dev@dpdk.org Message-ID: <20200904163057.325c4f87@hermes.lan> In-Reply-To: <51bb24b8-b5f0-7ad5-962a-7f07ee68c4f3@intel.com> References: <20200901165643.15668-1-stephen@networkplumber.org> <20200904183533.19509-1-stephen@networkplumber.org> <51bb24b8-b5f0-7ad5-962a-7f07ee68c4f3@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] usertools: add huge page setup script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, 5 Sep 2020 00:13:06 +0100 Ferruh Yigit wrote: > What do you thing checking if mount point exist before 'cmd'? > > + if not exists(HUGEDIR): > + os.system('mkdir -p ' + HUGEDIR) Not necessary with standard systemd