Wattana Posted January 1, 2019 Posted January 1, 2019 I am looking forward to adding this feature in my OCLinux kernel but I am not sure how to do it. Just in case you need to take a look at the function that control filesystem components: https://github.com/WattanaGaming/OCLinux/blob/master/boot/kernel/OCLinux.lua#L83 Quote
0 payonel Posted January 2, 2019 Posted January 2, 2019 mounting is a kernel concept that puts a filesystem at a directory path, so you would implement that yourself you'll see signals pertaining to filesystem components as they become available (see computer.pullSignal) the (hardware) component library provides mechanisms to query available components, list methods, invoke methods, create proxies, etc so, assuming filesystem_address is your hardware address for your filesystem component: local fs = component.proxy(filesystem_address) Quote
I am looking forward to adding this feature in my OCLinux kernel but I am not sure how to do it.
Just in case you need to take a look at the function that control filesystem components: https://github.com/WattanaGaming/OCLinux/blob/master/boot/kernel/OCLinux.lua#L83