add: partition->status = B_PARTITION_VALID; partition->flags |= B_PARTITION_MOUNTABLE;
context: bfs_scan_partition(int fd, partition_data *partition, void *cookie){	disk_super_block *superBlock = NULL;	// check parameters	if (fd < 0 || !partition || !cookie)		return B_ERROR;	TRACE(("bfs: bfs_scan_partition(%d, %ld: %lld, %lld, %ld)\n", fd,		   partition->id, partition->offset, partition->size,		   partition->block_size));	superBlock = (disk_super_block*)cookie;	// fill in the partition_data structure	partition->block_size = superBlock->block_size;	partition->content_name = strdup(superBlock->name);	partition->content_type = strdup(kPartitionTypeBFS);	// (no content_parameters, content_cookie ?)	// free the super block	free(superBlock);	if (!partition->content_name || !partition->content_type)		return B_NO_MEMORY;	return B_OK;}