Reduced the block cache size a bit.

Set the volume ID to 1 now - that's a hack to get it working until
we have better support from fs_shell's kernel.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6321 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-01-26 03:39:03 +00:00
parent 9e72b7739d
commit e0014cf657
@@ -21,10 +21,10 @@ main(int argc, char **argv)
// ToDo: evaluate arguments! // ToDo: evaluate arguments!
init_block_cache(16348, 0); init_block_cache(4096, 0);
init_vnode_layer(); init_vnode_layer();
Volume volume(42); Volume volume(1);
status_t status = volume.Initialize(deviceName, "New Disk", blockSize, 0); status_t status = volume.Initialize(deviceName, "New Disk", blockSize, 0);
if (status < B_OK) { if (status < B_OK) {
fprintf(stderr, "Initializing volume failed: %s\n", strerror(status)); fprintf(stderr, "Initializing volume failed: %s\n", strerror(status));