mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
committed by
Xiang Xiao
parent
1767685a9e
commit
e66503788e
@@ -277,6 +277,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 ***************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user