From d6358a0dc965d89cfca5bc8b9d3d035a894f5212 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 24 Nov 2022 10:31:17 +0100 Subject: sys/linux: refine BLKPG ioctl This ioctl accepts blkpg_partition struct: https://elixir.bootlin.com/linux/v6.1-rc6/source/block/ioctl.c#L20 --- sys/linux/dev_block.txt.const | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/linux/dev_block.txt.const') diff --git a/sys/linux/dev_block.txt.const b/sys/linux/dev_block.txt.const index 379ac8037..fd9879645 100644 --- a/sys/linux/dev_block.txt.const +++ b/sys/linux/dev_block.txt.const @@ -13,6 +13,11 @@ BLKIOMIN = 4728, mips64le:ppc64le:536875640 BLKIOOPT = 4729, mips64le:ppc64le:536875641 BLKPBSZGET = 4731, mips64le:ppc64le:536875643 BLKPG = 4713, mips64le:ppc64le:536875625 +BLKPG_ADD_PARTITION = 1 +BLKPG_DEL_PARTITION = 2 +BLKPG_DEVNAMELTH = 64 +BLKPG_RESIZE_PARTITION = 3 +BLKPG_VOLNAMELTH = 64 BLKRAGET = 4707, mips64le:ppc64le:536875619 BLKREPORTZONE = 3222278786 BLKRESETZONE = 1074795139, mips64le:ppc64le:2148536963 -- cgit mrf-deployment