5 ms·
JSON seems like a weird choice for a kernel-parsed data structure. Or perhaps it's just parsed in userspace and signaled to the kernel in a more direct format.
by loeg 9y ago
JSON seems like a weird choice for a kernel-parsed data structure. Or perhaps it's just parsed in userspace and signaled to the kernel in a more direct format.
- nly 9y agoThis isn't without precedence. IIRC the LVM (Linux Volume Management) metadata is also mostly text format https://github.com/libyal/libvslvm/blob/master/documentation/Logical%20Volume%20Manager%20(LVM)%20format.asciidoc#55-metadata-sample https://github.com/libyal/libvslvm/blob/master/documentation...
- deleted 9y ago[deleted]
- jwilk 9y agoI'm pretty sure this JSON is not parsed by kernel.
- tinus_hn 9y agoThat doesn't really matter as the program parsing it is probably running with full privileges.