mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
fs/ioctl: add BLKSSZGET cmd to get block sector size
refer to: https://sites.uclouvain.be/SystInfo/usr/include/sys/mount.h.html Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
b385c48a30
commit
978530f5f6
@@ -26,11 +26,14 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/compiler.h>
|
||||
#include <nuttx/fs/ioctl.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define BLKSSZGET BIOC_BLKSSZGET
|
||||
|
||||
/* Mount flags */
|
||||
|
||||
#define MS_RDONLY 1 /* Mount file system read-only */
|
||||
|
||||
Reference in New Issue
Block a user