diff --git a/include/nuttx/fs/ioctl.h b/include/nuttx/fs/ioctl.h index d93390f2484..05db9207d6b 100644 --- a/include/nuttx/fs/ioctl.h +++ b/include/nuttx/fs/ioctl.h @@ -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 ***************************************/