Print information about the partition and offset child device is created for. This is very helpful to understand the process of mounting the filesystems.
Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com> --- fs/devfs/device.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/devfs/device.cc b/fs/devfs/device.cc index 3a5c9f7c..4730f411 100644 --- a/fs/devfs/device.cc +++ b/fs/devfs/device.cc @@ -142,6 +142,8 @@ void read_partition_table(struct device *dev) new_dev->max_io_size = dev->max_io_size; new_dev->private_data = dev->private_data; device_set_softc(new_dev, device_get_softc(dev)); + + kprintf("devfs: created device %s for a partition at offset:%ld with size:%ld\n", dev_name, new_dev->offset, new_dev->size); } sched_unlock(); -- 2.35.1 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/20220717043714.95626-1-jwkozaczuk%40gmail.com.