mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00: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:
parent
cddd9c9c38
commit
b321ae023c
1 changed files with 8 additions and 0 deletions
|
|
@ -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 ***************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue