Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/om/qwen-native/flash/diskcheck.om # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / om / qwen-native / flash / diskcheck.om` 41 lines ยท 861 bytes Raw Blame History 1 note The installation unit binds each fd to a full SHA-256-verified immutable byte identity on this Spark. 2 note Linux arm64 stat layout. Device, inode, size, mtime and ctime (seconds and nanoseconds). 3 fn qstatword off ulong to ulong 4 v = ulong 0 5 for i ulong 8 6 v = or v shl ulong get qwstat add off i mul 8 i 7 end 8 ret v 9 end 10 fn qdiskcheck shard ulong to void 11 p = mul shard 7 12 if or ne qstatword 0 get qdiskpin p ne qstatword 8 get qdiskpin add p 1 13 qwfail 59 14 end 15 if ne qstatword 48 get qdiskpin add p 2 16 qwfail 59 17 end 18 for j ulong 4 19 off = add 88 mul j 8 20 if ne qstatword off get qdiskpin add add p 3 j 21 qwfail 59 22 end 23 end 24 end 25 fn qdiskinit layers ulong to void 26 if ne layers 48 27 qwfail 59 28 end 29 qdisk38 30 end 31 fn qrestat shard ulong to void 32 if ne fstat int get qwfd shard qwstat 0 128 0 33 qwfail 59 34 end 35 qdiskcheck shard 36 end 37 fn qdiskrecheck to void 38 for s ulong 131 39 qrestat s 40 end 41 end