public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Format a volume in UEFI (or delete all files)
@ 2016-10-12 10:48 GN Keshava
  2016-10-12 14:31 ` Laszlo Ersek
  0 siblings, 1 reply; 13+ messages in thread
From: GN Keshava @ 2016-10-12 10:48 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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?

How I can get each file and folder names in a directory programmatically ?

Thanks.
With regards,
Keshava


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-10-13  8:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox