diff --git a/src/kernel/core/fs/devfs.c b/src/kernel/core/fs/devfs.c index 4b2bcd4bf0..765c5ed3fd 100755 --- a/src/kernel/core/fs/devfs.c +++ b/src/kernel/core/fs/devfs.c @@ -1328,6 +1328,25 @@ pnp_driver_info gDeviceForDriversModule = { // #pragma mark - +status_t +devfs_unpublish_partition(const char *path) +{ + dprintf("unpublish partition: %s\n", path); + return B_OK; +} + + +status_t +devfs_publish_partition(const char *path, const partition_info *info) +{ + if (info == NULL) + return B_BAD_VALUE; + + dprintf("publish partition: %s (device \"%s\", size %Ld)\n", path, info->device, info->size); + return B_OK; +} + + status_t devfs_publish_device(const char *path, void *ident, device_hooks *ops) {