fs: Add ioctl command for retrieving partition info of a block device

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-08-09 15:10:57 -03:00 committed by Xiang Xiao
parent cddd9c9c38
commit b321ae023c

View File

@ -278,6 +278,14 @@
* IN: None
* OUT: None (ioctl return value provides
* success/failure indication). */
#define BIOC_PARTINFO _BIOC(0x000e) /* Retrieve partition information from the
* block device.
* IN: Pointer to writable struct
* partition_info_s in which to
* receive partition information data
* OUT: Partition information structure
* populated with data from the block
* device partition */
/* NuttX MTD driver ioctl definitions ***************************************/