|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v3 0/5] VFS initialization to vfscore
This patch series moves mounting the root filesystem structure to Unikraft
init table calls. The main root filesystem is mounted with lib/vfscore and
library parameters are available to influence the rootfs mount behavior
from the kernel command line.
Previously, the option to automatically mount a ramfs to / was hidden.
It only appeared when devfs was selected. This series is also making devfs
and ramfs permanently visible in the menu to simplify the usage.
Changes since v1:
- Adopt to latest staging state
- Add ability to configure root fs with kernel parameters
Chances since v2:
- Move rootfs code to vfscore
(this implied also the change of the series title)
- Integrate to init table mechanism
- Bugfix: mount never fails when fsname is wrong
- Add compiler flag to ignore warnings caused by VFS stubs
Simon Kuenzer (5):
lib/vfscore, lib/*fs: Ignore incompatible function pointer typecast
lib/vfscore: fs_getfs(): Return NULL on failed lookup
lib/vfscore: Automount option
lib/devfs: Automount through inittab
lib/ukswrand: Clean-up devfs integration
lib/9pfs/Makefile.uk | 2 +
lib/devfs/Config.uk | 9 +--
lib/devfs/Makefile.uk | 2 +
lib/devfs/devfs_vnops.c | 33 ++++++-----
lib/devfs/include/devfs/device.h | 3 +
lib/ramfs/Makefile.uk | 2 +
lib/ukswrand/Config.uk | 5 +-
lib/ukswrand/Makefile.uk | 4 +-
lib/ukswrand/{mwc_dev.c => dev.c} | 23 ++++++--
lib/vfscore/Config.uk | 76 ++++++++++++++++++++++++
lib/vfscore/Makefile.uk | 7 +++
lib/vfscore/mount.c | 13 +++--
lib/vfscore/rootfs.c | 97 +++++++++++++++++++++++++++++++
13 files changed, 241 insertions(+), 35 deletions(-)
rename lib/ukswrand/{mwc_dev.c => dev.c} (89%)
create mode 100644 lib/vfscore/rootfs.c
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |