gustavonihei commented on pull request #4333:
URL: https://github.com/apache/incubator-nuttx/pull/4333#issuecomment-897873608


   > The problem is where to put the fallback code.
   
   But currently there is no fallback to the `*IOC_GEOMETRY` commands either. 
Isn't it mandatory for every MTD and block device to implement this command? 
`BIOC_PARTINFO` could follow the same approach. After all, any MTD or block 
device can be partitioned.
   
   > Yes, many place need change MTDIOC_GEOMETRY(block_operations::geometry) to 
BIOC_PARTINFO.
   
   Yes. This will probably be the solution for majority of use cases. The 
application is hardly interested in the physical characteristics of the device.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to