1/*
2 * Copyright 2002-2009, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT license.
4 *
5 * Authors:
6 *		Ingo Weinhold, bonefish@cs.tu-berlin.de.
7 *		Axel D��rfler, axeld@pinc-software.de.
8 */
9
10#include <stdio.h>
11
12#include <fs/devfs.h>
13
14
15extern "C" status_t
16devfs_unpublish_partition(const char *path)
17{
18	printf("unpublish partition: %s\n", path);
19	return B_OK;
20}
21
22
23extern "C" status_t
24devfs_publish_partition(const char *path, const partition_info *info)
25{
26	if (info == NULL)
27		return B_BAD_VALUE;
28
29	printf("publish partition: %s (device \"%s\", size %lld)\n", path, info->device, info->size);
30	return B_OK;
31}
32