summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-26 00:11:08 -0400
committerIan Moffett <ian@osmora.org>2025-05-26 00:12:08 -0400
commit3ba53262ba815ca94572b0c23e2bc0eed83d5cbb (patch)
treee815c96f81976c3f4be05bf4b1d5d28db2c13938 /sys/include
parentc77ef3dd42e2d8e1a3d2bb369138fc19e0875a70 (diff)
kernel: devfs: Detect block devices
This commit also adds the S_IFBLK flag in sys/stat.h Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/stat.h b/sys/include/sys/stat.h
index 6303630..6f1f371 100644
--- a/sys/include/sys/stat.h
+++ b/sys/include/sys/stat.h
@@ -32,6 +32,8 @@
#include <sys/types.h>
+#define S_IFBLK 0060000
+
struct stat {
dev_t st_dev;
ino_t st_ino;