Implement volume unmounting, collecting VFS volume info, usb Add eject command
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 35s
Build documentation / build-and-deploy (push) Successful in 29s

This commit is contained in:
2026-04-07 21:17:49 +02:00
parent 2f186921d6
commit 7091b128df
15 changed files with 266 additions and 21 deletions

View File

@@ -118,3 +118,9 @@ int get_proc_info (struct proc_info* infos, size_t count) {
int get_device_info (struct device_info* infos, size_t count) {
return (int)do_syscall (SYS_GET_DEVICE_INFO, infos, count);
}
int get_volume_info (struct volume_info* infos, size_t count) {
return (int)do_syscall (SYS_GET_VOLUME_INFO, infos, count);
}
int volume_delete (const char* key) { return (int)do_syscall (SYS_VOLUME_DELETE, key); }

View File

@@ -7,6 +7,7 @@
#include <proc_info.h>
#include <stddef.h>
#include <stdint.h>
#include <volume_info.h>
/* Quit the current running process */
int quit (void);
@@ -122,4 +123,10 @@ int get_proc_info (struct proc_info* infos, size_t count);
/* get device information */
int get_device_info (struct device_info* infos, size_t count);
/* get volume information */
int get_volume_info (struct volume_info* infos, size_t count);
/* delete a volume */
int volume_delete (const char* key);
#endif // _LIBMSL_M_SYSTEM_H