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:
parent
cddd9c9c38
commit
b321ae023c
@ -278,6 +278,14 @@
|
|||||||
* IN: None
|
* IN: None
|
||||||
* OUT: None (ioctl return value provides
|
* OUT: None (ioctl return value provides
|
||||||
* success/failure indication). */
|
* 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 ***************************************/
|
/* NuttX MTD driver ioctl definitions ***************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user