os: implement virtual filesystem support

This allows applications to mount filesystems in the os package. This is
useful for mounting external flash filesystems, for example.
This commit is contained in:
Ayke van Laethem
2020-03-30 20:52:52 +02:00
committed by Ron Evans
parent e907db1481
commit 6bcb40fe01
8 changed files with 336 additions and 95 deletions
+8
View File
@@ -31,6 +31,14 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
return 0, ENOSYS // TODO
}
func Mkdir(path string, mode uint32) (err error) {
return ENOSYS // TODO
}
func Unlink(path string) (err error) {
return ENOSYS // TODO
}
func Kill(pid int, sig Signal) (err error) {
return ENOSYS // TODO
}