From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9D1D31A1E8B for ; Thu, 13 Oct 2016 01:48:55 -0700 (PDT) Received: by mail-io0-x232.google.com with SMTP id j37so77845276ioo.3 for ; Thu, 13 Oct 2016 01:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7FE+8mN1jFKZJbv3mTrghFh8UQHNKj8KQzzVbOdV5Nc=; b=PYw9pPchfuZCUdk5P8R/7evQFwydJbydNrzIbC8EsCC8cBHy/ghMKY6MnMtOB31GoG MsiqUxunrf7k0i1qrXpXCYRcSY9dOo+g8ycpqSFU5kK1vPP5Kmx3hFrM4rj9ucqIK5yO er/g7UUgixmuHCqM7EgtmP8xg/mCo2GONH9Y4hXMy1/6CCrCxIbNWp86W05PK5bjHxEu k2t8so5dwounJwi4RNeOWSLfLSGIBlsA2dKEEB2N4WpZxpb9ES6+efdPriKV9EuinXE7 CfMA77BZ32xiAplYe/dY1Jn/MwP2oc6eYTCCdEC1EnQ/+bVX3qhTl6SjSJRF/zVxLoYn 9lwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7FE+8mN1jFKZJbv3mTrghFh8UQHNKj8KQzzVbOdV5Nc=; b=OXvxwMl1s49j2lFj67/b4dOZVaR8q1xOQ8L92qobvwEQKW/TcP5G0A8KeFHK3iZIXp Kpsp3/6T47zLqyjIAxbrzD82FjzL7trZzN/pYbas8fg+0J3gDOX7W+6X5AaJe7HOoK0A kXPMhFUuL9gRrEqepcbx+NhfPz+E2XzYhR5ez9q+y454VduaclIknz7RH9+BxKRyY/Lj gsRQwLIMl5L/7fcVccVXiz0/fth9bMeuylKiPxeK+Y39i6blGNbEJB5UAI7ZCxSkkzbo Lv6OEXbfNKRAkxzlSUeSc/Mw2MS8jsLJYy/y93vwRHnGwhaMzKdhv8ufMGL3sT4C/MiV hC2Q== X-Gm-Message-State: AA6/9RkBOcNjengBovUw+0NTppSXdlNcpYHYzMyhwMRpRUZONOe9T/83mXi+LuB1R00oZ9JwV6pcsC+SHR4Npw== X-Received: by 10.107.39.66 with SMTP id n63mr6501905ion.180.1476348534991; Thu, 13 Oct 2016 01:48:54 -0700 (PDT) MIME-Version: 1.0 References: <892e191e-5e5d-c8c6-f827-bb1db482c9d1@redhat.com> In-Reply-To: <892e191e-5e5d-c8c6-f827-bb1db482c9d1@redhat.com> From: GN Keshava Date: Thu, 13 Oct 2016 08:48:43 +0000 Message-ID: To: Laszlo Ersek Cc: edk2-devel-01 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: Format a volume in UEFI (or delete all files) X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 08:48:55 -0000 Content-Type: text/plain; charset=UTF-8 Got it. Thanks for the help, Laszlo. Regards, Keshava On Thu, 13 Oct 2016 at 14:03 Laszlo Ersek wrote: > On 10/13/16 03:29, GN Keshava wrote: > > Thanks Laszlo. > > > > Is it possible to run RM (or any shell command) from my C application > > code? Something like "System()" in Linux? Whether we can use LoadImage > > for this purpose? > > Can't say for sure; I'd opt for a separate implementation. > > Thanks > Laszlo > > > On Wed 12 Oct, 2016 11:10 pm Laszlo Ersek, > > wrote: > > > > On 10/12/16 19:34, GN Keshava wrote: > > > Thanks Laszlo, I'll check it out. > > > > > > I think I need to combine the LS implementation and RM > implementation, > > > isn't it? So there is no "format this volume" function or command > > > exists, right? > > > > I'm unaware of any "format" command. And, I think it's enough if you > > look at RM (LS should be unnecessary); RM already contains the > > recursion. > > > > Laszlo > > > >