Get SDR Repository Allocation Info 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,获取 SDR 的容量信息。 The command returns the number of possible allocation units, the amount of usable free space (in allocation units), the allocation unit size (in bytes), and the size of the largest contiguous free region (in allocation units).
权限
ReadOnly
命令信息
请求信息
无请求信息
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:3 | Number of possible allocation units, LS Byte first This number indicates whether the total number of possible allocation units is equal to, or some number less than the log size divided by the allocation unit size. 0000h indicates ‘unspecified’. |
| 4:5 | Allocation unit size in bytes. 0000h indicates ‘unspecified’. |
| 6:7 | Number of free allocation units, LS Byte first |
| 8:9 | Largest free block in allocation units, LS Byte first |
| 10 | Maximum record size in allocation units. |
命令样例
样例1:
- 请求:
- 响应: