public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Blibbet <blibbet@gmail.com>
To: edk2-devel@lists.01.org
Subject: Re: Format a volume in UEFI (or delete all files)
Date: Wed, 12 Oct 2016 10:23:37 -0700	[thread overview]
Message-ID: <565c3df1-9f63-9042-6ac6-13cf8f3dc3e7@gmail.com> (raw)
In-Reply-To: <a1c36e38-2edd-db9b-a47f-a64ac8bcdc56@redhat.com>

On 10/12/2016 07:31 AM, Laszlo Ersek wrote:

> On 10/12/16 12:48, GN Keshava wrote:
>> Hi all,
>>
>> I need to format fs1: (or delete all files and folders in root directory)
>> from my UEFI application.
>>
>> I'm able to use file system APIs such as Open, Write or Delete too. But
>> Delete API needs File (file path) as argument, but what I want is delete
>> all files (irrespective of file name).
>>
>> What could be the best method? Is there any API to directly delete all
>> files? If not, How to go through (Open) all files and delete each?
If Microsoft relicensed the FAT FS driver, what about some licensing
help to make the Intel EFI Disk Utility source code BSD, so that could
be be used by others, or even exec'ed?



  reply	other threads:[~2016-10-12 17:23 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 [this message]
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
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=565c3df1-9f63-9042-6ac6-13cf8f3dc3e7@gmail.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