Driver settings support is now available in the FS shell.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21234 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-05-25 05:08:44 +00:00
parent eedc15536c
commit 68fd0cb964
2 changed files with 1 additions and 6 deletions

View File

@ -15,9 +15,6 @@
#include "Attribute.h"
#include "bfs_control.h"
#ifndef BFS_SHELL
# include <driver_settings.h>
#endif
#define BFS_IO_SIZE 65536
@ -2051,8 +2048,6 @@ bfs_initialize(const char *partition, const char *name, const char *parameters,
uint32 flags = 0;
bool verbose = false;
// TODO: driver_settings are not yet supported by the fsshell
#ifndef BFS_SHELL
void *handle = parse_driver_settings_string(parameters);
if (handle != NULL) {
if (get_driver_boolean_parameter(handle, "noindex", false, true))
@ -2073,7 +2068,6 @@ bfs_initialize(const char *partition, const char *name, const char *parameters,
INFORM(("valid block sizes are: 1024, 2048, 4096, and 8192\n"));
return B_BAD_VALUE;
}
#endif
Volume volume(-1);
status_t status = volume.Initialize(partition, name, blockSize, flags);

View File

@ -25,6 +25,7 @@
#include <ByteOrder.h>
#ifndef _BOOT_MODE
#include <driver_settings.h>
#include <fs_attr.h>
#include <fs_cache.h>
#include <fs_index.h>