wrohdewald
(Wrohdewald)
December 21, 2023, 11:27am
1
Network storage currently supports Samba and NFS.
How about support for virtiofs?
I am running HA OS in a qemu container, and this would make it much easier to mount shared directories.
Just for the case I might want to add support myself: Where does the source code live? I could not find it in homeassistant-core
FelixKa
(Felix Kaechele)
December 21, 2023, 1:03pm
2
wrohdewald:
How about support for virtiofs?
I am running HA OS in a qemu container, and this would make it much easier to mount shared directories.
Great! Home Assistant OS luckily already has support for virtiofs built into the Kernel .
Mounts are a function of the supervisor, not HA core.
You’re probably looking for supervisor/supervisor/mounts/mount.py at 32f21d208fbba76764b85299cbcc3e091c444c2f · home-assistant/supervisor · GitHub
You’d probably need to add a class for virtiofs storage there and then make adjustments to the frontend to support configuring it directly through HA. Shouldn’t be too difficult.