From: Waldemar Kozaczuk <jwkozac...@gmail.com> Committer: Waldemar Kozaczuk <jwkozac...@gmail.com> Branch: master
devfs: print details of mounted partition 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> --- diff --git a/fs/devfs/device.cc b/fs/devfs/device.cc --- 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(); -- 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/000000000000dd6f5a05e4017667%40google.com.