Hello,

On Thu, 16 Apr 2026 00:16:33, Samuel Thibault wrote:

   Have you tried mounting the resulting nodes?

Yes, I did it with the following commands:
settrans -c partfs /hurd/partfs /root/hd.img
settranc -c ext /hurd/ext2fs -w -T typed file:/root/partfs/device0pS
I'm testing GNU/Hurd on a virtual machine, so I was able to read data from the disk on GNU/Linux as well.

   One thing that would be really needed for efficiency is to implement
   netfs_file_get_storage_info, so that libstore would be able to get the
   underlying storage information, and directly get data from there rather
   than partfs having to pass data with io_read/write.

I think I'll try adding support for netfs_file_get_storage_info in the future.
I'm currently trying to integrate storeio into the bootstrap chain so that
ext2fs can open the store via file_get_storage_info. As far as I can tell,
machdev_trivfs_init should be used instead of trivfs_startup because
device_server_routines are needed.
--

Mikhail Karpov


Reply via email to