public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: GN Keshava <keshava.gn@gmail.com>
Cc: edk2-devel-01 <edk2-devel@ml01.01.org>
Subject: Re: Format a volume in UEFI (or delete all files)
Date: Thu, 13 Oct 2016 10:33:49 +0200	[thread overview]
Message-ID: <892e191e-5e5d-c8c6-f827-bb1db482c9d1@redhat.com> (raw)
In-Reply-To: <CABKwMdve3q+-j6kzAn2Oj9t=NVBSYbQpNcym3oph-22niYfHcA@mail.gmail.com>

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, <lersek@redhat.com
> <mailto:lersek@redhat.com>> 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
> 



  parent reply	other threads:[~2016-10-13  8:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12 10:48 Format a volume in UEFI (or delete all files) GN Keshava
2016-10-12 14:31 ` Laszlo Ersek
2016-10-12 17:23   ` Blibbet
2016-10-12 17:34   ` GN Keshava
2016-10-12 17:40     ` Laszlo Ersek
2016-10-13  1:29       ` GN Keshava
2016-10-13  6:20         ` Michael Zimmermann
2016-10-13  6:26           ` GN Keshava
2016-10-13  8:33         ` Laszlo Ersek [this message]
2016-10-13  8:48           ` GN Keshava
2016-10-12 17:41     ` Blibbet
2016-10-12 17:46       ` Richardson, Brian
2016-10-12 17:55         ` Michael Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=892e191e-5e5d-c8c6-f827-bb1db482c9d1@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox